diff options
author | Jouni Malinen <jouni.malinen@atheros.com> | 2009-03-12 15:53:23 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-03-27 20:12:46 -0400 |
commit | 4ed96f04f8a1869757f4dd4a9283a18ec63c442f (patch) | |
tree | 09048c068bd2cb59a560bd937630636eaacac84c /drivers/net/wireless/ath9k/ath9k.h | |
parent | 11432379fd2a3854a3408424d8dcd99afd811573 (diff) |
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 <jouni.malinen@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath9k/ath9k.h')
-rw-r--r-- | drivers/net/wireless/ath9k/ath9k.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h index b64be8e9a690..5afd244ea6a3 100644 --- a/drivers/net/wireless/ath9k/ath9k.h +++ b/drivers/net/wireless/ath9k/ath9k.h | |||
@@ -390,6 +390,7 @@ void ath_tx_aggr_resume(struct ath_softc *sc, struct ieee80211_sta *sta, u16 tid | |||
390 | 390 | ||
391 | struct ath_vif { | 391 | struct ath_vif { |
392 | int av_bslot; | 392 | int av_bslot; |
393 | __le64 tsf_adjust; /* TSF adjustment for staggered beacons */ | ||
393 | enum nl80211_iftype av_opmode; | 394 | enum nl80211_iftype av_opmode; |
394 | struct ath_buf *av_bcbuf; | 395 | struct ath_buf *av_bcbuf; |
395 | struct ath_tx_control av_btxctl; | 396 | struct ath_tx_control av_btxctl; |
@@ -406,7 +407,7 @@ struct ath_vif { | |||
406 | * number of beacon intervals, the game's up. | 407 | * number of beacon intervals, the game's up. |
407 | */ | 408 | */ |
408 | #define BSTUCK_THRESH (9 * ATH_BCBUF) | 409 | #define BSTUCK_THRESH (9 * ATH_BCBUF) |
409 | #define ATH_BCBUF 1 | 410 | #define ATH_BCBUF 4 |
410 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ | 411 | #define ATH_DEFAULT_BINTVAL 100 /* TU */ |
411 | #define ATH_DEFAULT_BMISS_LIMIT 10 | 412 | #define ATH_DEFAULT_BMISS_LIMIT 10 |
412 | #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) | 413 | #define IEEE80211_MS_TO_TU(x) (((x) * 1000) / 1024) |