mwl8k: Adding support to gather survey per channel
authorYogesh Ashok Powar <yogeshp@marvell.com>
Tue, 25 Feb 2014 12:12:18 +0000 (17:42 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:11 +0000 (14:33 -0500)
commit031eb464fb4b7e475c4e8ca59502f017ae328704
treea5c9a0bb8068fe70039d3654555671bddbe343dc
parent4c924f42c9c9f60ca861a8c4a52825778e9e09a0
mwl8k: Adding support to gather survey per channel

Survey stats such as channel busy time, rx busy time
and noise are collected when sw_scan starts for every
switched new channel. This happens till sw_scan stops.

All the collected stats are shared up when get_survey()
is called.

This implements support for ACS feature from Hostapd.

Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: Nishant Sarmukadam <nishants@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwl8k.c