Search Linux Wireless

Re: [RFC PATCH 6/8] nl80211: Support for 5/10 MHz channels when reporting BW restrictions

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

 



On Fri, 2014-03-07 at 14:37 +0100, Rostislav Lisovy wrote:

> +		if ((chan->flags & IEEE80211_CHAN_NO_20MHZ) &&
> +		    nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_20MHZ))
> +			goto nla_put_failure;
> +		if ((chan->flags & IEEE80211_CHAN_NO_10MHZ) &&
> +		    nla_put_flag(msg, NL80211_FREQUENCY_ATTR_NO_10MHZ))
> +			goto nla_put_failure;

This is the part of the code that I was referring to before, you should
skip these channels if (!large) to not break older tools with too much
data.

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