Skip to contentSkip to conversation

cw1200: use mac80211 to resize outgoing frames for protected

PATCH In review Christian Lamparter 1 participant 2 messages Dec 31, 2014 1 message not in the archive Networking drivers (wireless)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): c31517e669693fceff192e510891356cd9ab795e.1420019654.git.chunkeey@googlemail.com

#1 lore raw

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

---
 drivers/net/wireless/p54/main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/p54/main.c +1 -0
index 97aeff0..b877c7f 100644
@@ -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) |
Signature · 1 line
2.1.4
#2 lore raw

PATCH 3/3 cw1200: use mac80211 to resize outgoing frames for protected

In reply to a message not in the archive

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.

---
 drivers/net/wireless/cw1200/main.c | 1 +
 1 file changed, 1 insertion(+)
drivers/net/wireless/cw1200/main.c +1 -0
index 3e78cc3..69c1f51 100644
@@ -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 |
Signature · 1 line
2.1.4