p54: improve site survey
authorChristian Lamparter <chunkeey@googlemail.com>
Fri, 19 Aug 2011 23:53:59 +0000 (01:53 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 24 Aug 2011 18:57:13 +0000 (14:57 -0400)
commit0d78156eef1d8869ea4e56f8a257252a8f262f04
treebfd4db22b84225b3f5ae777c6503eb30af37ff07
parent6423d30f030b560ef1b701bb1f205c3817efe380
p54: improve site survey

The firmware keeps track of channel usage. This data can
be used by the automatic channel selection to find the best
channel.

Survey data from wlan4
frequency: 5200 MHz [in use]
noise: -91 dBm
channel active time: 811909 ms
channel busy time: 63395 ms
channel transmit time: 59636 ms
Survey data from wlan4
frequency: 5210 MHz
noise: -91 dBm
channel active time: 121 ms
channel busy time: 119 ms
channel transmit time: 0 ms

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/eeprom.c
drivers/net/wireless/p54/fwio.c
drivers/net/wireless/p54/main.c
drivers/net/wireless/p54/p54.h
drivers/net/wireless/p54/txrx.c