On Tue, Feb 23, 2016 at 3:46 PM, Ben Greear <greearb@xxxxxxxxxxxxxxx> wrote: > > > On 02/23/2016 02:47 AM, Arik Nemtsov wrote: >> >> On Tue, Feb 23, 2016 at 12:42 AM, <greearb@xxxxxxxxxxxxxxx> wrote: >>> >>> >>> From: Ben Greear <greearb@xxxxxxxxxxxxxxx> >>> >>> ath10k supports VHT on 2.4Ghz band. >>> If supplicant and hostapd and radio think >>> VHT should be allowed, then kernel should let them >>> try. >> >> >> Removing the 80Mhz check entirely is not the right way to go IMO. The >> check is there because there are countries where VHT rates are not >> allowed, even on 20MHz channels. We use the fact these countries have >> no 80MHz-allowed ranges as a crude regulatory hint to disable VHT >> entirely. I'm not sure about the regulatory landscape in these >> countries regarding VHT in 2.4GHz, but please don't break compliance >> for the 5Ghz use-case. > > > Maybe someone can fix the regulatory logic then? > > Add a no-vht flag or whatever? This is more tricky that it looks at first - basically current regulatory "hooks" concern channel width and location, transmit power etc. Here regulatory compliance means never emitting the VHT IE in probe requests etc. So a "no vht" flag would be useless to the reg.c code - it currently never looks at IEs. Some cards even generate them at the FW level. All in all I think the current small bit of ugliness is justified for regulatory compliance. Also it's pretty easy to just leave the code there and condition the check on the 5GHz band. There's no need to remove it. > > Any idea which countries this applies to? I know Russia is one such country. Not sure about others. Arik -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html