diff options
author | Shahar Levi <shahar_levi@ti.com> | 2011-05-11 11:14:22 +0300 |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2011-05-13 00:06:32 +0300 |
commit | bc76b94051983b94c8ba04fbfbc59651b9925fa7 (patch) | |
tree | 8cb6c07eac16ca0d86812d32fa579001d9d9223f | |
parent | 889cb360b4f48c1334311093161f06f7b4bd77d2 (diff) | |
download | op-kernel-dev-bc76b94051983b94c8ba04fbfbc59651b9925fa7.zip op-kernel-dev-bc76b94051983b94c8ba04fbfbc59651b9925fa7.tar.gz |
wl12xx: Don't filter beacons that include changed HT IEs
This patch adds a beacon filter rule to pass up the beacons that
contain changed HT information elements. These beacons need to be
passed to mac80211 so that it can act on such changes.
[Reworded commit log -- Luca.]
Signed-off-by: Shahar Levi <shahar_levi@ti.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
-rw-r--r-- | drivers/net/wireless/wl12xx/main.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c index f82e736..fa6b996d 100644 --- a/drivers/net/wireless/wl12xx/main.c +++ b/drivers/net/wireless/wl12xx/main.c @@ -257,12 +257,16 @@ static struct conf_drv_settings default_conf = { .wake_up_event = CONF_WAKE_UP_EVENT_DTIM, .listen_interval = 1, .bcn_filt_mode = CONF_BCN_FILT_MODE_ENABLED, - .bcn_filt_ie_count = 1, + .bcn_filt_ie_count = 2, .bcn_filt_ie = { [0] = { .ie = WLAN_EID_CHANNEL_SWITCH, .rule = CONF_BCN_RULE_PASS_ON_APPEARANCE, - } + }, + [1] = { + .ie = WLAN_EID_HT_INFORMATION, + .rule = CONF_BCN_RULE_PASS_ON_CHANGE, + }, }, .synch_fail_thold = 10, .bss_lose_timeout = 100, |