ath9k: Add support for multiple virtual AP interfaces
PATCH 1/1 ath9k: Add support for multiple virtual AP interfaces
This patch fixes the TSF offset calculation for staggered Beacon frames and sets ATH_BCBUF back to the earlier value 4 to enable multi-BSS configurations of up to four BSSes.
Signed-off-by Jouni Malinen <[email protected]>
--- drivers/net/wireless/ath9k/ath9k.h | 3 +- drivers/net/wireless/ath9k/beacon.c | 50 ++++++++++++++++++------------------ 2 files changed, 27 insertions(+), 26 deletions(-)
drivers/net/wireless/ath9k/ath9k.h +2 -1
@@ -390,6 +390,7 @@ void ath_tx_aggr_resume(struct ath_softcstruct ath_vif {int av_bslot; +__le64 tsf_adjust;/* TSF adjustment for staggered beacons */ enum nl80211_iftype av_opmode;struct ath_buf *av_bcbuf;struct ath_tx_control av_btxctl;
@@ -406,7 +407,7 @@ struct ath_vif {* number of beacon intervals, the game's up. */ #define BSTUCK_THRESH (9 * ATH_BCBUF) -#define ATH_BCBUF 1 +#define ATH_BCBUF 4#define ATH_DEFAULT_BINTVAL 100/* TU */ #define ATH_DEFAULT_BMISS_LIMIT 10#define IEEE80211_MS_TO_TU (x) (((x) * 1000) / 1024)
drivers/net/wireless/ath9k/beacon.c +25 -25
88 lines not on this page · raw message
Signature · 1 line
Jouni Malinen PGP id EFC895FA