]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: implement channel utilization stats for survey
authorFelix Fietkau <nbd@openwrt.org>
Sun, 10 Oct 2010 16:21:52 +0000 (18:21 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 11 Oct 2010 19:04:21 +0000 (15:04 -0400)
commita70913ff97b5fe93cbfa40ea4b5c78d8c74fd350
tree9a0ffbd469bfce751ddc30e09efdbfe69353bd75
parenta3402a6128633005c773a80f4e9c4a75aca1d1e2
ath9k: implement channel utilization stats for survey

Results for the active channel are updated whenever a new survey dump
is requested, the old data is kept to allow multiple processes to
make their own channel utilization averages.
All other channels only contain the data for the last time that the
hardware was on the channel, i.e. the last scan result or other
off-channel activity.
Running a background scan does not clear the data for the active
channel.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ath9k.h
drivers/net/wireless/ath/ath9k/main.c