Search Linux Wireless

Re: [PATCH 14/20] wlcore: restore default channel configuration

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

 



On Wed, 2012-11-28 at 07:35 +0200, Luciano Coelho wrote:
> On Tue, 2012-11-27 at 23:32 +0200, Arik Nemtsov wrote:
> > I'm also not sure that having cfg80211 change a structure allocated
> > and owned by the driver is the cleanest solution for the regulatory
> > stuff.
> 
> Yeah, but it has always been like that.  I think the idea is probably
> the same: to avoid duplicate arrays.  But if cfg80211 modifies it, it
> should be able to reset it back to the original as well.  Or the driver
> must alloc a new one each time.
> 
> I wonder what the other drivers do...

I had a quick look and it seems that iwlwifi has the channels struct in
eeprom, so it needs a copy anyway; ath9k seems to make a copy of the
struct before passing it to cfg80211; and ath5k seems to auto-generate
the list using different sources as input.

--
Luca.

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