- To: Mahesh Palivela <maheshp@xxxxxxxxxxx>
- Subject: Re: [PATCH] cfg80211: 80MHz (11ac) regulatory change
- From: Kalle Valo <kvalo@xxxxxxxxxx>
- Date: Tue, 24 Jul 2012 10:12:16 +0300
- Cc: "linville\@tuxdriver.com" <linville@xxxxxxxxxxxxx>, "linux-wireless\@vger.kernel.org" <linux-wireless@xxxxxxxxxxxxxxx>, "johannes\@sipsolutions.net" <johannes@xxxxxxxxxxxxxxxx>
- In-reply-to: <952C5D5D0470AE4FB7D8A75C6ADC71CA0FCC5E3B@mbx022-e1-nj-10.exch022.domain.local> (Mahesh Palivela's message of "Mon, 23 Jul 2012 09:17:40 +0000")
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Mahesh Palivela <maheshp@xxxxxxxxxxx> writes:
> 80MHz Regulatory changes for 11ac.
>
> Signed-off-by: Mahesh Palivela <maheshp@xxxxxxxxxxx>
[...]
> +static bool is_vht80_not_allowed(struct ieee80211_channel *chan)
> +{
> + if (!chan)
> + return true;
> + if (chan->flags & IEEE80211_CHAN_DISABLED)
> + return true;
> + /* This would happen when regulatory rules disallow VHT80 completely */
> + if (IEEE80211_CHAN_NO_VHT80 == (chan->flags & (IEEE80211_CHAN_NO_VHT80)))
> + return true;
> + return false;
> +}
I think it's better to change this to is_vht80_allowed(). The
not_allowed might trick someone.
--
Kalle Valo
--
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
[Linux Kernel]
[Linux Bluetooth]
[Linux Netdev]
[Kernel Newbies]
[Share Photos]
[IDE]
[Security]
[Git]
[Netfilter]
[Bugtraq]
[Photo]
[Yosemite]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Linux ATA RAID]
[Samba]
[Video 4 Linux]
[Device Mapper]
[Linux Resources]
[Free Dating]
[M2M Wireless]