Loading Documentation/DocBook/80211.tmpl +1 −1 Original line number Diff line number Diff line Loading @@ -516,7 +516,7 @@ !Finclude/net/mac80211.h ieee80211_start_tx_ba_cb_irqsafe !Finclude/net/mac80211.h ieee80211_stop_tx_ba_session !Finclude/net/mac80211.h ieee80211_stop_tx_ba_cb_irqsafe !Finclude/net/mac80211.h rate_control_changed !Finclude/net/mac80211.h ieee80211_rate_control_changed !Finclude/net/mac80211.h ieee80211_tx_rate_control !Finclude/net/mac80211.h rate_control_send_low </chapter> Loading Documentation/networking/mac80211-auth-assoc-deauth.txt +3 −7 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ BA session stop & deauth/disassoc frames end note end mac80211->driver: config(channel, non-HT) mac80211->driver: config(channel, channel type) mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) mac80211->driver: sta_state(AP, exists) Loading Loading @@ -51,7 +51,7 @@ note over mac80211,driver: cleanup like for authenticate end alt not previously authenticated (FT) mac80211->driver: config(channel, non-HT) mac80211->driver: config(channel, channel type) mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) mac80211->driver: sta_state(AP, exists) mac80211->driver: sta_state(AP, authenticated) Loading @@ -67,10 +67,6 @@ end mac80211->driver: set up QoS parameters alt is HT channel mac80211->driver: config(channel, HT params) end mac80211->driver: bss_info_changed(QoS, HT, associated with AID) mac80211->userspace: associated Loading @@ -95,5 +91,5 @@ mac80211->driver: sta_state(AP,exists) mac80211->driver: sta_state(AP,not-exists) mac80211->driver: turn off powersave mac80211->driver: bss_info_changed(clear BSSID, not associated, no QoS, ...) mac80211->driver: config(non-HT channel type) mac80211->driver: config(channel type to non-HT) mac80211->userspace: disconnected drivers/net/wireless/ath/ath5k/ani.c +19 −25 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "ath5k.h" #include "reg.h" #include "debug.h" Loading Loading @@ -728,32 +730,24 @@ void ath5k_ani_print_counters(struct ath5k_hw *ah) { /* clears too */ printk(KERN_NOTICE "ACK fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_ACK_FAIL)); printk(KERN_NOTICE "RTS fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_FAIL)); printk(KERN_NOTICE "RTS success\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_OK)); printk(KERN_NOTICE "FCS error\t%d\n", ath5k_hw_reg_read(ah, AR5K_FCS_FAIL)); pr_notice("ACK fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_ACK_FAIL)); pr_notice("RTS fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_FAIL)); pr_notice("RTS success\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_OK)); pr_notice("FCS error\t%d\n", ath5k_hw_reg_read(ah, AR5K_FCS_FAIL)); /* no clear */ printk(KERN_NOTICE "tx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_TX)); printk(KERN_NOTICE "rx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RX)); printk(KERN_NOTICE "busy\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RXCLR)); printk(KERN_NOTICE "cycles\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_CYCLE)); printk(KERN_NOTICE "AR5K_PHYERR_CNT1\t%d\n", pr_notice("tx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_TX)); pr_notice("rx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RX)); pr_notice("busy\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RXCLR)); pr_notice("cycles\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_CYCLE)); pr_notice("AR5K_PHYERR_CNT1\t%d\n", ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT1)); printk(KERN_NOTICE "AR5K_PHYERR_CNT2\t%d\n", pr_notice("AR5K_PHYERR_CNT2\t%d\n", ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT2)); printk(KERN_NOTICE "AR5K_OFDM_FIL_CNT\t%d\n", pr_notice("AR5K_OFDM_FIL_CNT\t%d\n", ath5k_hw_reg_read(ah, AR5K_OFDM_FIL_CNT)); printk(KERN_NOTICE "AR5K_CCK_FIL_CNT\t%d\n", pr_notice("AR5K_CCK_FIL_CNT\t%d\n", ath5k_hw_reg_read(ah, AR5K_CCK_FIL_CNT)); } Loading drivers/net/wireless/ath/ath5k/ath5k.h +16 −13 Original line number Diff line number Diff line Loading @@ -77,14 +77,17 @@ \****************************/ #define ATH5K_PRINTF(fmt, ...) \ printk(KERN_WARNING "%s: " fmt, __func__, ##__VA_ARGS__) pr_warn("%s: " fmt, __func__, ##__VA_ARGS__) void __printf(3, 4) _ath5k_printk(const struct ath5k_hw *ah, const char *level, const char *fmt, ...); #define ATH5K_PRINTK(_sc, _level, _fmt, ...) \ printk(_level "ath5k %s: " _fmt, \ ((_sc) && (_sc)->hw) ? wiphy_name((_sc)->hw->wiphy) : "", \ ##__VA_ARGS__) _ath5k_printk(_sc, _level, _fmt, ##__VA_ARGS__) #define ATH5K_PRINTK_LIMIT(_sc, _level, _fmt, ...) do { \ #define ATH5K_PRINTK_LIMIT(_sc, _level, _fmt, ...) \ do { \ if (net_ratelimit()) \ ATH5K_PRINTK(_sc, _level, _fmt, ##__VA_ARGS__); \ } while (0) Loading drivers/net/wireless/ath/ath5k/attach.c +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ * Attach/Detach Functions and helpers * \*************************************/ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/pci.h> #include <linux/slab.h> #include "ath5k.h" Loading Loading
Documentation/DocBook/80211.tmpl +1 −1 Original line number Diff line number Diff line Loading @@ -516,7 +516,7 @@ !Finclude/net/mac80211.h ieee80211_start_tx_ba_cb_irqsafe !Finclude/net/mac80211.h ieee80211_stop_tx_ba_session !Finclude/net/mac80211.h ieee80211_stop_tx_ba_cb_irqsafe !Finclude/net/mac80211.h rate_control_changed !Finclude/net/mac80211.h ieee80211_rate_control_changed !Finclude/net/mac80211.h ieee80211_tx_rate_control !Finclude/net/mac80211.h rate_control_send_low </chapter> Loading
Documentation/networking/mac80211-auth-assoc-deauth.txt +3 −7 Original line number Diff line number Diff line Loading @@ -23,7 +23,7 @@ BA session stop & deauth/disassoc frames end note end mac80211->driver: config(channel, non-HT) mac80211->driver: config(channel, channel type) mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) mac80211->driver: sta_state(AP, exists) Loading Loading @@ -51,7 +51,7 @@ note over mac80211,driver: cleanup like for authenticate end alt not previously authenticated (FT) mac80211->driver: config(channel, non-HT) mac80211->driver: config(channel, channel type) mac80211->driver: bss_info_changed(set BSSID, basic rate bitmap) mac80211->driver: sta_state(AP, exists) mac80211->driver: sta_state(AP, authenticated) Loading @@ -67,10 +67,6 @@ end mac80211->driver: set up QoS parameters alt is HT channel mac80211->driver: config(channel, HT params) end mac80211->driver: bss_info_changed(QoS, HT, associated with AID) mac80211->userspace: associated Loading @@ -95,5 +91,5 @@ mac80211->driver: sta_state(AP,exists) mac80211->driver: sta_state(AP,not-exists) mac80211->driver: turn off powersave mac80211->driver: bss_info_changed(clear BSSID, not associated, no QoS, ...) mac80211->driver: config(non-HT channel type) mac80211->driver: config(channel type to non-HT) mac80211->userspace: disconnected
drivers/net/wireless/ath/ath5k/ani.c +19 −25 Original line number Diff line number Diff line Loading @@ -14,6 +14,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "ath5k.h" #include "reg.h" #include "debug.h" Loading Loading @@ -728,32 +730,24 @@ void ath5k_ani_print_counters(struct ath5k_hw *ah) { /* clears too */ printk(KERN_NOTICE "ACK fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_ACK_FAIL)); printk(KERN_NOTICE "RTS fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_FAIL)); printk(KERN_NOTICE "RTS success\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_OK)); printk(KERN_NOTICE "FCS error\t%d\n", ath5k_hw_reg_read(ah, AR5K_FCS_FAIL)); pr_notice("ACK fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_ACK_FAIL)); pr_notice("RTS fail\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_FAIL)); pr_notice("RTS success\t%d\n", ath5k_hw_reg_read(ah, AR5K_RTS_OK)); pr_notice("FCS error\t%d\n", ath5k_hw_reg_read(ah, AR5K_FCS_FAIL)); /* no clear */ printk(KERN_NOTICE "tx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_TX)); printk(KERN_NOTICE "rx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RX)); printk(KERN_NOTICE "busy\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RXCLR)); printk(KERN_NOTICE "cycles\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_CYCLE)); printk(KERN_NOTICE "AR5K_PHYERR_CNT1\t%d\n", pr_notice("tx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_TX)); pr_notice("rx\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RX)); pr_notice("busy\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_RXCLR)); pr_notice("cycles\t%d\n", ath5k_hw_reg_read(ah, AR5K_PROFCNT_CYCLE)); pr_notice("AR5K_PHYERR_CNT1\t%d\n", ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT1)); printk(KERN_NOTICE "AR5K_PHYERR_CNT2\t%d\n", pr_notice("AR5K_PHYERR_CNT2\t%d\n", ath5k_hw_reg_read(ah, AR5K_PHYERR_CNT2)); printk(KERN_NOTICE "AR5K_OFDM_FIL_CNT\t%d\n", pr_notice("AR5K_OFDM_FIL_CNT\t%d\n", ath5k_hw_reg_read(ah, AR5K_OFDM_FIL_CNT)); printk(KERN_NOTICE "AR5K_CCK_FIL_CNT\t%d\n", pr_notice("AR5K_CCK_FIL_CNT\t%d\n", ath5k_hw_reg_read(ah, AR5K_CCK_FIL_CNT)); } Loading
drivers/net/wireless/ath/ath5k/ath5k.h +16 −13 Original line number Diff line number Diff line Loading @@ -77,14 +77,17 @@ \****************************/ #define ATH5K_PRINTF(fmt, ...) \ printk(KERN_WARNING "%s: " fmt, __func__, ##__VA_ARGS__) pr_warn("%s: " fmt, __func__, ##__VA_ARGS__) void __printf(3, 4) _ath5k_printk(const struct ath5k_hw *ah, const char *level, const char *fmt, ...); #define ATH5K_PRINTK(_sc, _level, _fmt, ...) \ printk(_level "ath5k %s: " _fmt, \ ((_sc) && (_sc)->hw) ? wiphy_name((_sc)->hw->wiphy) : "", \ ##__VA_ARGS__) _ath5k_printk(_sc, _level, _fmt, ##__VA_ARGS__) #define ATH5K_PRINTK_LIMIT(_sc, _level, _fmt, ...) do { \ #define ATH5K_PRINTK_LIMIT(_sc, _level, _fmt, ...) \ do { \ if (net_ratelimit()) \ ATH5K_PRINTK(_sc, _level, _fmt, ##__VA_ARGS__); \ } while (0) Loading
drivers/net/wireless/ath/ath5k/attach.c +2 −0 Original line number Diff line number Diff line Loading @@ -20,6 +20,8 @@ * Attach/Detach Functions and helpers * \*************************************/ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <linux/pci.h> #include <linux/slab.h> #include "ath5k.h" Loading