Search Linux Wireless

Re: [PATCH wireless-next] wifi: mac80211: reject VHT opmode for unsupported channel widths

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

 



On Thu, 2025-07-03 at 02:02 -0700, Moonhee Lee wrote:
> Hi Nicolas,
> 
> On Thu, Jul 3, 2025 at 1:12 AM Nicolas Escande <nico.escande@xxxxxxxxx> wrote:
> 
> > Is this really specific for VHT ? or for HE /EHT as well ?
> > 
> > > +             switch (width) {
> > > +             case NL80211_CHAN_WIDTH_20_NOHT:
> > Because this seems weird for VHT
> > > +             case NL80211_CHAN_WIDTH_320:
> > And this did not exist for VHT either

Yes, but see below.

> 
> Thanks for the feedback. The intention was to handle VHT opmode notifications,
> as noted in the commit message, but the check incorrectly included widths that
> are not valid for VHT, such as 20_NOHT and 320. I will update v2 to reject any
> invalid widths, not just 5 or 10 MHz, and restrict the check to the valid set
> for VHT: 20, 40, 80, 160, and 80+80.

I'm not entirely sure that'd be correct. 320 MHz can only be used on the
6 GHz band, so clients must be at least HE, but I'm not sure that VHT
opmode notification frames are completely illegal for them, even if
they'd like use OMI instead.

How did syzbot even manage to get a 10 MHz thing running though?

johannes





[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux