aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/wl12xx/main.c
diff options
context:
space:
mode:
authorArik Nemtsov <arik@wizery.com>2011-02-22 17:22:28 -0500
committerLuciano Coelho <coelho@ti.com>2011-02-23 04:18:45 -0500
commitba7c082a139178da239a65e6e6cc6bd1c8515d97 (patch)
tree82a982f221b1b3992eb9f3b0bfe7a3e435c182ac /drivers/net/wireless/wl12xx/main.c
parent1d36cd892c130a5a781acb282e083b94127f1c50 (diff)
wl12xx: AP-mode - support HW based link PS monitoring
When operating in AP mode the wl1271 hardware filters out null-data packets as well as management packets. This makes it impossible for mac80211 to monitor the PS mode by using the PM bit of incoming frames. Disable mac80211 automatic link PS-mode handling by supporting IEEE80211_HW_AP_LINK_PS in HW flags. Signed-off-by: Arik Nemtsov <arik@wizery.com> Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/main.c')
-rw-r--r--drivers/net/wireless/wl12xx/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/main.c b/drivers/net/wireless/wl12xx/main.c
index 3a4f6069be60..f336e9cbd9e0 100644
--- a/drivers/net/wireless/wl12xx/main.c
+++ b/drivers/net/wireless/wl12xx/main.c
@@ -3226,7 +3226,8 @@ int wl1271_init_ieee80211(struct wl1271 *wl)
3226 IEEE80211_HW_HAS_RATE_CONTROL | 3226 IEEE80211_HW_HAS_RATE_CONTROL |
3227 IEEE80211_HW_CONNECTION_MONITOR | 3227 IEEE80211_HW_CONNECTION_MONITOR |
3228 IEEE80211_HW_SUPPORTS_CQM_RSSI | 3228 IEEE80211_HW_SUPPORTS_CQM_RSSI |
3229 IEEE80211_HW_REPORTS_TX_ACK_STATUS; 3229 IEEE80211_HW_REPORTS_TX_ACK_STATUS |
3230 IEEE80211_HW_AP_LINK_PS;
3230 3231
3231 wl->hw->wiphy->cipher_suites = cipher_suites; 3232 wl->hw->wiphy->cipher_suites = cipher_suites;
3232 wl->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites); 3233 wl->hw->wiphy->n_cipher_suites = ARRAY_SIZE(cipher_suites);