android_kernel_motorola_sm6225/drivers/net/wireless/ath/ath9k
Felix Fietkau 73dc3eb8b9 ath9k: fix ANI operation in AP mode
ath9k_ani_reset (which is called at reset time) uses a state variable
ani->update_ani to prevent the ANI noise immunity state on the operating
channel from being overwritten by background scans. Unfortunately this
is also being set for AP mode, since it's mixed with code that is only
supposed to change the default settings after a reset.

In AP mode this has the side effect of having ANI run, but being unable to
change its runtime noise immunity level, making it effectively useless.

Fix this by getting rid of ani->update_ani and passing a parameter to
ath9k_hw_set_ofdm_nil and ath9k_hw_set_cck_nil instead.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: Rajkumar Manoharan <rmanohar@qca.qualcomm.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-06-28 14:37:46 -04:00
..
ahb.c ath9k: Use atomic operations 2012-06-06 15:20:31 -04:00
ani.c ath9k: fix ANI operation in AP mode 2012-06-28 14:37:46 -04:00
ani.h ath9k: fix ANI operation in AP mode 2012-06-28 14:37:46 -04:00
antenna.c ath9k: Move LNA code to antenna.c 2012-06-06 15:20:31 -04:00
ar5008_initvals.h ath9k_hw: fix the last register write for ar5416 addac 2011-09-13 15:42:31 -04:00
ar5008_phy.c ath9k_hw: rename mrcCCKOff to fix smatch warning 2012-06-22 14:44:05 -04:00
ar9001_initvals.h ath9k_hw: remove duplicate initvals 2012-02-27 14:05:41 -05:00
ar9002_calib.c ath: Convert ath_dbg(bar, ATH_DBG_<FOO>, to ath_dbg(bar, FOO 2011-12-19 14:35:31 -05:00
ar9002_hw.c ath9k_hw: remove the old ANI implementation 2012-06-20 14:44:42 -04:00
ar9002_initvals.h ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9002_mac.c ath9k: Gather and report IRQ sync_cause errors. 2012-04-16 14:16:58 -04:00
ar9002_phy.c ath9k: remove dead code 2012-04-12 15:10:32 -04:00
ar9002_phy.h ath9k: inline AR9271 1.0 INI overrides 2012-03-15 13:45:08 -04:00
ar9003_2p2_initvals.h ath9k_hw: Update rx gain initval to improve rx sensitivity 2012-04-09 16:05:56 -04:00
ar9003_calib.c ath9k_hw: fix IQ calibration chain index 2012-06-06 15:20:28 -04:00
ar9003_eeprom.c ath9k_hw: program BT to control SPDT 2012-06-06 15:20:28 -04:00
ar9003_eeprom.h ath9k_hw: apply internal regulator settings on AR933x 2012-05-29 13:45:23 -04:00
ar9003_hw.c ath9k_hw: Remove BTCOEX initvals 2012-04-13 14:32:50 -04:00
ar9003_mac.c ath9k_hw: process MCI interrupts only when btcoex is enabled 2012-06-13 14:35:54 -04:00
ar9003_mac.h ath9k: Fix descriptor length for AR9462 2012-02-27 14:05:44 -05:00
ar9003_mci.c ath9k_hw: fix LNA control on WLAN sleep 2012-06-20 15:14:54 -04:00
ar9003_mci.h ath9k_hw: remove MCI_STATE_SET_BT_SLEEP 2012-06-13 14:36:02 -04:00
ar9003_paprd.c ath9k: add an extra boolean parameter to ath9k_hw_apply_txpower 2012-04-23 14:56:11 -04:00
ar9003_phy.c ath9k_hw: fix smatch warning in ar9003_hw_spur_mitigate_mrc_cck 2012-06-22 14:44:06 -04:00
ar9003_phy.h ath9k: fix/add bits for spectral scanning 2012-06-06 15:18:18 -04:00
ar9003_rtt.c ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9003_rtt.h ath9k_hw: Fix RTT calibration 2012-05-15 17:27:55 -04:00
ar9330_1p1_initvals.h ath9k_hw: update AR933x initvals to fix issues with high power devices 2012-05-29 13:45:22 -04:00
ar9330_1p2_initvals.h ath9k: add AR9330 initvals 2011-06-22 16:09:49 -04:00
ar9340_initvals.h
ar9462_2p0_initvals.h ath9k_hw: update ar9462 dac_async_fifo initval 2012-06-20 15:14:52 -04:00
ar9485_initvals.h ath9k_hw: Update AR9485 initvals to fix system hang issue 2011-11-02 15:23:12 -04:00
ar9580_1p0_initvals.h ath9k_hw: add AR9580 support 2011-08-26 10:47:58 -04:00
ath9k.h ath9k: raise aggregation limit to 64k for HT IBSS 2012-06-26 14:28:50 -04:00
beacon.c ath9k: Use atomic operations 2012-06-06 15:20:31 -04:00
btcoex.c ath9k: improve BT FTP/PAN performance 2012-06-06 15:20:30 -04:00
btcoex.h ath9k: improve BT FTP/PAN performance 2012-06-06 15:20:30 -04:00
calib.c ath9k: fix max noise floor threshold 2012-03-26 15:07:23 -04:00
calib.h ath9k_hw: fix a comment 2012-01-10 15:46:39 -05:00
common.c ath9k_hw: clean up tx power handling 2011-10-11 16:41:26 -04:00
common.h ath9k: Move ath9k_init_crypto to common 2011-08-24 13:59:45 -04:00
debug.c ath9k: remove MIB interrupt support 2012-06-20 14:44:43 -04:00
debug.h ath9k: Add MCI interrupt to debugfs statistics 2012-06-06 15:20:25 -04:00
dfs.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs.h ath9k: update to DFS pattern detector interface 2012-04-11 16:23:54 -04:00
dfs_debug.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_debug.h ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pattern_detector.c ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs_pattern_detector.h ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
dfs_pri_detector.c ath9k: extend DFS detector stats in dfs_debugfs 2012-04-23 15:37:41 -04:00
dfs_pri_detector.h ath9k: add DFS pattern detector 2012-04-11 16:23:52 -04:00
eeprom.c ath9k: move ath9k_hw_fbin2freq function to eeprom.h 2012-04-17 14:57:13 -04:00
eeprom.h ath9k: move ath9k_hw_fbin2freq function to eeprom.h 2012-04-17 14:57:13 -04:00
eeprom_4k.c ath9k: Fix modal EEPROM dump 2012-06-05 15:23:20 -04:00
eeprom_9287.c ath9k: Fix modal EEPROM dump 2012-06-05 15:23:20 -04:00
eeprom_def.c ath9k: Fix modal EEPROM dump 2012-06-05 15:23:20 -04:00
gpio.c ath9k_hw: remove p_data argument from ar9003_mci_state 2012-06-13 14:36:00 -04:00
hif_usb.c USB 3.5-rc1 pull request 2012-05-22 15:50:46 -07:00
hif_usb.h ath9k_htc: Load firmware asynchronously 2012-01-30 15:48:42 -05:00
htc.h ath9k_htc: Fix IDLE power save 2012-06-26 14:28:52 -04:00
htc_drv_beacon.c ath9k_htc: Use atomic operations for op_flags 2012-06-26 14:28:51 -04:00
htc_drv_debug.c simple_open: automatically convert to simple_open() 2012-04-05 15:25:50 -07:00
htc_drv_gpio.c ath9k_htc: Fix IDLE power save 2012-06-26 14:28:52 -04:00
htc_drv_init.c ath9k_htc: Use atomic operations for op_flags 2012-06-26 14:28:51 -04:00
htc_drv_main.c ath9k_htc: Fix IDLE power save 2012-06-26 14:28:52 -04:00
htc_drv_txrx.c ath9k_htc: Use atomic operations for op_flags 2012-06-26 14:28:51 -04:00
htc_hst.c ath: Add and use pr_fmt, convert printks to pr_<level> 2012-04-10 14:52:13 -04:00
htc_hst.h
hw-ops.h drivers/net: Remove boolean comparisons to true/false 2012-02-13 00:47:40 -05:00
hw.c ath9k_hw: cleanup MCI gpm offset state 2012-06-13 14:35:58 -04:00
hw.h ath9k: fix mci_is_enabled utility 2012-06-20 15:14:51 -04:00
init.c ath9k: Handle ASPM properly 2012-06-06 15:20:24 -04:00
Kconfig ath9k: make MAC sample statistics optional 2012-03-07 13:51:38 -05:00
link.c ath9k: do not sampling on ani timer when chip is in sleep 2012-06-20 15:14:56 -04:00
mac.c ath9k_hw: increase tx abort timeout for half/quarter channels 2012-04-23 15:35:32 -04:00
mac.h ath9k_hw: remove ath9k_hw_gettxintrtxqs 2012-03-15 13:45:04 -04:00
main.c ath9k: Fix compilation breakage 2012-06-27 15:23:19 -04:00
Makefile ath9k: Move LNA code to antenna.c 2012-06-06 15:20:31 -04:00
mci.c ath9k: fix incorrect profile type manupulation 2012-06-20 15:14:47 -04:00
mci.h ath9k: Setup MCI interrupts properly 2012-06-06 15:20:24 -04:00
pci.c ath9k: Use atomic operations 2012-06-06 15:20:31 -04:00
phy.h
rc.c ath9k: choose legacy rate as last rate of MRR series 2012-06-13 14:35:51 -04:00
rc.h ath9k: completely zero intialize valid_phy_rate_idx 2012-03-05 15:23:14 -05:00
recv.c ath9k: Fix powersave locking 2012-06-06 15:20:32 -04:00
reg.h ath9k_hw: fix BT mute at hw init 2012-06-20 15:14:49 -04:00
wmi.c ath: Convert ath_dbg(bar, ATH_DBG_<FOO>, to ath_dbg(bar, FOO 2011-12-19 14:35:31 -05:00
wmi.h
xmit.c ath9k: raise aggregation limit to 64k for HT IBSS 2012-06-26 14:28:50 -04:00