aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ti
diff options
context:
space:
mode:
authorEliad Peller <eliad@wizery.com>2012-05-15 09:35:20 -0400
committerLuciano Coelho <coelho@ti.com>2012-06-06 12:28:06 -0400
commit186b5a7c938b13b9f6ee2532a13596556c224df0 (patch)
treefc0844e1ded8e3e3d64bf884e90daa20e375c03a /drivers/net/wireless/ti
parent9f5b424d6c44db1e02744ddc10c569dc7eb1c100 (diff)
wl12xx/wl18xx: add erp protection IE to the beacon filter
We have to reconfigure the fw when erp protection should be enabled/disabled. Pass beacons containing changes in the ERP protection IE, so we could analyze them. Signed-off-by: Eliad Peller <eliad@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti')
-rw-r--r--drivers/net/wireless/ti/wl12xx/main.c6
-rw-r--r--drivers/net/wireless/ti/wl18xx/main.c6
2 files changed, 10 insertions, 2 deletions
diff --git a/drivers/net/wireless/ti/wl12xx/main.c b/drivers/net/wireless/ti/wl12xx/main.c
index 2f6a39bfcf18..41017baaf253 100644
--- a/drivers/net/wireless/ti/wl12xx/main.c
+++ b/drivers/net/wireless/ti/wl12xx/main.c
@@ -216,7 +216,7 @@ static struct wlcore_conf wl12xx_conf = {
216 .suspend_wake_up_event = CONF_WAKE_UP_EVENT_N_DTIM, 216 .suspend_wake_up_event = CONF_WAKE_UP_EVENT_N_DTIM,
217 .suspend_listen_interval = 3, 217 .suspend_listen_interval = 3,
218 .bcn_filt_mode = CONF_BCN_FILT_MODE_ENABLED, 218 .bcn_filt_mode = CONF_BCN_FILT_MODE_ENABLED,
219 .bcn_filt_ie_count = 2, 219 .bcn_filt_ie_count = 3,
220 .bcn_filt_ie = { 220 .bcn_filt_ie = {
221 [0] = { 221 [0] = {
222 .ie = WLAN_EID_CHANNEL_SWITCH, 222 .ie = WLAN_EID_CHANNEL_SWITCH,
@@ -226,6 +226,10 @@ static struct wlcore_conf wl12xx_conf = {
226 .ie = WLAN_EID_HT_OPERATION, 226 .ie = WLAN_EID_HT_OPERATION,
227 .rule = CONF_BCN_RULE_PASS_ON_CHANGE, 227 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
228 }, 228 },
229 [2] = {
230 .ie = WLAN_EID_ERP_INFO,
231 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
232 },
229 }, 233 },
230 .synch_fail_thold = 12, 234 .synch_fail_thold = 12,
231 .bss_lose_timeout = 400, 235 .bss_lose_timeout = 400,
diff --git a/drivers/net/wireless/ti/wl18xx/main.c b/drivers/net/wireless/ti/wl18xx/main.c
index 9e5ce569f8da..c8d45f011c63 100644
--- a/drivers/net/wireless/ti/wl18xx/main.c
+++ b/drivers/net/wireless/ti/wl18xx/main.c
@@ -339,7 +339,7 @@ static struct wlcore_conf wl18xx_conf = {
339 .suspend_wake_up_event = CONF_WAKE_UP_EVENT_N_DTIM, 339 .suspend_wake_up_event = CONF_WAKE_UP_EVENT_N_DTIM,
340 .suspend_listen_interval = 3, 340 .suspend_listen_interval = 3,
341 .bcn_filt_mode = CONF_BCN_FILT_MODE_ENABLED, 341 .bcn_filt_mode = CONF_BCN_FILT_MODE_ENABLED,
342 .bcn_filt_ie_count = 2, 342 .bcn_filt_ie_count = 3,
343 .bcn_filt_ie = { 343 .bcn_filt_ie = {
344 [0] = { 344 [0] = {
345 .ie = WLAN_EID_CHANNEL_SWITCH, 345 .ie = WLAN_EID_CHANNEL_SWITCH,
@@ -349,6 +349,10 @@ static struct wlcore_conf wl18xx_conf = {
349 .ie = WLAN_EID_HT_OPERATION, 349 .ie = WLAN_EID_HT_OPERATION,
350 .rule = CONF_BCN_RULE_PASS_ON_CHANGE, 350 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
351 }, 351 },
352 [2] = {
353 .ie = WLAN_EID_ERP_INFO,
354 .rule = CONF_BCN_RULE_PASS_ON_CHANGE,
355 },
352 }, 356 },
353 .synch_fail_thold = 12, 357 .synch_fail_thold = 12,
354 .bss_lose_timeout = 400, 358 .bss_lose_timeout = 400,