diff options
author | Grazvydas Ignotas <notasas@gmail.com> | 2012-06-16 15:31:49 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-06-20 15:14:44 -0400 |
commit | a2d2bb8675fe9dc127d802b6be6517a0932e65b7 (patch) | |
tree | 2537203bf6c9d9155541076d5a0f591920b93e73 /drivers/net/wireless/ti/wl1251/cmd.c | |
parent | 7e05bedca084faa073c2e64bbcd6407dbaff3151 (diff) |
wl1251: fix filtering support
This driver has a hack in cmd.c which effectively disables all filtering.
This seems to be triggering a firmware bug where it stops reporting any
rx packets after random time on some routers, which is eliminated (or at
least appears much more rarely) when filtering is on.
I have found that only BSSID filter needs to be disabled for association
to work, so disable only that instead of all filtering.
Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ti/wl1251/cmd.c')
-rw-r--r-- | drivers/net/wireless/ti/wl1251/cmd.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/wireless/ti/wl1251/cmd.c b/drivers/net/wireless/ti/wl1251/cmd.c index d14d69d733a0..6822b845efc1 100644 --- a/drivers/net/wireless/ti/wl1251/cmd.c +++ b/drivers/net/wireless/ti/wl1251/cmd.c | |||
@@ -277,15 +277,6 @@ int wl1251_cmd_join(struct wl1251 *wl, u8 bss_type, u8 channel, | |||
277 | join->rx_config_options = wl->rx_config; | 277 | join->rx_config_options = wl->rx_config; |
278 | join->rx_filter_options = wl->rx_filter; | 278 | join->rx_filter_options = wl->rx_filter; |
279 | 279 | ||
280 | /* | ||
281 | * FIXME: disable temporarily all filters because after commit | ||
282 | * 9cef8737 "mac80211: fix managed mode BSSID handling" broke | ||
283 | * association. The filter logic needs to be implemented properly | ||
284 | * and once that is done, this hack can be removed. | ||
285 | */ | ||
286 | join->rx_config_options = 0; | ||
287 | join->rx_filter_options = WL1251_DEFAULT_RX_FILTER; | ||
288 | |||
289 | join->basic_rate_set = RATE_MASK_1MBPS | RATE_MASK_2MBPS | | 280 | join->basic_rate_set = RATE_MASK_1MBPS | RATE_MASK_2MBPS | |
290 | RATE_MASK_5_5MBPS | RATE_MASK_11MBPS; | 281 | RATE_MASK_5_5MBPS | RATE_MASK_11MBPS; |
291 | 282 | ||