diff options
author | Yogesh Ashok Powar <yogeshp@marvell.com> | 2011-08-29 13:42:44 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-13 21:42:31 +0200 |
commit | 2a36a0ec1550ffb4d608134e2504a6a67d1d1740 (patch) | |
tree | 7a833e1d60223212a668a9a9eaf6d26c48af38b1 /drivers/net | |
parent | ath9k_hw: fix the last register write for ar5416 addac (diff) | |
download | linux-2a36a0ec1550ffb4d608134e2504a6a67d1d1740.tar.xz linux-2a36a0ec1550ffb4d608134e2504a6a67d1d1740.zip |
mwl8k: Set hardware flag IEEE80211_HW_AP_LINK_PS
This will avoid mac80211 to trigger PS mode for connected station
based on the PM bit of incoming frames. AP firmware is capable of
handling such frames and buffering TX frames destined to the
stations that are in PS mode.
Signed-off-by: Yogesh Ashok Powar <yogeshp@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/mwl8k.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/drivers/net/wireless/mwl8k.c b/drivers/net/wireless/mwl8k.c index 771280a47ea7..ea1395aafa39 100644 --- a/drivers/net/wireless/mwl8k.c +++ b/drivers/net/wireless/mwl8k.c @@ -5501,6 +5501,14 @@ static int mwl8k_firmware_load_success(struct mwl8k_priv *priv) /* Set rssi values to dBm */ hw->flags |= IEEE80211_HW_SIGNAL_DBM | IEEE80211_HW_HAS_RATE_CONTROL; + + /* + * Ask mac80211 to not to trigger PS mode + * based on PM bit of incoming frames. + */ + if (priv->ap_fw) + hw->flags |= IEEE80211_HW_AP_LINK_PS; + hw->vif_data_size = sizeof(struct mwl8k_vif); hw->sta_data_size = sizeof(struct mwl8k_sta); |