diff options
author | Sujith <Sujith.Manoharan@atheros.com> | 2009-02-20 04:43:28 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-02-27 14:52:49 -0500 |
commit | 20977d3e685abb8b84c385426c39de1fca0a58ac (patch) | |
tree | a68b114815f43b408514724dcb38c41ba3f4482f /drivers/net/wireless/ath9k/ath9k.h | |
parent | db0f41f556620ed73e8beaafb820baf53f863df9 (diff) |
ath9k: Add appropriate ANI values for AP mode
The short calibration interval is different for AP
mode, fix this. Also, the timer should be rearmed in
the calibration routine during scanning.
Signed-off-by: Sujith <Sujith.Manoharan@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 | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/net/wireless/ath9k/ath9k.h b/drivers/net/wireless/ath9k/ath9k.h index 0b0f82c83ffc..6481ea4bbc4e 100644 --- a/drivers/net/wireless/ath9k/ath9k.h +++ b/drivers/net/wireless/ath9k/ath9k.h | |||
@@ -464,13 +464,11 @@ void ath_beacon_sync(struct ath_softc *sc, int if_id); | |||
464 | /* ANI */ | 464 | /* ANI */ |
465 | /*******/ | 465 | /*******/ |
466 | 466 | ||
467 | /* ANI values for STA only. | 467 | #define ATH_STA_SHORT_CALINTERVAL 1000 /* 1 second */ |
468 | FIXME: Add appropriate values for AP later */ | 468 | #define ATH_AP_SHORT_CALINTERVAL 100 /* 100 ms */ |
469 | 469 | #define ATH_ANI_POLLINTERVAL 100 /* 100 ms */ | |
470 | #define ATH_ANI_POLLINTERVAL 100 /* 100 milliseconds between ANI poll */ | 470 | #define ATH_LONG_CALINTERVAL 30000 /* 30 seconds */ |
471 | #define ATH_SHORT_CALINTERVAL 1000 /* 1 second between calibrations */ | 471 | #define ATH_RESTART_CALINTERVAL 1200000 /* 20 minutes */ |
472 | #define ATH_LONG_CALINTERVAL 30000 /* 30 seconds between calibrations */ | ||
473 | #define ATH_RESTART_CALINTERVAL 1200000 /* 20 minutes between calibrations */ | ||
474 | 472 | ||
475 | struct ath_ani { | 473 | struct ath_ani { |
476 | bool caldone; | 474 | bool caldone; |