2014-12-31 10:26:29

by Christian Lamparter

[permalink] [raw]
Subject: [PATCH 3.17 2/3] p54: 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 p54 to re-enable resizing of outgoing
frames for hardware-offloaded CCMP connections.

Cc: [email protected] # mac80211: add feature flag to enable resizing of outgoing frames for encryption
Cc: Kalle Valo <[email protected]>
Bugzilla: <https://bugzilla.kernel.org/show_bug.cgi?id=90331>
Reported-by: Christopher Chavez <[email protected]>
Tested-by: Larry Finger <[email protected]>
Signed-off-by: Christian Lamparter <[email protected]>
---
drivers/net/wireless/p54/main.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/p54/main.c b/drivers/net/wireless/p54/main.c
index 97aeff0..b877c7f 100644
--- a/drivers/net/wireless/p54/main.c
+++ b/drivers/net/wireless/p54/main.c
@@ -751,6 +751,7 @@ struct ieee80211_hw *p54_init_common(size_t priv_data_len)
IEEE80211_HW_SUPPORTS_PS |
IEEE80211_HW_PS_NULLFUNC_STACK |
IEEE80211_HW_MFP_CAPABLE |
+ IEEE80211_HW_TAILROOM_CRYPTO |
IEEE80211_HW_REPORTS_TX_ACK_STATUS;

dev->wiphy->interface_modes = BIT(NL80211_IFTYPE_STATION) |
--
2.1.4