Re: [PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

From: Johannes Berg
Date: Wed May 27 2020 - 03:54:27 EST


On Tue, 2020-05-26 at 08:36 -0300, Ramon Fontes wrote:
> > Not sure this is enough? How about wmediumd, for example?
>
> It works with wmediumd too. At least I was able to enable 5 / 10MHz
> via iw with 5.9GHz

Yeah, but wmediumd won't know that it's not 20 MHz, I guess :-)

> > And also, 5/10 MHz has many more channels inbetween the normal ones, no?
> > Shouldn't those also be added?
>
> Tested with 5855MHz - 5925MHz

Yeah, but which channels? I believe with 10 MHz you can also use channel
175, for example, which doesn't exist in 20 MHz channelization.

Anyway, I've applied it now, we can fix more later.

johannes