From owner-freebsd-wireless@freebsd.org Fri Apr 2 20:41:08 2021 Return-Path: Delivered-To: freebsd-wireless@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0B3265B13C8; Fri, 2 Apr 2021 20:41:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FBsQW0M5cz3sxN; Fri, 2 Apr 2021 20:41:06 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:31::2013:587]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id 8C79C8D4A218; Fri, 2 Apr 2021 20:40:58 +0000 (UTC) Received: from content-filter.sbone.de (content-filter.sbone.de [IPv6:fde9:577b:c1a9:31::2013:2742]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id C0ECFE7080F; Fri, 2 Apr 2021 20:40:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:31::2013:587]) by content-filter.sbone.de (content-filter.sbone.de [fde9:577b:c1a9:31::2013:2742]) (amavisd-new, port 10024) with ESMTP id Xu6YeT74xRCX; Fri, 2 Apr 2021 20:40:56 +0000 (UTC) Received: from [169.254.73.94] (unknown [IPv6:fde9:577b:c1a9:4902:75c7:626d:d427:5013]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id D9C76E7080C; Fri, 2 Apr 2021 20:40:55 +0000 (UTC) From: "Bjoern A. Zeeb" To: "Adrian Chadd" Cc: qcwap <1051244836@qq.com>, freebsd-wireless , freebsd-current Subject: Re: Correct net80211 channel flag. Date: Fri, 02 Apr 2021 20:40:54 +0000 X-Mailer: MailMate (2.0BETAr6151) Message-ID: <1CD45BDA-FA62-4010-AE71-60AAF7B3E8F1@lists.zabbadoz.net> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4FBsQW0M5cz3sxN X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net X-Spamd-Result: default: False [-3.30 / 15.00]; RCVD_TLS_LAST(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_FIVE(0.00)[5]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[zabbadoz.net]; ARC_NA(0.00)[]; SPAMHAUS_ZRD(0.00)[195.201.62.131:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RBL_DBL_DONT_QUERY_IPS(0.00)[195.201.62.131:from]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; FREEMAIL_CC(0.00)[qq.com,freebsd.org]; MAILMAN_DEST(0.00)[freebsd-current,freebsd-wireless] X-BeenThere: freebsd-wireless@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: "Discussions of 802.11 stack, tools device driver development." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2021 20:41:08 -0000 On 2 Apr 2021, at 6:44, Adrian Chadd wrote: > I've got this in my local tree now. That’s not a good idea? > I have a note to go dig up which > draft I yanked this from and update it with reference to the draft and > the current spec. > > Thanks for pointing this out! Aehm, am I missing something but I believe everywhere we use these values we do properly apply a maskshift apart from ieee80211_vht_get_vhtcap_ie() where we apply a shiftmask when setting them again after doing the logic checks so changing them will do us no good at all or am I looking at the wrong tree? /bz