mac80211: Update to version 5.13.19-1
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / subsys / 375-mac80211-call-ieee80211_tx_h_rate_ctrl-when-dequeue.patch
index a09d97cab3f0e3e7d15af3f6e53124e12635e82a..346c6468f823df6a5ce7474f0ad2401750e2e88b 100644 (file)
@@ -10,7 +10,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
 
 --- a/net/mac80211/tx.c
 +++ b/net/mac80211/tx.c
-@@ -1765,8 +1765,6 @@ static int invoke_tx_handlers_early(stru
+@@ -1768,8 +1768,6 @@ static int invoke_tx_handlers_early(stru
        CALL_TXH(ieee80211_tx_h_ps_buf);
        CALL_TXH(ieee80211_tx_h_check_control_port_protocol);
        CALL_TXH(ieee80211_tx_h_select_key);
@@ -19,7 +19,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
  
   txh_done:
        if (unlikely(res == TX_DROP)) {
-@@ -1799,6 +1797,9 @@ static int invoke_tx_handlers_late(struc
+@@ -1802,6 +1800,9 @@ static int invoke_tx_handlers_late(struc
                goto txh_done;
        }
  
@@ -29,7 +29,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
        CALL_TXH(ieee80211_tx_h_michael_mic_add);
        CALL_TXH(ieee80211_tx_h_sequence);
        CALL_TXH(ieee80211_tx_h_fragment);
-@@ -3386,15 +3387,21 @@ out:
+@@ -3391,15 +3392,21 @@ out:
   * Can be called while the sta lock is held. Anything that can cause packets to
   * be generated will cause deadlock!
   */
@@ -55,7 +55,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
        if (key)
                info->control.hw_key = &key->conf;
  
-@@ -3443,6 +3450,8 @@ static void ieee80211_xmit_fast_finish(s
+@@ -3448,6 +3455,8 @@ static void ieee80211_xmit_fast_finish(s
                        break;
                }
        }
@@ -64,7 +64,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
  }
  
  static bool ieee80211_xmit_fast(struct ieee80211_sub_if_data *sdata,
-@@ -3546,24 +3555,17 @@ static bool ieee80211_xmit_fast(struct i
+@@ -3551,24 +3560,17 @@ static bool ieee80211_xmit_fast(struct i
        tx.sta = sta;
        tx.key = fast_tx->key;
  
@@ -97,7 +97,7 @@ Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
  
        if (sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
                sdata = container_of(sdata->bss,
-@@ -3674,8 +3676,12 @@ begin:
+@@ -3685,8 +3687,12 @@ begin:
                    (tx.key->conf.flags & IEEE80211_KEY_FLAG_GENERATE_IV))
                        pn_offs = ieee80211_hdrlen(hdr->frame_control);