* [PATCH] wifi: mac80211: Handle 320Mhz in ieee80211_ht_cap_ie_to_sta_ht_cap
@ 2023-11-09 18:22 greearb
2023-11-10 0:06 ` Jeff Johnson
0 siblings, 1 reply; 2+ messages in thread
From: greearb @ 2023-11-09 18:22 UTC (permalink / raw)
To: linux-wireless; +Cc: Ben Greear
From: Ben Greear <greearb@candelatech.com>
I saw a splat in the switch statement, I think because 320Mhz was
not specified..
Signed-off-by: Ben Greear <greearb@candelatech.com>
---
net/mac80211/ht.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
index 68cea2685224..749f4ecab990 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;
--
2.41.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] wifi: mac80211: Handle 320Mhz in ieee80211_ht_cap_ie_to_sta_ht_cap
2023-11-09 18:22 [PATCH] wifi: mac80211: Handle 320Mhz in ieee80211_ht_cap_ie_to_sta_ht_cap greearb
@ 2023-11-10 0:06 ` Jeff Johnson
0 siblings, 0 replies; 2+ messages in thread
From: Jeff Johnson @ 2023-11-10 0:06 UTC (permalink / raw)
To: greearb, linux-wireless
On 11/9/2023 10:22 AM, greearb@candelatech.com wrote:
> From: Ben Greear <greearb@candelatech.com>
>
> I saw a splat in the switch statement, I think because 320Mhz was
nit: s/Mhz/MHz/
> not specified..
>
> Signed-off-by: Ben Greear <greearb@candelatech.com>
> ---
> net/mac80211/ht.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/net/mac80211/ht.c b/net/mac80211/ht.c
> index 68cea2685224..749f4ecab990 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;
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-11-10 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-09 18:22 [PATCH] wifi: mac80211: Handle 320Mhz in ieee80211_ht_cap_ie_to_sta_ht_cap greearb
2023-11-10 0:06 ` Jeff Johnson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox