Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1148994rdb; Fri, 19 Jan 2024 09:33:39 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsm+24gcc5eVpfMcGQwT2xOCbTcN3GI6ubJJGiwspaIJPQt5hkqlVv9HBl58Dd8fWXJgmf X-Received: by 2002:a62:cf01:0:b0:6d9:a0b7:1016 with SMTP id b1-20020a62cf01000000b006d9a0b71016mr178451pfg.65.1705685619146; Fri, 19 Jan 2024 09:33:39 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705685619; cv=pass; d=google.com; s=arc-20160816; b=J32oWIv59TB+wKjSHhUxa+S8wnPhLoy7asGKgwH4nslkiUZFYS5zTK8uhWB1sT71vb OB/R8ec3wQJCqfxPMQBMBiADpH+Thgo1E7yiUd+UgCDuWuhX4TIKvOFQVDWZkcbOav8b rzRFMfaJlDqsKRkgHeyKWqmH1XBzTk9mnRbfCPTVxRiqKKOhD2GxHeKtMkGKQYsXnRZe W97WWCmkIRqrRfZNhsajW/SpfQmjGJIiiL5zlvnqmqCtmWxb+VbYgvopW1Vc215NtMV7 fQ5INmxLaxDM5O4t/pygUMALbptiQ2tmPvPN/5Onyt/nrTiSs4ILR/79vbkCRs41+2Uo 7vVQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=date:message-id:user-agent:cc:to:references:in-reply-to:from :subject:content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:dkim-signature; bh=uQuNbl6gSq3V8LiYGNvnEFNtNj2QI3o3VwB/z87M3F4=; fh=WLR/EgGP8LnoRETZ+PoieReSVWIjBN6GPR456gdEBDI=; b=NaMRk/N+QcvoRSWcxDtmsVHLXxvgQDnN52mnoUNdW226Jk6JwLSAb/KrQZIAGNtnh3 SI5K01wAlzqt5kSLgpoZ6wb039xKa3bH0qrYcfC4SLYanolLU6e4Mc2WEMOkw7OGTAT8 egzzighVskbFvcBKvYRCAywqtl2aD8kfT4x2SdxxgfSy6YWgjxWkIbAyzgTR4QKMSASt qgTa5h6ncxwiHeycZXDakabE1jCOAX0Y3LXSxungzfijKaGxaDpl5DaSwSwKlyxZKHHg IbFOAQDfE0UlSRAHZrgoFTcleKBq/hhbNiMOFh2F5ogK+2bM61JBwnwjlTTnOGwjoWcp 69Vw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uaYfnNA5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2266-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 76-20020a63024f000000b005c677a35320si3600162pgc.479.2024.01.19.09.33.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 09:33:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-2266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=uaYfnNA5; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-wireless+bounces-2266-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-2266-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id CD971B20DB9 for ; Fri, 19 Jan 2024 17:31:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E190D55C27; Fri, 19 Jan 2024 17:31:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="uaYfnNA5" 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 BBD0D55C05 for ; Fri, 19 Jan 2024 17:31:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705685463; cv=none; b=cOEgseg68d0bd7E2vlMLR+1UEnNSWqS3lT412eYTk2ghdteomEyL6VFysOTw5amBFHvRROG7kLsC7Bs7s5yP8T7bB6thMZjSSTypjKoS8Y9MfWwnOChT5uySmGjAdwFWbeXwiTI0V5WcZx3JND0wzIXzRGGO57hQFPjtT/vxqoM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705685463; c=relaxed/simple; bh=Wzh+WYgb2DaWS26PmauCXyieV/ZXABIUrPqr6fuPXb8=; h=Content-Type:MIME-Version:Subject:From:In-Reply-To:References:To: Cc:Message-ID:Date; b=BAhVHBmXlXHzEYtvdA/Vrwg86TcUQCSoov8bjwssM8TR41eLamh5xqrleQIY9vs/BzDJEdc0WlvLZoJBQbep4hkASZjrtua/yl24mBzZRUQtuMH3srF58lyoe0qU7qM7F50Zgo3q6XRCCgn2TAcL2AvvBxkf6w1WU+iIm5F57FU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=uaYfnNA5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F362EC433F1; Fri, 19 Jan 2024 17:31:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1705685463; bh=Wzh+WYgb2DaWS26PmauCXyieV/ZXABIUrPqr6fuPXb8=; h=Subject:From:In-Reply-To:References:To:Cc:Date:From; b=uaYfnNA5cVdIF0pUqYTL06HrlFm87+LzZfRSmGVzWpVdb0j2eHaCKpbCNV5RTyGpR X96ZrTC56wM5ngDfStzFhYmshwrq1wDrqTRxuGAW9UgsDsMfjreGQplK/si3RbsVLu vaQFteZO/zMgXYWl3BPWPjHXacawFPb8OPtQw6w7jvHy72x/6LKLrgymAuUCX0HKBa HaKRSIb59pu6Qam8t6zgDn1EgEADvEqvFjJMK4wpJuII+Y9PVA2h/Z94uKFqUoZWsG yDiymkb64P1/xLvQ5ZDy41KsLlb4N8jC26+E+ukOYGrz6qmTH6cX6NVQkjXoVAM1on lhxEAqr2vSZ4g== Content-Type: text/plain; charset="utf-8" Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Re: wifi: rtl8xxxu: add missing number of sec cam entries for all variants From: Kalle Valo In-Reply-To: <20240116095001.399500-1-martin.kaistra@linutronix.de> References: <20240116095001.399500-1-martin.kaistra@linutronix.de> To: Martin Kaistra Cc: linux-wireless@vger.kernel.org, Jes Sorensen , Ping-Ke Shih , Bitterblue Smith , Sebastian Andrzej Siewior User-Agent: pwcli/0.1.1-git (https://github.com/kvalo/pwcli/) Python/3.11.2 Message-ID: <170568546015.3153793.1103690824595965170.kvalo@kernel.org> Date: Fri, 19 Jan 2024 17:31:01 +0000 (UTC) Martin Kaistra wrote: > 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 and therefore breaking > encrypted traffic. > > Fix it by adding the numbers for all variants. The values are taken from > the vendor drivers and rtlwifi. > > Link: https://lore.kernel.org/linux-wireless/20240111163603.2325-1-zenmchen@gmail.com/ > Fixes: b837f78fbffa ("wifi: rtl8xxxu: add hw crypto support for AP mode") > Signed-off-by: Martin Kaistra Patch applied to wireless-next.git, thanks. 563d5025cf3b wifi: rtl8xxxu: add missing number of sec cam entries for all variants -- https://patchwork.kernel.org/project/linux-wireless/patch/20240116095001.399500-1-martin.kaistra@linutronix.de/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches