aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti/wl1251/wl1251.h
diff options
context:
space:
mode:
authorDavid Gnedt <david.gnedt@davizone.at>2014-01-07 13:07:52 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-01-09 10:54:58 -0500
commit4d09b5378defd4ef685f9d33e0d35b380109eafa (patch)
treec4f78e3938bc864e6140bb1cce434543ea36d096 /drivers/net/wireless/ti/wl1251/wl1251.h
parentwl1251: split RX and TX data path initialisation (diff)
downloadlinux-dev-4d09b5378defd4ef685f9d33e0d35b380109eafa.tar.xz
linux-dev-4d09b5378defd4ef685f9d33e0d35b380109eafa.zip
wl1251: configure hardware en-/decryption for monitor mode
Disable hardware encryption (DF_ENCRYPTION_DISABLE) and decryption (DF_SNIFF_MODE_ENABLE) via wl1251_acx_feature_cfg while monitor interface is present. Signed-off-by: David Gnedt <david.gnedt@davizone.at> Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to '')
-rw-r--r--drivers/net/wireless/ti/wl1251/wl1251.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wl1251/wl1251.h b/drivers/net/wireless/ti/wl1251/wl1251.h
index 24869458cf74..58bb414c51e5 100644
--- a/drivers/net/wireless/ti/wl1251/wl1251.h
+++ b/drivers/net/wireless/ti/wl1251/wl1251.h
@@ -303,6 +303,7 @@ struct wl1251 {
u8 bss_type;
u8 listen_int;
int channel;
+ bool monitor_present;
void *target_mem_map;
struct acx_data_path_params_resp *data_path;