Patch "wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap" has been added to the 6.6-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap

to the 6.6-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     wifi-mac80211-handle-320-mhz-in-ieee80211_ht_cap_ie_.patch
and it can be found in the queue-6.6 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 93eecfb7eeeaad1b42f7b72f2e3183b52068e1f1
Author: Ben Greear <greearb@xxxxxxxxxxxxxxx>
Date:   Thu Nov 9 10:22:01 2023 -0800

    wifi: mac80211: handle 320 MHz in ieee80211_ht_cap_ie_to_sta_ht_cap
    
    [ Upstream commit 00f7d153f3358a7c7e35aef66fcd9ceb95d90430 ]
    
    The new 320 MHz channel width wasn't handled, so connecting
    a station to a 320 MHz AP would limit the station to 20 MHz
    (on HT) after a warning, handle 320 MHz to fix that.
    
    Signed-off-by: Ben Greear <greearb@xxxxxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20231109182201.495381-1-greearb@xxxxxxxxxxxxxxx
    [write a proper commit message]
    Signed-off-by: Johannes Berg <johannes.berg@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
index 33729870ad8a..b3371872895c 100644
--- a/net/mac80211/ht.c
+++ b/net/mac80211/ht.c
@@ -271,6 +271,7 @@ bool ieee80211_ht_cap_ie_to_sta_ht_cap(struct ieee80211_sub_if_data *sdata,
 	case NL80211_CHAN_WIDTH_80:
 	case NL80211_CHAN_WIDTH_80P80:
 	case NL80211_CHAN_WIDTH_160:
+	case NL80211_CHAN_WIDTH_320:
 		bw = ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ?
 				IEEE80211_STA_RX_BW_40 : IEEE80211_STA_RX_BW_20;
 		break;




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux