From nobody Mon Jan 17 00:34:10 2022 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id E646019756DC; Mon, 17 Jan 2022 00:34:14 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JcXw660G9z4pyV; Mon, 17 Jan 2022 00:34:14 +0000 (UTC) (envelope-from bz@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642379654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YBs/UmPl5FQq9Scq6HolxzSMCtVG5hzWbM6OUjo/pyc=; b=eFeuhebzN6zFIu/7Wep/5+G7F6fw3UvM+TaHrHOkty8eEQOETs7tfgI8+CFF0nsJFBO1uI Ju2TrursyqjhhfTXStjYN8A05jSMgQDvod/rIn7T6TAEpTvZrQJOOZB9S8YR4rsM/V416y YitSSfauxu21qI8lEteHrvvHeFMCvH9bEHK6GE3jvl/itcndRWA2GieE86v04gODymezLZ NSSs8H2vEXWM8WUAT7WouBpxLvFwNEoY+qANAGoCK8L7FOf6//I04H8qAZJ+9IGEaZzT65 +H9hEk3TRjbVKtqKU/+HuiBOVigZfRhuf0IUqXHz7wTxP/QKnm/LRND3s9zs+g== 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)) (Authenticated sender: bz/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 951EB589E; Mon, 17 Jan 2022 00:34:14 +0000 (UTC) (envelope-from bz@FreeBSD.org) 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 975088D4A162; Mon, 17 Jan 2022 00:34:13 +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 1A9CFE7082F; Mon, 17 Jan 2022 00:34:13 +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 Yitt9fGkpz6s; Mon, 17 Jan 2022 00:34:11 +0000 (UTC) Received: from nv.sbone.de (nv.sbone.de [IPv6:fde9:577b:c1a9:31::2013:138]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 8B2A9E7082D; Mon, 17 Jan 2022 00:34:11 +0000 (UTC) Date: Mon, 17 Jan 2022 00:34:10 +0000 (UTC) From: "Bjoern A. Zeeb" To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: d7ce88aafc87 - main - LinuxKPI: 802.11 correct enum ieee80211_channel_flags In-Reply-To: <202201162231.20GMVCwL084037@gitrepo.freebsd.org> Message-ID: References: <202201162231.20GMVCwL084037@gitrepo.freebsd.org> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642379654; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=YBs/UmPl5FQq9Scq6HolxzSMCtVG5hzWbM6OUjo/pyc=; b=F23Tj13O83k1VMepguCELegx9DSEyqTcaO6B6lrMLqlGtx/5AU93ZF6yaUB0g8/ht2iEEX fQLJEtE7F4nq4lOIbBDo88vMYluUAdMInzn2s23DHikcCMealDOjllxUawAWwIAFfMSyEo veTS3Hyp9uNqTprTJut/x+JaRMk6htZv953Y1Thtjpu7cDKbWltF7rT8q3N4ciwvzfhCrF nySxhp780XyRTTW9wX3FPbJ6f3fDYiyza6nCnMdQHBNg8Z1/pOF8rqTkwctzIQ1QJcNJvl ulueIG0XSaqPYY6Pu3U9O0zckGNpKYD1bG8HdtXttiNV0IiI2c3UwdUEZEurtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642379654; a=rsa-sha256; cv=none; b=UaX6z0gzZ6OWySN8/7OG4yXNknXMxfzKNslqv8da5u6nqmGu85+v3Wxg/2c8WDYDNLrBKG 0MxQPzLZOsq6reLAxupppGDJwa6nzLrbYhCXkxe+axpIgPw81exeBWG2D65CsoN9Y5FeW3 rF8ZkVsRkUPxQEkXSMemzI+THkTnf0EveYfEF/bBCSTQbMXfkGoBg3Gxf9f6AU4AAg1/kD X8zWhNQBUw3+aETxbV1CNcv58jvEd65Q0VDBjDnEWYrGKwGEC22y/BKi0kgcKFP098QjL3 lQTBUf+MIfN0TY42Oc9Da7zr4GtcOZPgOR2odWxnwf5NWykVLuFfUwFLArBSiw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Sun, 16 Jan 2022, Bjoern A. Zeeb wrote: > The branch main has been updated by bz: > > URL: https://cgit.FreeBSD.org/src/commit/?id=d7ce88aafc870944d5eda477b125478f56844f81 > > commit d7ce88aafc870944d5eda477b125478f56844f81 > Author: Bjoern A. Zeeb > AuthorDate: 2022-01-16 22:22:23 +0000 > Commit: Bjoern A. Zeeb > CommitDate: 2022-01-16 22:30:38 +0000 > > LinuxKPI: 802.11 correct enum ieee80211_channel_flags > > enum ieee80211_channel_flags are used as bit fields and not as 1..n. > Correct the values using BIT(n). > > This is also hoped to fix problems with 7260 cards which come up and > panic due to an empty channel list as all channels are set disabled [1]. And just for the records, Mike confirmed that it helped for him with the change applied to stable/13. > It will hopefully also fix the one or other oddity. > > Reported by: ambrisko, Mike Tancsa (mike sentex.net) [1] > Sponsored by: The FreeBSD Foundation > MFC after: 3 days > --- > sys/compat/linuxkpi/common/include/net/cfg80211.h | 18 +++++++++--------- > 1 file changed, 9 insertions(+), 9 deletions(-) -- Bjoern A. Zeeb r15:7