aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
diff options
context:
space:
mode:
authorSujith Manoharan <c_manoha@qca.qualcomm.com>2012-05-04 13:23:59 +0530
committerJohn W. Linville <linville@tuxdriver.com>2012-05-15 17:27:55 -0400
commit8a90555fea9f2e1498a9efe4f25c32d2846f257f (patch)
tree2679b3273669a2448ff41266e74431e88e914e0e /drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
parentmac80211: fix the increment of unicast/multicast counters for forwarded PREQ (diff)
downloadlinux-dev-8a90555fea9f2e1498a9efe4f25c32d2846f257f.tar.xz
linux-dev-8a90555fea9f2e1498a9efe4f25c32d2846f257f.zip
ath9k_hw: Fix RTT calibration
This patch fixes multiple issues with the current RTT implementation in ath9k. * The data that is obtained from the RTT interface registers are stored in 31:5 - mask out the extra bits when reading them. * A history buffer is maintained which is not needed at all. Remove this array and just store the baseband data for each chain (or bank). * A 'num_readings' variable was being used to handle the last entry. But it was being used in an improper manner, with the result that the RTT values were never being written to the RTT Interface registers. Fix this by using a simple flag. * Stop baseband operations before programming the calibration values to the HW. * Do not restore RX gain settings as part of RTT. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c')
0 files changed, 0 insertions, 0 deletions