Search Linux Wireless

Re: [PATCH] cfg80211: adapt to new channelization of the 6GHz band

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

 



On Fri, 2020-05-29 at 10:16 +0200, Arend Van Spriel wrote:
> The 6GHz band does not have regulatory approval yet, but things are
> moving forward. However, that has led to a change in the channelization
> of the 6GHz band which has been accepted in the 11ax specification.
> 
>   	case NL80211_BAND_6GHZ:
> -		/* see 802.11ax D4.1 27.3.22.2 */
> +		/* see 802.11ax D6.1 27.3.23.2 */
> +		if (chan == 2)
> +			return MHZ_TO_KHZ(5935);

I think Jouni said this was operating class 136?

> +	/* 6GHz, channels 1..233 */
> +	if (freq >= 5935 && freq <= 7115) {
> +		switch (chandef->width) {
> +		case NL80211_CHAN_WIDTH_20:
> +			*op_class = 131;
> +			break;
> +		case NL80211_CHAN_WIDTH_40:
> +			*op_class = 132;
> +			break;
> +		case NL80211_CHAN_WIDTH_80:
> +			*op_class = 133;
> +			break;
> +		case NL80211_CHAN_WIDTH_160:
> +			*op_class = 134;
> +			break;
> +		case NL80211_CHAN_WIDTH_80P80:
> +			*op_class = 135;
> +			break;
> +		case NL80211_CHAN_WIDTH_5:
> +		case NL80211_CHAN_WIDTH_10:
> +		case NL80211_CHAN_WIDTH_20_NOHT:
> +		default:
> +			return false;
> +		}

If so, isn't that missing here?

johannes




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Wireless Regulations]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux