Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5103418rdb; Sat, 30 Dec 2023 06:10:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IF0U4q6wVE0ko7jv14yK7ntkM2k9R+T/mEZLGjJYWCNGyelWl0YMmJlk2OIDb2FFDilHcxR X-Received: by 2002:a05:6808:4444:b0:3bb:c6c4:6a0d with SMTP id ep4-20020a056808444400b003bbc6c46a0dmr6805684oib.107.1703945437629; Sat, 30 Dec 2023 06:10:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703945437; cv=none; d=google.com; s=arc-20160816; b=XCAxeCiOgwsKVw3yhaLatisRIhsSx1ZeutJRIjLG0yYkvIOsIPccBfa1NHoEUqk6C1 nHVZBX76q3XzAC3Y0wjj1KiR6iWkSCt4kFS1/UB6V629VgsfrkfD5Y6kdYUNVsViPnF/ EX6uU5mx9FMz2+fNwcRh/Yh/E9QXxt3Fny0xnU4sdf9SqBFkyAX72Pj7XTRtMm2IDRZN CStXfxv2XAG1DInQhiT1DisIGbyysvrq/HGc3lNQX/9SgKtLxeG3YTNUQ7qsx/I2TKfc HrzTK3CHi7PCDTh5K49O4YvY0SoTuGXU6BcbqgiHOKpEtnAiqX/tGSIhs+JPrdawkVZH CeOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date; bh=6ImAyS2zbJuym9aN3kFvj054RYeAXI2bukOmEhQxxqY=; fh=2EwqThPb32LbkqKHfFFWEbL1BKanV0QLVPI+UmXfoO4=; b=nZzbNy71rChhfQ6fmcSKHVsd/4q0onVgMb0Lh5dTsV4tDgWIoz4ys5339ccIP8NVFB m56PPRxnkA2REhhCrrhwHhjV7M+aLLZv3qwlVS0eqJi1Tl+7IlMI2W8uOe566K3yyr0N BwRGVTyrozq4RbAi1UzoUlgrPKvQTcsa9wwlbRMo105hryQ3kl78O1DaAaMVQvaY4DS1 DzbYAbl2lSmqrhGbLqVE/MpyYpXZAwpHj9N9WkfeFEdoqFBZYx0CH8mdnTjCR1Aa7lTN RyoRZNy40eaWpbi+d1O7uQmRM9vHZ+82IfvKf5yg1J4AD0GKYd1iAbtYkm/BxwORXwVv 9J/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1346-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id jh10-20020a056102184a00b00466f9215e5bsi1534648vsb.286.2023.12.30.06.10.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 06:10:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless+bounces-1346-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1346-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 8D5D71C209EC for ; Sat, 30 Dec 2023 14:10:36 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 02B788C0B; Sat, 30 Dec 2023 14:10:32 +0000 (UTC) X-Original-To: linux-wireless@vger.kernel.org Received: from bues.ch (bues.ch [80.190.117.144]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF3508BED; Sat, 30 Dec 2023 14:10:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bues.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bues.ch Received: by bues.ch with esmtpsa (Exim 4.96) (envelope-from ) id 1rJZVD-000B92-1i; Sat, 30 Dec 2023 14:35:46 +0100 Date: Sat, 30 Dec 2023 14:34:55 +0100 From: Michael =?UTF-8?B?QsO8c2No?= To: Rahul Rameshbabu Cc: Kalle Valo , linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH wireless 1/5] wifi: b43: Correct OpenFW QoS capability warning conditional Message-ID: <20231230143455.4d64ffc7@barney> In-Reply-To: <20231230045105.91351-2-sergeantsagara@protonmail.com> References: <20231230045105.91351-1-sergeantsagara@protonmail.com> <20231230045105.91351-2-sergeantsagara@protonmail.com> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.39; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/DPVM1GyukumrzwBTrXX/GYf"; protocol="application/pgp-signature"; micalg=pgp-sha512 --Sig_/DPVM1GyukumrzwBTrXX/GYf Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 30 Dec 2023 04:51:29 +0000 Rahul Rameshbabu wrote: > Trigger the warning message should be when the OpenFW capability for QoS > does not advertise QoS support. Previously, the warning would be > incorrectly triggered when OpenFW reported QoS capability is present. > --- a/drivers/net/wireless/broadcom/b43/main.c > +++ b/drivers/net/wireless/broadcom/b43/main.c > @@ -2713,7 +2713,7 @@ static int b43_upload_microcode(struct b43_wldev *d= ev) > dev->hwcrypto_enabled =3D false; > } > /* adding QoS support should use an offline discovery mechanism */ > - WARN(fwcapa & B43_FWCAPA_QOS, "QoS in OpenFW not supported\n"); > + WARN(!(fwcapa & B43_FWCAPA_QOS), "QoS in OpenFW not supported\n"); > } else { > b43info(dev->wl, "Loading firmware version %u.%u " > "(20%.2i-%.2i-%.2i %.2i:%.2i:%.2i)\n", I don't think this patch is correct. It should warn, if the firmware advertises QoS, because that is not supported by b43 in case of OpenFW. --=20 Michael B=C3=BCsch https://bues.ch/ --Sig_/DPVM1GyukumrzwBTrXX/GYf Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAmWQHH8ACgkQ9TK+HZCN iw76ZxAAurASq9nsjCyeOlHYgd0pN/3LqmEX3OSxwMsOry8MP3yjmQk5xRT/mfSL SeU4V6KqkvH3tBpHRkHhua8X3TkDRqKv2e0YvjOOAUpPm5U0qlWzdZhHQNyypum4 uAYLTUHL325m5k91mlnmC70wRrKn/GLrCewOCTdJa1g5+TUIq6Xx1J266GK2nmRl 1DTIsBoz8R9wLE5vk3UiIS3WFudddofd2A+Fwpqe601sX5CNKBlL2Leis0oZcLBR xZ+H1f07AslPR9BR47wyohMdPXOGpyo1HloG6IeCgqp1l149mQVLlvNuw20uRGjN JGe37rp22nc8n8qudMIobZT8+IeW2/8JRYBSeQ3eft+43c5pySkQcMEOPRhb4mLH 1CC3BYeeGoe40eCiJOVrdf1jGLtRsv8wCYUCsZ/T8jAHziKZ1dObyxTG/10JBtDi 2JuiWSHxsEFaKkbjbq5B0nsorb29YpuEQya7IYyHy7dixtP3mMdB3F4g//qHZb1S i9YgtI0mcUaSE/0ahR4pRnbScyJV54uJfa+L9xHRTEpbp3y8toeVWcRncAOoPTQ+ x7pcqkOVQESjYfqmUfmab1zo/roXw9yN226THi5aQEv3S+uU7OpZffLOI5YkDV/a TyOZKf75WIzDkUydwVPEqf+3J54T8tdYMZKaan4mMeF0VlA/bro= =mRQS -----END PGP SIGNATURE----- --Sig_/DPVM1GyukumrzwBTrXX/GYf--