2014-12-31 10:20:29

by Christian Lamparter

[permalink] [raw]
Subject: [RFT 3/3] cw1200: use mac80211 to resize outgoing frames for protected

The patch "mac80211: add feature flag to enable resizing of
outgoing frames for encryption" introduced a feature flag
which has to be set for cw1200 to re-enable resizing of
outgoing frames for hardware-offloaded CCMP connections.

Cc: Solomon Peachy <[email protected]>
Signed-off-by: Christian Lamparter <[email protected]>
---
drivers/net/wireless/cw1200/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/cw1200/main.c b/drivers/net/wireless/cw1200/main.c
index 3e78cc3..69c1f51 100644
--- a/drivers/net/wireless/cw1200/main.c
+++ b/drivers/net/wireless/cw1200/main.c
@@ -281,6 +281,7 @@ static struct ieee80211_hw *cw1200_init_common(const u8 *macaddr,
hw->flags = IEEE80211_HW_SIGNAL_DBM |
IEEE80211_HW_SUPPORTS_PS |
IEEE80211_HW_SUPPORTS_DYNAMIC_PS |
+ IEEE80211_HW_TAILROOM_CRYPTO |
IEEE80211_HW_REPORTS_TX_ACK_STATUS |
IEEE80211_HW_SUPPORTS_UAPSD |
IEEE80211_HW_CONNECTION_MONITOR |
--
2.1.4