diff options
author | Holger Schurig <holgerschurig@gmail.com> | 2009-11-11 12:25:40 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-13 23:43:58 +0100 |
commit | 61fa713c751683da915fa0c1aa502be85822c357 (patch) | |
tree | a4f286a2bb59b9afd1f3b836cb62a8e81bafee98 /net/mac80211/rx.c | |
parent | cfg80211: introduce nl80211_get_ifidx() (diff) | |
download | linux-61fa713c751683da915fa0c1aa502be85822c357.tar.xz linux-61fa713c751683da915fa0c1aa502be85822c357.zip |
cfg80211: return channel noise via survey API
This patch implements the NL80211_CMD_GET_SURVEY command and an get_survey()
ops that a driver can implement. The goal of this command is to allow a
drivers to report channel survey data (e.g. channel noise, channel
occupation).
For now, only the mechanism to report back channel noise has been
implemented.
In future, there will either be a survey-trigger command --- or the existing
scan-trigger command will be enhanced. This will allow user-space to
request survey for arbitrary channels.
Note: any driver that cannot report channel noise should not report
any value at all, e.g. made-up -92 dBm.
Signed-off-by: Holger Schurig <holgerschurig@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/rx.c')
0 files changed, 0 insertions, 0 deletions