Re: [PATCH v4] cfg80211: regulatory introduce maximum bandwidth calculation
From: Janusz Dziedzic <hidden>
Date: 2014-02-20 07:25:31
From: Janusz Dziedzic <hidden>
Date: 2014-02-20 07:25:31
On 20 February 2014 08:08, Johannes Berg [off-list ref] wrote:
On Thu, 2014-02-20 at 07:07 +0100, Janusz Dziedzic wrote:quoted
quoted
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.quoted
Old-kernel + new wireless-regdb + new crda. In case of AUTO we will not set NL80211_ATTR_FREQ_RANGE_MAX_BW we will get -EINVALThat 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