forked from openwrt/openwrt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mac80211: Update to version 5.8.18-1
The removed patches were applied upstream. Signed-off-by: Hauke Mehrtens <[email protected]>
- Loading branch information
Showing
19 changed files
with
38 additions
and
218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ Signed-off-by: Rafał Miłecki <[email protected]> | |
|
||
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | ||
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | ||
@@ -712,8 +712,36 @@ static struct wireless_dev *brcmf_cfg802 | ||
@@ -714,8 +714,36 @@ static struct wireless_dev *brcmf_cfg802 | ||
struct brcmf_cfg80211_info *cfg = wiphy_to_cfg(wiphy); | ||
struct brcmf_pub *drvr = cfg->pub; | ||
struct wireless_dev *wdev; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ Signed-off-by: Phil Elwell <[email protected]> | |
|
||
--- a/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | ||
+++ b/drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c | ||
@@ -2953,6 +2953,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip | ||
@@ -2955,6 +2955,10 @@ brcmf_cfg80211_set_power_mgmt(struct wip | ||
* preference in cfg struct to apply this to | ||
* FW later while initializing the dongle | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
void ieee80211_apply_htcap_overrides(struct ieee80211_sub_if_data *sdata, | ||
--- a/net/mac80211/status.c | ||
+++ b/net/mac80211/status.c | ||
@@ -843,6 +843,11 @@ void ieee80211_tx_monitor(struct ieee802 | ||
@@ -846,6 +846,11 @@ void ieee80211_tx_monitor(struct ieee802 | ||
struct net_device *prev_dev = NULL; | ||
int rtap_len; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -58,7 +58,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
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,15 +69,15 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
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, | ||
- .napi = NULL, /* must be NULL to not have races */ | ||
}; | ||
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 <[email protected]> | |
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 <[email protected]> | |
{ | ||
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 <[email protected]> | |
|
||
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 <[email protected]> | |
{ | ||
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; | ||
|
||
/* | ||
|
116 changes: 0 additions & 116 deletions
116
...ernel/mac80211/patches/subsys/310-mac80211-reduce-packet-loss-event-false-positives.patch
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,12 +55,12 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
+ agg_shift = 3; | ||
+ else | ||
+ agg_shift = 4; | ||
|
||
- return airtime; | ||
+ | ||
+ duration *= len; | ||
+ duration /= AVG_PKT_SIZE; | ||
+ duration /= 1024; | ||
+ | ||
|
||
- return airtime; | ||
+ return duration + (overhead >> agg_shift); | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -67,12 +67,12 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
if (!acked && !noack_success) | ||
- sta->status_stats.retry_failed++; | ||
- sta->status_stats.retry_count += retry_count; | ||
- | ||
+ sta->status_stats.msdu_failed[tid]++; | ||
|
||
- if (ieee80211_is_data_present(fc)) { | ||
- if (!acked && !noack_success) | ||
- sta->status_stats.msdu_failed[tid]++; | ||
+ sta->status_stats.msdu_failed[tid]++; | ||
|
||
- | ||
- sta->status_stats.msdu_retries[tid] += | ||
- retry_count; | ||
- } | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -112,7 +112,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
|
||
--- a/net/mac80211/rx.c | ||
+++ b/net/mac80211/rx.c | ||
@@ -1811,9 +1811,6 @@ ieee80211_rx_h_sta_process(struct ieee80 | ||
@@ -1812,9 +1812,6 @@ ieee80211_rx_h_sta_process(struct ieee80 | ||
sta->rx_stats.last_rate = sta_stats_encode_rate(status); | ||
} | ||
|
||
|
@@ -122,15 +122,15 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
sta->rx_stats.fragments++; | ||
|
||
u64_stats_update_begin(&rx->sta->rx_stats.syncp); | ||
@@ -4148,7 +4145,6 @@ void ieee80211_check_fast_rx(struct sta_ | ||
@@ -4149,7 +4146,6 @@ void ieee80211_check_fast_rx(struct sta_ | ||
fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr2); | ||
fastrx.expected_ds_bits = 0; | ||
} else { | ||
- fastrx.sta_notify = sdata->u.mgd.probe_send_count > 0; | ||
fastrx.da_offs = offsetof(struct ieee80211_hdr, addr1); | ||
fastrx.sa_offs = offsetof(struct ieee80211_hdr, addr3); | ||
fastrx.expected_ds_bits = | ||
@@ -4378,11 +4374,6 @@ static bool ieee80211_invoke_fast_rx(str | ||
@@ -4379,11 +4375,6 @@ static bool ieee80211_invoke_fast_rx(str | ||
pskb_trim(skb, skb->len - fast_rx->icv_len)) | ||
goto drop; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -129,7 +129,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
} | ||
--- a/net/mac80211/rx.c | ||
+++ b/net/mac80211/rx.c | ||
@@ -2896,7 +2896,7 @@ ieee80211_rx_h_mesh_fwding(struct ieee80 | ||
@@ -2897,7 +2897,7 @@ ieee80211_rx_h_mesh_fwding(struct ieee80 | ||
fwd_hdr->frame_control &= ~cpu_to_le16(IEEE80211_FCTL_RETRY); | ||
info = IEEE80211_SKB_CB(fwd_skb); | ||
memset(info, 0, sizeof(*info)); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -30,7 +30,7 @@ Signed-off-by: Felix Fietkau <[email protected]> | |
/** | ||
--- a/net/mac80211/cfg.c | ||
+++ b/net/mac80211/cfg.c | ||
@@ -1693,6 +1693,7 @@ static int ieee80211_change_station(stru | ||
@@ -1694,6 +1694,7 @@ static int ieee80211_change_station(stru | ||
|
||
rcu_assign_pointer(vlansdata->u.vlan.sta, sta); | ||
__ieee80211_check_fast_rx_iface(vlansdata); | ||
|
Oops, something went wrong.