Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111180408
D49162.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D49162.diff
View Options
diff --git a/usr.sbin/wlanstats/wlanstats.c b/usr.sbin/wlanstats/wlanstats.c
--- a/usr.sbin/wlanstats/wlanstats.c
+++ b/usr.sbin/wlanstats/wlanstats.c
@@ -382,6 +382,14 @@
{ 9, "ampdu_bartxfail", "bartx_fail", "BAR frames failed to send" },
#define S_AMPDU_BARTX_RETRY AFTER(S_AMPDU_BARTX_FAIL)
{ 10, "ampdu_bartxretry", "bartx_retry", "BAR frames retried" },
+#define S_CRYPTO_GCMP AFTER(S_AMPDU_BARTX_RETRY)
+ { 5, "crypto_gcmp", "crypto_gcmp", "gcmp crypto done in s/w" },
+#define S_RX_GCMPREPLAY AFTER(S_CRYPTO_GCMP)
+ { 5, "rx_gcmpreplay", "gcmpreplay", "rx seq# violation (GCMP)" },
+#define S_RX_GCMPFORMAT AFTER(S_RX_GCMPREPLAY)
+ { 5, "rx_gcmpformat", "gcmpformat", "rx format bad (GCMP)" },
+#define S_RX_GCMPMIC AFTER(S_RX_GCMPFORMAT)
+ { 5, "rx_gcmpmic", "gcmpmic", "rx MIC check failed (GCMP)" },
};
struct wlanstatfoo_p {
@@ -830,6 +838,10 @@
case S_AMPDU_BARTX: STAT(ampdu_bar_tx);
case S_AMPDU_BARTX_RETRY: STAT(ampdu_bar_tx_retry);
case S_AMPDU_BARTX_FAIL: STAT(ampdu_bar_tx_fail);
+ case S_CRYPTO_GCMP: STAT(crypto_gcmp);
+ case S_RX_GCMPREPLAY: STAT(rx_gcmpreplay);
+ case S_RX_GCMPFORMAT: STAT(rx_gcmpformat);
+ case S_RX_GCMPMIC: STAT(rx_gcmpmic);
}
return wlan_getinfo(wf, s, b, bs);
#undef NSTAT
@@ -995,6 +1007,10 @@
case S_AMPDU_BARTX: STAT(ampdu_bar_tx);
case S_AMPDU_BARTX_RETRY: STAT(ampdu_bar_tx_retry);
case S_AMPDU_BARTX_FAIL: STAT(ampdu_bar_tx_fail);
+ case S_CRYPTO_GCMP: STAT(crypto_gcmp);
+ case S_RX_GCMPREPLAY: STAT(rx_gcmpreplay);
+ case S_RX_GCMPFORMAT: STAT(rx_gcmpformat);
+ case S_RX_GCMPMIC: STAT(rx_gcmpmic);
}
return wlan_getinfo(wf, s, b, bs);
#undef NSTAT
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 1, 12:21 PM (11 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16896926
Default Alt Text
D49162.diff (1 KB)
Attached To
Mode
D49162: wlanstats: add GCMP crypto counters
Attached
Detach File
Event Timeline
Log In to Comment