mac80211: Update to version 5.8.18-1
[openwrt/openwrt.git] / package / kernel / mac80211 / patches / subsys / 307-mac80211-add-a-function-for-running-rx-without-passi.patch
index 1bcb41461efa044b0f49ef4c2dbb3cd9640b88cc..802d57497cc9ac1a44e691b434606e90b96e1c15 100644 (file)
@@ -58,7 +58,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        struct ieee80211_sub_if_data *sdata;
 --- a/net/mac80211/rx.c
 +++ b/net/mac80211/rx.c
-@@ -2578,8 +2578,8 @@ static void ieee80211_deliver_skb_to_loc
+@@ -2579,8 +2579,8 @@ static void ieee80211_deliver_skb_to_loc
                memset(skb->cb, 0, sizeof(skb->cb));
  
                /* deliver to local stack */
@@ -69,7 +69,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
                else
                        netif_receive_skb(skb);
        }
-@@ -3869,7 +3869,6 @@ void ieee80211_release_reorder_timeout(s
+@@ -3870,7 +3870,6 @@ void ieee80211_release_reorder_timeout(s
                /* This is OK -- must be QoS data frame */
                .security_idx = tid,
                .seqno_idx = tid,
@@ -77,7 +77,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        };
        struct tid_ampdu_rx *tid_agg_rx;
  
-@@ -4479,8 +4478,8 @@ static bool ieee80211_invoke_fast_rx(str
+@@ -4480,8 +4479,8 @@ static bool ieee80211_invoke_fast_rx(str
        /* deliver to local stack */
        skb->protocol = eth_type_trans(skb, fast_rx->dev);
        memset(skb->cb, 0, sizeof(skb->cb));
@@ -88,7 +88,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
        else
                netif_receive_skb(skb);
  
-@@ -4547,7 +4546,7 @@ static bool ieee80211_prepare_and_rx_han
+@@ -4548,7 +4547,7 @@ static bool ieee80211_prepare_and_rx_han
  static void __ieee80211_rx_handle_packet(struct ieee80211_hw *hw,
                                         struct ieee80211_sta *pubsta,
                                         struct sk_buff *skb,
@@ -97,7 +97,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  {
        struct ieee80211_local *local = hw_to_local(hw);
        struct ieee80211_sub_if_data *sdata;
-@@ -4562,7 +4561,7 @@ static void __ieee80211_rx_handle_packet
+@@ -4563,7 +4562,7 @@ static void __ieee80211_rx_handle_packet
        memset(&rx, 0, sizeof(rx));
        rx.skb = skb;
        rx.local = local;
@@ -106,7 +106,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  
        if (ieee80211_is_data(fc) || ieee80211_is_mgmt(fc))
                I802_DEBUG_INC(local->dot11ReceivedFragmentCount);
-@@ -4670,8 +4669,8 @@ static void __ieee80211_rx_handle_packet
+@@ -4671,8 +4670,8 @@ static void __ieee80211_rx_handle_packet
   * This is the receive path handler. It is called by a low level driver when an
   * 802.11 MPDU is received from the hardware.
   */
@@ -117,7 +117,7 @@ Signed-off-by: Felix Fietkau <nbd@nbd.name>
  {
        struct ieee80211_local *local = hw_to_local(hw);
        struct ieee80211_rate *rate = NULL;
-@@ -4763,36 +4762,53 @@ void ieee80211_rx_napi(struct ieee80211_
+@@ -4764,36 +4763,53 @@ void ieee80211_rx_napi(struct ieee80211_
        status->rx_flags = 0;
  
        /*