Search Linux Wireless

Re: [RFC 3/8] cfg80211: pass DFS region to drivers through reg_notifier()

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

 



On Fri, Dec 17, 2010 at 1:50 AM, Johannes Berg
<johannes@xxxxxxxxxxxxxxxx> wrote:
> On Thu, 2010-12-16 at 19:23 -0800, Luis R. Rodriguez wrote:
>
>> Â Â Â /* Lets us get back the wiphy on the callback */
>> Â Â Â int (*reg_notifier)(struct wiphy *wiphy,
>> - Â Â Â Â Â Â Â Â Â Â Â Â struct regulatory_request *request);
>> + Â Â Â Â Â Â Â Â Â Â Â Â struct regulatory_request *request,
>> + Â Â Â Â Â Â Â Â Â Â Â Â u8 dfs_region);
>
> So does that mean we need to implement a reg_notifier if we want to have
> radar detection? Doesn't an empty reg_notifier already alter behaviour

An empty reg_notifier() should not do anything. Its either through the
reg_notifier() or we add a new callback specifically for DFS. A new
callback may give more flexibility later if we want to pass up more
data.

  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 Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux