diff mbox

[RFT,3/3] cw1200: use mac80211 to resize outgoing frames for protected

Message ID 52607462.yl7ixH72Rq@debian64 (mailing list archive)
State Rejected
Delegated to: Johannes Berg
Headers show

Commit Message

Christian Lamparter Dec. 31, 2014, 10:20 a.m. UTC
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 <pizza@shaftnet.org>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/net/wireless/cw1200/main.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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 |