Search Linux Wireless

Re: [PATCH v4] cfg80211: regulatory introduce maximum bandwidth calculation

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

 



On 20 February 2014 08:08, Johannes Berg <johannes@xxxxxxxxxxxxxxxx> wrote:
> On Thu, 2014-02-20 at 07:07 +0100, Janusz Dziedzic wrote:
>
>> > What happens if an old kernel gets a new wireless-regdb with AUTO on
>> > all of its 5 GHz regdomain for the country it using ? I see no mention
>> > of this anywhere in the documentation and at least from the code
>> > review I just did it seemed like we'd use 0. I hope I'm wrong as
>> > otherwise that'd introduce a severe regression when this is introduced
>> > to wireless-regdb.
>
>> Old-kernel + new wireless-regdb + new crda.
>> In case of AUTO we will not set NL80211_ATTR_FREQ_RANGE_MAX_BW we will
>> get -EINVAL
>
> That seems like a problem.
>
So, we can always add NL80211_ATTR_FREQ_RANGE_MAX_BW set as 0 in crda.
Then all channels where BW=0 will be HT20 only for old kernel.

BR
Janusz
--
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




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

  Powered by Linux