aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSujith Manoharan <[email protected]>2013-06-10 13:49:39 +0530
committerJohn W. Linville <[email protected]>2013-06-12 15:06:55 -0400
commit696df78509d1f81b651dd98ecdc1aecab616db6b (patch)
treede8bb7b920b564ee29eb840ab74459f006f64150 /tools/perf/scripts/python
parent30d5b709da23f4ab9836c7f66d2d2e780a69cf12 (diff)
ath9k: Fix noisefloor calibration
The commits, "ath9k: Fix regression in channelwidth switch at the same channel" "ath9k: Fix invalid noisefloor reading due to channel update" attempted to fix noisefloor calibration when a channel switch happens due to HT20/HT40 bandwidth change. This is causing invalid readings resulting in messages like: "ath: phy16: NF[0] (-45) > MAX (-95), correcting to MAX". This results in an incorrect noise being used initially for reporting the signal level of received packets, until NF calibration is done and the history buffer is updated via the ANI timer, which happens much later. When a bandwidth change happens, it is appropriate to reset the internal history data for the channel. Do this correctly in the reset() routine by checking the "chanmode" variable. Cc: [email protected] Cc: Rajkumar Manoharan <[email protected]> Signed-off-by: Sujith Manoharan <[email protected]> Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions