Received: by 2002:a05:7412:b995:b0:f9:9502:5bb8 with SMTP id it21csp5382801rdb; Sat, 30 Dec 2023 21:03:59 -0800 (PST) X-Google-Smtp-Source: AGHT+IFYpo25bB3GuZTzuaSM7HnjeuV492KHUhPMja4Sr7Yoj+jkY2h5Jmdxh40qDLdc5GaBpKIR X-Received: by 2002:a05:622a:1041:b0:428:1bf4:cdae with SMTP id f1-20020a05622a104100b004281bf4cdaemr519932qte.132.1703999039403; Sat, 30 Dec 2023 21:03:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703999039; cv=none; d=google.com; s=arc-20160816; b=PA73xgAD/suXtNQHVYv18RNzYYHZJDmyQnBrytrj1AtRS3SC0yxccPMaXjVM7AcZ8E TWcAeaSBwv4gSb/Jq5o9X3cDHGECf9CESK4TSblgBESugx5wIYomLfDeOsh2h4lHBFQB oxuSEdzBHUEmo7J3PCHWotelLOBgC0zOK712gWWRMrkooUMVFm08Lqfcn2ASDQXIz3YA WBTG3DflfUYX3b5uOKbOqJOOcSwp8INyuFHEK6JNA9WsLANo3jOgbhs1qjrx0AibJSJm f6iL4Lm+UCEEwrn/x6pN9Ti+tY8TxFL3A5uv6Irvaa7YZRXz9HIz3upLmhGeq1fcbDhZ /RdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:feedback-id:message-id:subject:cc :from:to:date:dkim-signature; bh=QrNUfX8Rb1OX00fG4mbQo/eO3Y707VvS2aAOdZZ/lzQ=; fh=PsnbK8gZ4eZSiF/O9d5dpgr6CuL/1pz8cu0fjhqYkzQ=; b=OQyensYq4N94asBAL/eEUqIuISgju6+W4+KBu3YaTz+HLmRmpIdf2Tsz0TYqAosmV6 96Wi22RqqsYnHgH9Y6nKs0peDATG2pJv/KAcSXry2ijuJ0WYYl/nAP2dfYfJ6moIpJDk u7o5rgpoZefYzJNcG2FFyrS0SvnIyJyfmmRdrX+IwlhHfLouPqZuGDAq6FG8GimbRAXz vWLA/nGMdmhgOh7rq6yZe61KypmilgTfEr7dJ0HJ1NSHW0X49GZAvC/4ml2OIUqGksmh P1Dix5ZPPOq+8pdOGYNDn23NeyTmb8rJCANs7Mi4G+h2x4RpQ0egoCesTguPxLBw34KX NWEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=yMOHqcuL; spf=pass (google.com: domain of linux-wireless+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id t13-20020ac8588d000000b004254877622asi22472558qta.501.2023.12.30.21.03.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 30 Dec 2023 21:03:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1359-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; dkim=pass header.i=@protonmail.com header.s=protonmail3 header.b=yMOHqcuL; spf=pass (google.com: domain of linux-wireless+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1359-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=protonmail.com 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 185F41C214DB for ; Sun, 31 Dec 2023 05:03:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7C7BD17C2; Sun, 31 Dec 2023 05:03:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="yMOHqcuL" X-Original-To: linux-wireless@vger.kernel.org Received: from mail-4316.protonmail.ch (mail-4316.protonmail.ch [185.70.43.16]) (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 EB336138A for ; Sun, 31 Dec 2023 05:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1703999023; x=1704258223; bh=QrNUfX8Rb1OX00fG4mbQo/eO3Y707VvS2aAOdZZ/lzQ=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=yMOHqcuLGdg9TI29jGJ3y5pPcVC0kbKrn6FmEnZBmpzCoRVtwNbxkRP0iVn/U/l+U tyIVwr8r+yW1Csy2VOEfQktIfwNFDRs9rHxFCjpS37wEPSMiP6QJk/szkRPAvhCoUf Mv8D1LNUgVnrSZqO36lRNQgGcuY7kVPOggl5SIuBrYivULR7aa1MunmfWueJq/3jBe EVZ+sGA76TxJS24XjFOh7RgUbdm03OypkalkxGDqNWW5YCkBJuR36qX69dnhlDHh/9 l2vlxIKTyO45Ku+5lY9HfxT1dMTyu6u3eU7PGBKsrDs2+LltlIBk00RSHC5fc7gDcG pPZ5snfCb6jRQ== Date: Sun, 31 Dec 2023 05:03:27 +0000 To: Kalle Valo , Larry Finger , =?utf-8?Q?Michael_B=C3=BCsch?= , Julian Calaby From: Rahul Rameshbabu Cc: linux-wireless@vger.kernel.org, b43-dev@lists.infradead.org, linux-kernel@vger.kernel.org, Rahul Rameshbabu Subject: [PATCH wireless v2 0/4] wifi: b43: Various QoS-related fixes Message-ID: <20231231050300.122806-1-sergeantsagara@protonmail.com> Feedback-ID: 26003777:user:proton Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Recently acquired a MacBookPro8,3 (early 2011), which has a bcm4331 card. Noticed some issues with the wireless driver, specifically related to QoS, = when using this device. Out of the box, applications like ssh appear to not work with the device wh= en QoS is enabled. This series attempts to improve the out-of-box experience w= hile cleaning up some fundamental issues in the driver when QoS is disabled, eit= her by the related kernel parameter or the newly introduced QoS disablement function. Running FW 784.2 during testing. Log: [ 11.661972] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:= 35:19) [ 11.919942] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:= 35:19) [ 13.717460] [drm] amdgpu kernel modesetting enabled. [ 13.717705] amdgpu: Virtual CRAT table created for CPU [ 13.717719] amdgpu: Topology: Add CPU node [ 13.776896] NET: Registered PF_PACKET protocol family [ 15.234058] b43-phy0: Loading firmware version 784.2 (2012-08-15 21:= 35:19) [ 15.319388] wlp3s0b1: authenticate with 1c:87:2c:6f:f4:e0 [ 15.333239] wlp3s0b1: send auth to 1c:87:2c:6f:f4:e0 (try 1/3) [ 15.341672] wlp3s0b1: authenticated [ 15.341921] wlp3s0b1: associate with 1c:87:2c:6f:f4:e0 (try 1/3) [ 15.346912] wlp3s0b1: RX AssocResp from 1c:87:2c:6f:f4:e0 (capab=3D0= x411 status=3D0 aid=3D3) [ 15.347255] wlp3s0b1: associated Link: https://lore.kernel.org/linux-wireless/20231230045105.91351-1-sergean= tsagara@protonmail.com/ Rahul Rameshbabu (4): wifi: b43: Stop/wake correct queue in DMA Tx path when QoS is disabled wifi: b43: Stop/wake correct queue in PIO Tx path when QoS is disabled wifi: b43: Stop correct queue in DMA worker when QoS is disabled wifi: b43: Disable QoS for bcm4331 drivers/net/wireless/broadcom/b43/b43.h | 16 ++++++++++++++++ drivers/net/wireless/broadcom/b43/dma.c | 4 ++-- drivers/net/wireless/broadcom/b43/main.c | 16 +++++++++------- drivers/net/wireless/broadcom/b43/pio.c | 6 +++--- 4 files changed, 30 insertions(+), 12 deletions(-) --=20 2.42.0