mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

[mac80211] ca5ee6e mac80211: Fix potential endless loop 2c14710 mac80211: add more AQL fixes/improvements 91fb3ce mac80211: remove an obsolete patch that is no longer doing anything useful acf1733 mac80211: add preliminary support for enabling 802.11ax in config d717343 mac80211: update encap offload patches to the latest version 673062f mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited caf7277 mac80211: do not allow bigger VHT MPDUs than the hardware supports cd36c0d mac80211: select the first available channel for 5GHz interfaces 1c6d456 mac80211: fix regression in station connection monitor optimization 4bd7689 mac80211: update sta connection monitor regression fix [target] Sync: at91, ath25, ath79, lantiq, mediatek, mvebu.
24 lines
799 B
Diff
24 lines
799 B
Diff
From: Felix Fietkau <nbd@nbd.name>
|
|
Date: Thu, 27 Aug 2020 12:47:48 +0200
|
|
Subject: [PATCH] mac80211: add AQL support for VHT160 tx rates
|
|
|
|
When converting from struct ieee80211_tx_rate to ieee80211_rx_status,
|
|
there was one check missing to fill in the bandwidth for 160 MHz
|
|
|
|
Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
|
---
|
|
|
|
--- a/net/mac80211/airtime.c
|
|
+++ b/net/mac80211/airtime.c
|
|
@@ -560,7 +560,9 @@ static int ieee80211_fill_rx_status(stru
|
|
if (rate->idx < 0 || !rate->count)
|
|
return -1;
|
|
|
|
- if (rate->flags & IEEE80211_TX_RC_80_MHZ_WIDTH)
|
|
+ if (rate->flags & IEEE80211_TX_RC_160_MHZ_WIDTH)
|
|
+ stat->bw = RATE_INFO_BW_160;
|
|
+ else if (rate->flags & IEEE80211_TX_RC_80_MHZ_WIDTH)
|
|
stat->bw = RATE_INFO_BW_80;
|
|
else if (rate->flags & IEEE80211_TX_RC_40_MHZ_WIDTH)
|
|
stat->bw = RATE_INFO_BW_40;
|