Re: [PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

2020-05-27 Thread Ramon Fontes
> Yeah, but wmediumd won't know that it's not 20 MHz, I guess :-) Yes, I know. You're right! I hope advances in wmediumd in this regard :). > 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. I'm doing some

Re: [PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

2020-05-27 Thread Johannes Berg
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

Re: [PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

2020-05-26 Thread Ramon Fontes
> 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 > And also, 5/10 MHz has many more channels inbetween the normal ones, no? > Shouldn't those also be added? Tested with 5855MHz - 5925MHz -- Ramon

Re: [PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

2020-05-25 Thread Johannes Berg
On Fri, 2020-05-15 at 13:46 -0300, Ramon Fontes wrote: > Signed-off-by: Ramon Fontes > --- > drivers/net/wireless/mac80211_hwsim.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/net/wireless/mac80211_hwsim.c > b/drivers/net/wireless/mac80211_hwsim.c > index 0528d4cb4..67f97ac3

[PATCH] mac80211_hwsim: report the WIPHY_FLAG_SUPPORTS_5_10_MHZ capability

2020-05-15 Thread Ramon Fontes
Signed-off-by: Ramon Fontes --- drivers/net/wireless/mac80211_hwsim.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 0528d4cb4..67f97ac36 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/