Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1807017ybj; Sun, 22 Sep 2019 12:21:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqw+AiNK0PM+mkrs9VLMGMH0RD26EPfTvraZFqP1b4an9UXXqTyTlc5kKYKcPKhT8GIyrN4e X-Received: by 2002:a05:6402:128c:: with SMTP id w12mr26966819edv.158.1569180091289; Sun, 22 Sep 2019 12:21:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569180091; cv=none; d=google.com; s=arc-20160816; b=cd6lezQ0Ni+QTwTDnmFb5p13u/cXAldXk6mXRDLZDURt5+zFyAcXb9OCKJTB4PGz7I pRhY3gx/y2cT93LwEJ2slbgBXklNdE86nxcYxPG8Yn2K6P7q5WgXdijuudFNkXdgo9fI b6o/or4xahlTpG8Q8N8WoXp3f2oYlT5Bb7piIl46qBTC/51ygG41xfoVdaczgmfKMjkP gZxdZjKfQuuTJ0Mhv9QiCQC5clM/k6yvqH4lOtyaErM1SNHbBzfcbV01nYtQxoP5Mvph u8hs9TZkfc1yWnfkevr4FZ9Oszim2IZIET62+9YAThxy7Y71S6W4Oc0J5yXMOnc5l4va Hqow== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:references:cc:to:subject:from:dkim-signature; bh=OYg+GgK21c3ph+YkOlit6xhWBcBo2+QjQCwp/0iYbEo=; b=jG2gP3pFcheNRwYACIyS9GMOwpUhRO7Xa1574LL5XVvg36WSynI9CzQKCLDYjd7zPq n2G8rdS4NzwQngs1zYmok8BaT+OxX+E7puboj0KlIXqKNx+o6PFZnVBGzyNNqxXWfDrS 4SStvIOvJ1aS2olDXHFLmIO70VHvxonT3pFTttPqub4B0P9DcfkB3c2HWrt/77SLwhVb qRrt6McSpeCIF2dk/P606EMzUHgqu/6ZTcMDE6cleqBIjncg+SxCGfYpjKiby1y5tr+i 3etrKnN3Kc1rpkV4W6+XjLLs0tjwZXd64UoMRsLGagUGCaN65d2I4XQXZOwNupeUf/vE S41g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Zrw+sKSz; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14si5491201edq.167.2019.09.22.12.21.06; Sun, 22 Sep 2019 12:21:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=google header.b=Zrw+sKSz; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732285AbfIUStw (ORCPT + 99 others); Sat, 21 Sep 2019 14:49:52 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:38351 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732266AbfIUStv (ORCPT ); Sat, 21 Sep 2019 14:49:51 -0400 Received: by mail-ed1-f65.google.com with SMTP id l21so4434795edr.5 for ; Sat, 21 Sep 2019 11:49:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=OYg+GgK21c3ph+YkOlit6xhWBcBo2+QjQCwp/0iYbEo=; b=Zrw+sKSzaBihHwT5BrfWKEHian998wodFrV9nk+Sfu72GA/KAwI+F4rG6DkuQwqzRo tLQt1b3JoO2mmZyqZKnyAamqFZLLZRVA4XA2sGyxHCXzjbTO0XaNKyL+fE//PUaEuvbY tItSeq3VmPP2f7jQ8wDvTo9wQxvV7K/RWWHKQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OYg+GgK21c3ph+YkOlit6xhWBcBo2+QjQCwp/0iYbEo=; b=PHOKPsoU4pu4NhYWCdxRxmyc+i4XOGI3ftLOp5aLU6ktP/nPniWYYlsJuHr//kLg4l Q48XLv/dvzQWIwURcCXT3puJvr6Bbtd0HWURQSmXMNr7sKfLP1j9JP34AL6S4QyNlBHz dVtMrHHtN+8CN5rdftr4IJoIWaLaf86BfKCoLPxWLJKQQP3YXHIP9y2+xr3FbgYuUL43 vycBkEZlea47w1thGpONviorU/oxA9TONSExcnq3i8L617F2qH9+Ch1POyvZ7zOdQ57p cMpR84IsFcELJDZT7EvY2+96ubXBhXVZhUNQUod+CJ20GFmiVWSMMvtibbNjoCUDVKfo ThnQ== X-Gm-Message-State: APjAAAWBp5kw9JsxhEhcDNFpBjUt/GGdk3BBs9nlSRMzKxLIt0b5xVIf U5ENENJPFXINuJfvs7K71+8AsUIoM99HJtZsaqz/L1nqjb86H7dH0mZ9Q2Zj9+g5oUwKzv1YoMj iHL15um2+uoL/0HfHETKzKLLIgB8x4otlAwqCFC/XrfcCUWgZ6/w15PVjVvIC95nvNXc6EtSCj/ AJZE5TnyeC2u5zOg== X-Received: by 2002:a50:8a21:: with SMTP id i30mr14131270edi.229.1569091789683; Sat, 21 Sep 2019 11:49:49 -0700 (PDT) Received: from [192.168.178.129] (f140230.upc-f.chello.nl. [80.56.140.230]) by smtp.gmail.com with ESMTPSA id a3sm405811edk.51.2019.09.21.11.49.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 21 Sep 2019 11:49:49 -0700 (PDT) From: Arend Van Spriel Subject: Re: [PATCH V3 0/8] nl80211: add 6GHz band support To: Jeff Johnson Cc: asinghal@codeaurora.org, linux-wireless References: <1564745465-21234-1-git-send-email-arend.vanspriel@broadcom.com> Message-ID: Date: Sat, 21 Sep 2019 20:49:49 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org + linux-wireless On September 19, 2019 8:25:57 PM Jeff Johnson wrote: > On 2019-08-02 04:30, Arend van Spriel wrote: >> Changing to formal patch series instead of RFC. >> >> >> In 802.11ax D4.0 a new band has been proposed. This series contains >> changes to cfg80211 for supporting this band. With 2GHz and 5GHz there >> was no overlap in channel number. However, this new band has channel >> numbers with a range from 1 up to 253. The only place I could find an >> issue with this is in cfg80211_wext_freq(). Not sure how to deal with >> that so it is not part of this series. >> >> >> The series applies to the master branch of the mac80211-next >> repository. >> >> >> Arend van Spriel (8): >> nl80211: add 6GHz band definition to enum nl80211_band >> cfg80211: add 6GHz UNII band definitions >> cfg80211: util: add 6GHz channel to freq conversion and vice versa >> cfg80211: extend ieee80211_operating_class_to_band() for 6GHz >> cfg80211: add 6GHz in code handling array with NUM_NL80211_BANDS >> entries >> cfg80211: use same IR permissive rules for 6GHz band >> cfg80211: ibss: use 11a mandatory rates for 6GHz band operation >> cfg80211: apply same mandatory rate flags for 5GHz and 6GHz >> >> >> include/uapi/linux/nl80211.h | 2 ++ >> net/mac80211/tx.c | 1 + >> net/wireless/chan.c | 3 ++- >> net/wireless/ibss.c | 16 +++++++++++----- >> net/wireless/nl80211.c | 1 + >> net/wireless/reg.c | 21 +++++++++++++++++++-- >> net/wireless/trace.h | 3 ++- >> net/wireless/util.c | 14 +++++++++++++- >> 8 files changed, 51 insertions(+), 10 deletions(-) > > Curious how you are populating the wiphy->bands[6 GHz]. > If we don't set ht_cap.ht_supported and/or vht_cap.vht_supported then > cfg80211_chandef_usable() fails, but setting those flags on 6 GHz seems > broken. Hi Jeff, Good point. Actually, for 6GHz a couple of (v)ht capabilities are still applicable and exchanged using HE extended capabilities element. My idea was that these (v)ht capabilities would be reported to user-space same as for the other bands so that would imply those flags are also set for 6GHz. This may look odd as the statement "6G is HE only" applies, but still some (v)ht functionality is used in HE. Despite this it may be good to extend the cfg80211_chandef_usable() for HE in general and cover the 6G case as well. The intended driver implementation in brcmfmac is still being worked on so issues might arise. Regards, Arend