diff mbox

[3.17,2/3] p54: use mac80211 to resize outgoing frames for protected

Message ID 8568428.idsM252yN9@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 p54 to re-enable resizing of outgoing
frames for hardware-offloaded CCMP connections.

Cc: stable@vger.kernel.org # mac80211: add feature flag to enable resizing of outgoing frames for encryption
Cc: Kalle Valo <kvalo@codeaurora.org>
Bugzilla: <https://bugzilla.kernel.org/show_bug.cgi?id=90331>
Reported-by: Christopher Chavez <chrischavez@gmx.us>
Tested-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
---
 drivers/net/wireless/p54/main.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

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) |