mac80211: Update to version 5.3-rc4-1
[openwrt/staging/wigyori.git] / package / kernel / mac80211 / patches / subsys / 351-mac80211-add-TX_NEEDS_ALIGNED4_SKBS-hw-flag.patch
index fe113958d94b5eb17c8a4de8862946eeb712beec..7f0122e5363432eb4cc7d32915a6c5643ee53bb9 100644 (file)
@@ -20,9 +20,9 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
 
 --- a/include/net/mac80211.h
 +++ b/include/net/mac80211.h
-@@ -2266,6 +2266,9 @@ struct ieee80211_txq {
-  * @IEEE80211_HW_EXT_KEY_ID_NATIVE: Driver and hardware are supporting Extended
-  *    Key ID and can handle two unicast keys per station for Rx and Tx.
+@@ -2274,6 +2274,9 @@ struct ieee80211_txq {
+  * @IEEE80211_HW_NO_AMPDU_KEYBORDER_SUPPORT: The card/driver can't handle
+  *    active Tx A-MPDU sessions with Extended Key IDs during rekey.
   *
 + * @IEEE80211_HW_TX_NEEDS_ALIGNED4_SKBS: Driver need aligned skbs to four-byte.
 + *    Padding will be added after ieee80211_hdr, before IV/LLC.
@@ -30,15 +30,15 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
   * @NUM_IEEE80211_HW_FLAGS: number of hardware flags, used for sizing arrays
   */
  enum ieee80211_hw_flags {
-@@ -2318,6 +2321,7 @@ enum ieee80211_hw_flags {
-       IEEE80211_HW_SUPPORTS_MULTI_BSSID,
+@@ -2327,6 +2330,7 @@ enum ieee80211_hw_flags {
        IEEE80211_HW_SUPPORTS_ONLY_HE_MULTI_BSSID,
        IEEE80211_HW_EXT_KEY_ID_NATIVE,
+       IEEE80211_HW_NO_AMPDU_KEYBORDER_SUPPORT,
 +      IEEE80211_HW_TX_NEEDS_ALIGNED4_SKBS,
  
        /* keep last, obviously */
        NUM_IEEE80211_HW_FLAGS
-@@ -2611,6 +2615,40 @@ ieee80211_get_alt_retry_rate(const struc
+@@ -2620,6 +2624,40 @@ ieee80211_get_alt_retry_rate(const struc
  void ieee80211_free_txskb(struct ieee80211_hw *hw, struct sk_buff *skb);
  
  /**
@@ -294,10 +294,10 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                rcu_read_unlock();
 --- a/net/mac80211/debugfs.c
 +++ b/net/mac80211/debugfs.c
-@@ -272,6 +272,7 @@ static const char *hw_flag_names[] = {
-       FLAG(SUPPORTS_MULTI_BSSID),
+@@ -273,6 +273,7 @@ static const char *hw_flag_names[] = {
        FLAG(SUPPORTS_ONLY_HE_MULTI_BSSID),
        FLAG(EXT_KEY_ID_NATIVE),
+       FLAG(NO_AMPDU_KEYBORDER_SUPPORT),
 +      FLAG(TX_NEEDS_ALIGNED4_SKBS),
  #undef FLAG
  };