aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath5k/ath5k.h
diff options
context:
space:
mode:
authorNick Kossifidis <mick@madwifi.org>2008-10-28 22:28:28 -0400
committerJohn W. Linville <linville@tuxdriver.com>2008-11-10 15:11:57 -0500
commitf07a6c495e88ae0143e3c20b1ed666314197277f (patch)
tree995d21adcd0a029b44b3c1d5e89dfcbf357fbec0 /drivers/net/wireless/ath5k/ath5k.h
parent2c706002fc147decdba2658ea48e4436faca3af2 (diff)
ath5k: Update PCU code
* In set_opmode don't handle antenna settings and preserve other STA_ID1 settings (shouldn't matter because we call it during reset but it makes things cleaner) Also set properly AP/ADHOC indicator flag on CFG while setting AP/ADHOC modes and always enable key search mode. * Properly set BSSID Mask during reset (cache it and reuse it durring set_associd) * Update beacon_init to flush pending BMISS interrupts and handle setting of adhoc beacon ATIM policy flag for ad-hoc mode. Also set TSF to 0 to start TSF increment on AP mode. We need to handle sleep timers for AR5212 there + add support for PCF. * Properly clean MIC key from keytable when TKIP is used (Bob is working on set_key function etc so i leave it for now). Tested on AR5212 (Hainan) and AR5413 and works fine v2 Set PISR on AR5211+ and ISR on AR5210, got to sleep more ;-) Changes-Licensed-under: ISC Signed-Off-by: Nick Kossifidis <mickflemm@gmail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath5k/ath5k.h')
-rw-r--r--drivers/net/wireless/ath5k/ath5k.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath5k/ath5k.h b/drivers/net/wireless/ath5k/ath5k.h
index b11792039911..a725bb94a52d 100644
--- a/drivers/net/wireless/ath5k/ath5k.h
+++ b/drivers/net/wireless/ath5k/ath5k.h
@@ -1093,10 +1093,11 @@ struct ath5k_hw {
1093 1093
1094 u8 ah_sta_id[ETH_ALEN]; 1094 u8 ah_sta_id[ETH_ALEN];
1095 1095
1096 /* Current BSSID we are trying to assoc to / creating. 1096 /* Current BSSID we are trying to assoc to / create.
1097 * This is passed by mac80211 on config_interface() and cached here for 1097 * This is passed by mac80211 on config_interface() and cached here for
1098 * use in resets */ 1098 * use in resets */
1099 u8 ah_bssid[ETH_ALEN]; 1099 u8 ah_bssid[ETH_ALEN];
1100 u8 ah_bssid_mask[ETH_ALEN];
1100 1101
1101 u32 ah_gpio[AR5K_MAX_GPIO]; 1102 u32 ah_gpio[AR5K_MAX_GPIO];
1102 int ah_gpio_npins; 1103 int ah_gpio_npins;