Received: by 2002:a05:7412:8d09:b0:fa:4c10:6cad with SMTP id bj9csp376815rdb; Tue, 16 Jan 2024 03:13:48 -0800 (PST) X-Google-Smtp-Source: AGHT+IF7fr+femXEcCj0/JZeyFlKASvymCs6wrk4oIU0f48zuQIPHht3NnsUdke/+WEUjmEmP6tF X-Received: by 2002:a05:620a:2056:b0:783:49da:b0f4 with SMTP id d22-20020a05620a205600b0078349dab0f4mr6431308qka.17.1705403628573; Tue, 16 Jan 2024 03:13:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705403628; cv=none; d=google.com; s=arc-20160816; b=lNIkX9NMxmmFHlMz6t9Xo4r7UBIAykYZKCUJdAxpP6ljPvY87zd4kTeqSx5N9DUzKT FfxLNNw4WmYf4ItEXQDybHjLEcw+SLS8hAj2HwP43nH5VDmKOEMPiQ6mEe7Fzm0V3ISy XTzfcuTCd4dkFQSf3nMmzcrIJ43ID4odEb3sv2pyicx3+zWzUB0Nh93nn/HenzutWzG6 FwLsSfcGp/heb5QRNeV2i/p8Y2eb316fMqG0B7pARRXQk4RhMIlo92/330dXDk9nrz8O 3YkvK+wnQOdqTaNd1Ltwek8gW96MUgd1QufHzFasIV9uVJ1rqQS7A0m9lySf6oEnO1GL DsIg== 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 :user-agent:message-id:in-reply-to:date:references:subject:cc:to :from:dkim-signature; bh=+zcdmVnyLH4Nge6BP7qvpXSXYi0o8oA9INJRUuUJoHM=; fh=WLR/EgGP8LnoRETZ+PoieReSVWIjBN6GPR456gdEBDI=; b=pUm5choxeHuCj/J8eaRjM/FKGbtitnXzkNVnIFQcjmQc2qgwlHeDhlPEiDgy2SbH5k rUrIa4sjzfbJwG+1lNZNPgdhu29ZIxDeEM8Uet+nKUgN3Mt+/CAD119Yq/J3UsAfOAm/ Oak7ZHkMFizk2L1AFnn0t3vy29vZMQ59nmpv9ocQcqrRocTVTPBJK/BAmLx/gIPsVtYw GiI0c6OY2nSqllHCkxeLFMHHV7HwLQ1H470rQL4o6eTBU+qUOJnVwYysGwWKWGPKdve+ vHJhPLIRHiRaSgF/Y9wvYRev7ZeChozlUrUA0Am/y9kFkqC+D9zkyVcBAaFxC7VJjre9 Rp/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=q1HE9u6V; spf=pass (google.com: domain of linux-wireless+bounces-1971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 o30-20020a05620a0d5e00b007835bef7329si3943018qkl.765.2024.01.16.03.13.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 03:13:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-1971-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=@kernel.org header.s=k20201202 header.b=q1HE9u6V; spf=pass (google.com: domain of linux-wireless+bounces-1971-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-1971-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 57A681C23168 for ; Tue, 16 Jan 2024 11:13:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 122091B7EE; Tue, 16 Jan 2024 11:13:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="q1HE9u6V" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 E9E851B7ED for ; Tue, 16 Jan 2024 11:13:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4022EC433F1; Tue, 16 Jan 2024 11:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705403625; bh=VoijYp0lA5zTV9HDl30Wh89EmUL4NjoKm99UcObnURA=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=q1HE9u6Vm7giGMxlwJadppdFdqZzWKVB1HTJXv8tbcuczo9c0RwpjlfbRfuMxe02u tc0hh/1Fhl7mf/vHj7E7/5PjGs9MFqa/hfNe5sZ9MBsyf/aFDNPY0v3/9X4lwTEYoQ 4YFVKrJ286kNvNzEqVUnBuwCvVthRt9vxG3C2S4/CZWnBcPqlXa+/4kcqRk5R5uryL g2XLShHYElheZzpJ7QZhDDZOnoz2SFd/0WSreMEF85X5MfxQJcGgak/oIufRdIa1Ex 3ESOucSSiLsU6jmOO3tzPxcmkrWB8wUvoXXGW4ZNTJ43H9JvgUIx67bK6bxV+Lg4rs uQ9CF89N1Lnxg== From: Kalle Valo To: Martin Kaistra Cc: linux-wireless@vger.kernel.org, Jes Sorensen , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior Subject: Re: [PATCH] wifi: rtl8xxxu: add missing number of sec cam entries for all variants References: <20240116095001.399500-1-martin.kaistra@linutronix.de> Date: Tue, 16 Jan 2024 13:13:42 +0200 In-Reply-To: <20240116095001.399500-1-martin.kaistra@linutronix.de> (Martin Kaistra's message of "Tue, 16 Jan 2024 10:50:01 +0100") Message-ID: <87y1cpfs49.fsf@kernel.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain 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. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches