Search Linux Wireless

Re: [PATCH] nl80211: Don't add empty bands or disabled channels in NL80211_CMD_GET_WIPHY

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

 



On Tue, 2013-02-12 at 18:00 +0100, Dennis H Jensen wrote:
> This patch resolves issues where the driver reports too many channels
> for them all to fit in one netlink message, as long as some are
> disabled, and makes it possible to use non-standard channels and
> customized regulatory databases.

I don't think this is a good idea -- the state of a channel being
"disabled" can change due to regulatory database, so it's useful to know
which channels are actually registered and disabled via regulatory and
which aren't even present at all.

Since you must be hacking the drivers anyway, you could just not
register those channels you're not using, right?

Maybe there'd be a way to allocate larger messages, but I suppose the
right fix would be to split up the dump in a way that it can support
arbitrarily many channels, which will also require userspace changes
though (and has to be done in a backward compatible way.)

johannes

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