Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp383239rdb; Tue, 16 Jan 2024 03:28:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFaNGtiFr1ObCGqiT+7/UXT//oxjbOHAwbqoJSFdeminJIo6hZBdLFxsRbJLhCizG3f0048 X-Received: by 2002:a05:6214:19ee:b0:680:d27e:2847 with SMTP id q14-20020a05621419ee00b00680d27e2847mr9237686qvc.17.1705404522879; Tue, 16 Jan 2024 03:28:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705404522; cv=none; d=google.com; s=arc-20160816; b=z38dTC8tJj7WLDgt3QAkyNgmHiYsuSzMDsKdiO9sRqX6szBHQmRYghjKt5AqCDPitZ CsDk05wxGBMedZwvqWzf/MQfphlbMZ6d2Usv+gg+n1cV7k3IsA0HntTMz1f43/ImsHPu JT4jm+WsUr5ihMjWnLBbDkUnkXbD8ymET56X+gYE9SxkTp2lk7RCoIA9xKLVR3lBW4I6 W+wJDIoaeSlgp6tBZ+vxsem8QBkrQ3Tf/E3SrvIa29SMXJUfVlzl2L50333N6sIEM8D3 TcwmcbTeIq7xPyaf/033hJzcRVwzFrKydN3/Ct0scw4S3Ak3sRL3geTqBC2bqouuNdBA dpQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:dkim-signature :dkim-signature:message-id; bh=4Hl0H3p8Sh3Dy9IeQhdQ52crr+xmEhu3aDrtjLPTG0Y=; fh=aKFyhabPOAso3z6TRUP9vuUF4V2prvqN+VnHtFaCpsM=; b=0WOM5Ehg7m8wkAOns16/pDF04QmJ3h0WGgNfPbQxyDgz769Btnj2Xeljecy4oBCRKW WHiCsYxFwNzzDzXZxj0SecV8yPQQeg8w6rbMIhPChLeOMFeGjhJ+9RJZMYyPnOXknVFl zzeogdMGb+ELRREg5DOy+Jm28QtoHm59SwjXybUV8RyzjPKHNUtenzIlDaipNFksSe2O Ti7SvRaUO5yHkw2aJp2HMpKKZBFsrdFhXnhzqrqtd4vlOKZKNAnVu5EhrK4CUNF9CC3N XrKtBBjnDqF9USQ15/drE5ugbJqSWiSzmdavI7iCIR10FR+mpLkMdW5qOzjK/VKRKtyI Zjdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=ErOtbSE0; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id x1-20020a0ca881000000b0067ef8e49371si9358939qva.297.2024.01.16.03.28.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 03:28:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1972-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=@linutronix.de header.s=2020 header.b=ErOtbSE0; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; spf=pass (google.com: domain of linux-wireless+bounces-1972-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1972-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 9E7A71C20ECD for ; Tue, 16 Jan 2024 11:28:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E1F2C1B7FD; Tue, 16 Jan 2024 11:28:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="ErOtbSE0"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="t7ilUB8c" X-Original-To: linux-wireless@vger.kernel.org Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 7FFEB1B7F3 for ; Tue, 16 Jan 2024 11:28:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Message-ID: <7b45d86b-d5ed-4e1a-b514-7388211d7860@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1705404515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Hl0H3p8Sh3Dy9IeQhdQ52crr+xmEhu3aDrtjLPTG0Y=; b=ErOtbSE0u0dzzBpK0Wfa9+7z1KuNj1ZPGbJKVnuSBXVJGSk3JhtdCfzHaAvZDo9+xNaybT 27gkkeOrtFpaFp3ZgIJ88SjTli8LYXxDmFtB/62PysvXERqFSkW8/6yRRzMLqy6yxY3yj0 YL9c+lX+EVwpXI3q6PBVBcOP08ZHZdJKwOPxcNUGzvj5UdTDjMBxTrpD/jeZDZudqdc66R IrSHTIYmjPLzwJbqPmJGdzYnC1/vU+raNM/SEIMa7AHrB/uEEmIV9GT9ZCzWmgJkw4x7Uq y1HcEtq0ffmav1vBXGj2D9Cf6Tqg8cHAeHLeDQntvnCVzpLUxa8iIrThEzlhUQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1705404515; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=4Hl0H3p8Sh3Dy9IeQhdQ52crr+xmEhu3aDrtjLPTG0Y=; b=t7ilUB8cRGH/E1M+V4WqXcIYzLGdaMkh4i/AcjYiWjJNxDSmbdI+agz7e4wr1LnDJEtUl+ NYzNI/I4nOU0EoCQ== Date: Tue, 16 Jan 2024 12:28:34 +0100 Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH] wifi: rtl8xxxu: add missing number of sec cam entries for all variants Content-Language: de-DE To: Kalle Valo Cc: linux-wireless@vger.kernel.org, Jes Sorensen , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior References: <20240116095001.399500-1-martin.kaistra@linutronix.de> <87y1cpfs49.fsf@kernel.org> From: Martin Kaistra In-Reply-To: <87y1cpfs49.fsf@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hi Kalle, Am 16.01.24 um 12:13 schrieb Kalle Valo: > Martin Kaistra writes: > >> Commit b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP >> mode") introduced max_sec_cam_num as a member of rtl8xxxu_fileops. >> It was missed to set this number for all variants except 8188f, which >> caused rtl8xxxu_get_free_sec_cam() to always return 0. >> >> Fix it by adding the numbers for all variants. The values are taken from >> the vendor drivers and rtlwifi. > > Does this fix a user visible regression? It would be good to add that to > the commit message. I can do it, just let me know what to add. > Yes, traffic to encrypted networks was broken for all hw variants except 8188f. This was reported by Zenm Chen in [1]. Maybe you could add something like: [..] caused rtl8xxxu_get_free_sec_cam() to always return 0 and therefore breaking encrypted traffic. [1] https://lore.kernel.org/linux-wireless/20240111163603.2325-1-zenmchen@gmail.com/