summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/wl1271.h
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2010-07-28 22:41:06 +0200
committerJohn W. Linville <linville@tuxdriver.com>2010-07-29 18:46:49 +0200
commitece550d0e416b4146e1ec3d934f9773dbf8c7242 (patch)
treecfdce97332f066556a0c80746c4ef2f4a0f80a67 /drivers/net/wireless/wl12xx/wl1271.h
parentlibertas_tf: add get_survey callback in order to get channel noise (diff)
downloadlinux-ece550d0e416b4146e1ec3d934f9773dbf8c7242.tar.xz
linux-ece550d0e416b4146e1ec3d934f9773dbf8c7242.zip
wl1271: add get_survey callback in order to get channel noise
Signed-off-by: John W. Linville <linville@tuxdriver.com> Acked-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271.h')
-rw-r--r--drivers/net/wireless/wl12xx/wl1271.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271.h b/drivers/net/wireless/wl12xx/wl1271.h
index 53d47d7a2a1d..dd3cee6ea5bb 100644
--- a/drivers/net/wireless/wl12xx/wl1271.h
+++ b/drivers/net/wireless/wl12xx/wl1271.h
@@ -475,6 +475,9 @@ struct wl1271 {
bool sg_enabled;
struct list_head list;
+
+ /* Most recently reported noise in dBm */
+ s8 noise;
};
int wl1271_plt_start(struct wl1271 *wl);