Search Linux Wireless

Re: [PATCH] cfg80211: reg: get dfs region only from cfg80211_regd

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

 



On Fri, May 9, 2014 at 4:23 AM, Janusz Dziedzic
<janusz.dziedzic@xxxxxxxxx> wrote:
> Scenario:
> 1) Driver register regd as "US"
> 2) cfg80211 set wiphy_regd->dfs_region = FCC
> 3) now I change country to FR
> 4) cfg80211_regd->dfs_region == ETSI
>    wiphy_regd->dfs_region == FCC
> 6) start CAC (this call get_dfs_region)
> 5) next get warning
> device specific dfs_region (FCC) disagrees with cfg80211's central dfs_region (ETSI)
>
> Seems checking wiphy_regd->dfs_region is not required, while
> there is no way to register more than one dfs_region from
> the driver when registering regd.
>
> With patch:
> cfg80211: allow restricting supported dfs regions
> driver will supported dfs regions using bitmap.
> This seems like a more correct approach.

Can you verify if we are not allowing combination of DFS wiphys to be
registered then, because it would be pointless to let a wiphy go up as
a master device if we have the use the central regulatory domain for
DFS and share it. If such checks are not in place your patch
implicates we need it.

 Luis
--
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