diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2014-09-17 09:15:56 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-09-26 21:06:49 (GMT) |
commit | cb35582ab4d742c1be48c4e51712a19fa202e978 (patch) | |
tree | 354b81e73beff0f4f09c46c3235eab5e0f169b3b /drivers/net/wireless/ath/ath9k/ath9k.h | |
parent | 093ec3c5337434f40d77c1af06c139da3e5ba6dc (diff) | |
download | linux-cb35582ab4d742c1be48c4e51712a19fa202e978.tar.xz |
ath9k: Cache BSS information
Using the BSS information stored in mac80211 directly
is racy in certain conditions. For example, in a MCC
setup, if the scheduler is switching channels when
a local deauth is issued, calculation of the opmode/bssid
etc. is incorrect. To avoid this, store the bss params
in the driver and use it.
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ath9k.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 8cd116e..d2a1ee1 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -585,6 +585,11 @@ void ath9k_release_buffered_frames(struct ieee80211_hw *hw, struct ath_vif { struct list_head list; + /* BSS info */ + u8 bssid[ETH_ALEN]; + u16 aid; + bool assoc; + struct ieee80211_vif *vif; struct ath_node mcast_node; int av_bslot; |