Search Linux Wireless

Re: [PATCH 08/13] cfg80211: save original values on regulatory hints

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

 



On Sun, Jan 18, 2009 at 09:12:05AM -0800, Johannes Berg wrote:
> On Sun, 2009-01-18 at 07:28 -0800, Luis R. Rodriguez wrote:
> 
> > Are you suggesting we consider new API for drivers which want the
> > behaviour we want? That works for me too, but then again I'd be applying
> > the save orig_* stuff perhaps at the end of this new, say,
> > regulatory_hint_strict().
> 
> Well, I was more thinking to have a 
> struct regdomain *cfg80211_ask_crda(const char *alpha2);
> 
> but I realise that is very hard to implement with the call to userspace
> etc. So yeah, doing something like the _strict you propose seems more
> appropriate. Maybe call it something else, not _hint,and have it call
> out to userspace regardless (i.e. don't ever ignore that hint, as we
> might ignore other hints), say regulatory_apply(wiphy, alpha2)? Not
> sure, apply seems not quite right either.

I'd definitely would prefer if cfg80211 handled this instead of the drivers
through the reg_notifier(), will go back and try to do that and see if I
can come up with a decent name to indicate what we are doing.

  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