ath9k: Fix a corner case failure in sending PAPRD frames in HT40
authorMohammed Shafi Shajakhan <mshajakhan@atheros.com>
Fri, 17 Jun 2011 05:37:32 +0000 (11:07 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 20 Jun 2011 19:34:18 +0000 (15:34 -0400)
commit81dc67601a49d1bfcfa85f644b14a013fc59e0ef
treee88545179b1dd6fb591d8e102f3e448a3f30d662
parent77572fd13d7f468216b85e68a006000726a59e89
ath9k: Fix a corner case failure in sending PAPRD frames in HT40

when the AP is configured with HT40/2.4GHz and when PAPRD is enabled in station
we have PAPRD training frames never sent out because of the following
failure "PAPRD target power delta out of range". This consistently happens
in channel 10,11 in Over The Air testing and rarely in channel 6 under wired
setup.
        the reason behind this issue is all the HT40 rates target power
are 0 when we operate in channel 10/11 at 2.4GHz

Signed-off-by: Mohammed Shafi Shajakhan <mshajakhan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9003_eeprom.c