[Madwifi-cvs] madwifi/tools 80211stats.c,1.2.2.1,1.2.2.2
Status: Beta
Brought to you by:
otaku
From: Sam L. <sam...@us...> - 2004-06-09 19:56:00
|
Update of /cvsroot/madwifi/madwifi/tools In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10739 Modified Files: Tag: WPA 80211stats.c Log Message: update Index: 80211stats.c =================================================================== RCS file: /cvsroot/madwifi/madwifi/tools/80211stats.c,v retrieving revision 1.2.2.1 retrieving revision 1.2.2.2 diff -C2 -d -r1.2.2.1 -r1.2.2.2 *** 80211stats.c 24 Feb 2004 23:33:21 -0000 1.2.2.1 --- 80211stats.c 9 Jun 2004 19:55:51 -0000 1.2.2.2 *************** *** 50,53 **** --- 50,55 ---- #include <signal.h> + #include "net80211/ieee80211.h" + #include "net80211/ieee80211_crypto.h" #include "net80211/ieee80211_ioctl.h" *************** *** 69,77 **** STAT(rx_mcastecho, "rx discard 'cuz mcast echo"); STAT(rx_notassoc, "rx discard 'cuz sta !assoc"); ! STAT(rx_nowep, "rx w/ wep but wep !config"); STAT(rx_wepfail, "rx wep processing failed"); STAT(rx_decap, "rx decapsulation failed"); STAT(rx_mgtdiscard, "rx discard mgt frames"); STAT(rx_ctl, "rx discard ctrl frames"); STAT(rx_rstoobig, "rx rate set truncated"); STAT(rx_elem_missing, "rx required element missing"); --- 71,81 ---- STAT(rx_mcastecho, "rx discard 'cuz mcast echo"); STAT(rx_notassoc, "rx discard 'cuz sta !assoc"); ! STAT(rx_noprivacy, "rx w/ wep but privacy off"); ! STAT(rx_unencrypted, "rx w/o wep and privacy on"); STAT(rx_wepfail, "rx wep processing failed"); STAT(rx_decap, "rx decapsulation failed"); STAT(rx_mgtdiscard, "rx discard mgt frames"); STAT(rx_ctl, "rx discard ctrl frames"); + STAT(rx_beacon, "rx beacon frames"); STAT(rx_rstoobig, "rx rate set truncated"); STAT(rx_elem_missing, "rx required element missing"); *************** *** 89,92 **** --- 93,97 ---- STAT(rx_assoc_capmismatch,"rx assoc w/ cap mismatch"); STAT(rx_assoc_norate, "rx assoc w/ no rate match"); + STAT(rx_assoc_badwpaie, "rx assoc w/ bad WPA IE"); STAT(rx_deauth, "rx deauthentication"); STAT(rx_disassoc, "rx disassociation"); *************** *** 98,108 **** STAT(rx_bad_auth, "rx bad authentication request"); STAT(rx_unauth, "rx discard 'cuz port unauthorized"); STAT(tx_nobuf, "tx failed for lack of sk_buffer"); STAT(tx_nonode, "tx failed for no node"); STAT(tx_unknownmgt, "tx of unknown mgt frame"); STAT(scan_active, "active scans started"); STAT(scan_passive, "passive scans started"); STAT(node_timeout, "nodes timed out inactivity"); ! STAT(crypto_nomem, "malloc failure of rc4 context"); #undef STAT #undef N --- 103,140 ---- STAT(rx_bad_auth, "rx bad authentication request"); STAT(rx_unauth, "rx discard 'cuz port unauthorized"); + STAT(rx_badkeyid, "rx w/ incorrect keyid"); + STAT(rx_ccmpreplay, "rx seq# violation (CCMP)"); + STAT(rx_ccmpformat, "rx format bad (CCMP)"); + STAT(rx_ccmpmic, "rx MIC check failed (CCMP)"); + STAT(rx_tkipreplay, "rx seq# violation (TKIP)"); + STAT(rx_tkipformat, "rx format bad (TKIP)"); + STAT(rx_tkipmic, "rx MIC check failed (TKIP)"); + STAT(rx_tkipicv, "rx ICV check failed (TKIP)"); + STAT(rx_badcipher, "rx failed 'cuz bad cipher/key type"); + STAT(rx_nocipherctx, "rx failed 'cuz key/cipher ctx not setup"); + STAT(rx_acl, "rx discard 'cuz acl policy"); STAT(tx_nobuf, "tx failed for lack of sk_buffer"); STAT(tx_nonode, "tx failed for no node"); STAT(tx_unknownmgt, "tx of unknown mgt frame"); + STAT(tx_badcipher, "tx failed 'cuz bad ciper/key type"); + STAT(tx_nodefkey, "tx failed 'cuz no defkey"); + STAT(tx_noheadroom, "tx failed 'cuz no space for crypto hdrs"); STAT(scan_active, "active scans started"); STAT(scan_passive, "passive scans started"); STAT(node_timeout, "nodes timed out inactivity"); ! STAT(crypto_nomem, "cipher context malloc failed"); ! STAT(crypto_tkip, "tkip crypto done in s/w"); ! STAT(crypto_tkipenmic, "tkip tx MIC done in s/w"); ! STAT(crypto_tkipdemic, "tkip rx MIC done in s/w"); ! STAT(crypto_ccmp, "ccmp crypto done in s/w"); ! STAT(crypto_wep, "wep crypto done in s/w"); ! STAT(crypto_setkey_cipher,"setkey failed 'cuz cipher rejected data"); ! STAT(crypto_setkey_nokey,"setkey failed 'cuz no key index"); ! STAT(crypto_delkey, "driver key delete failed"); ! STAT(crypto_badcipher, "setkey failed 'cuz unknown cipher"); ! STAT(crypto_nocipher, "setkey failed 'cuz cipher module unavailable"); ! STAT(crypto_attachfail, "setkey failed 'cuz cipher attach failed"); ! STAT(crypto_swfallback, "crypto fell back to s/w implementation"); ! STAT(crypto_keyfail, "setkey faied 'cuz driver key alloc failed"); #undef STAT #undef N |