From nobody Thu Apr 9 10:32:00 2026 Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6A01A3BD625 for ; Mon, 9 Mar 2026 16:40:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.177 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773074451; cv=none; b=TKyuaD/60NUundDWfjP9j77JfsyWDRrODCqBzOxmNgrulmr9FNbF/VjWfUQL8gqaKZ0xhbLCnRAuilaPhUbpzUwR1X+RxES5vk2RgA5dJwVIq1MKo2E3Z1C1jjWH0aR6h7KbLiAEQeiPxumszDfehFhJcWEzYetL0PmQihw3r6U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773074451; c=relaxed/simple; bh=eXeIwJMHheR/8Bix+vP/U/KQfuj30eVi/sFej4Xz+ko=; h=From:To:Cc:Subject:Date:Message-Id; b=ObSeI/+ALP4ofyJkNWXr0EjgHAX3sZz8mXPqGTSnS2esGLu52yc1jnkysN5Z6Xkh0kcpbf7pxqTyR3YWMH1AVpgvpz9OHR9iWsuAbJpm7z8z/LoZo52gaYYpsjSBviuPEhzgJ40fMyMQXNXxvcH0XqmZG9s65yo6CRBoTWTsYuA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aerlync.com; spf=pass smtp.mailfrom=aerlync.com; dkim=fail (0-bit key) header.d=aerlync.com header.i=@aerlync.com header.b=kXflbBf8 reason="key not found in DNS"; arc=none smtp.client-ip=209.85.214.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=aerlync.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=aerlync.com Authentication-Results: smtp.subspace.kernel.org; dkim=fail reason="key not found in DNS" (0-bit key) header.d=aerlync.com header.i=@aerlync.com header.b="kXflbBf8" Received: by mail-pl1-f177.google.com with SMTP id d9443c01a7336-2ab39b111b9so53695905ad.1 for ; Mon, 09 Mar 2026 09:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aerlync.com; s=google; t=1773074450; x=1773679250; darn=vger.kernel.org; h=message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=hOCmtBQwd2C+ycH7Sq1zpnPSsTJcZUkSR7ex89A0XhE=; b=kXflbBf8bqRMVYkIrfmJpoxWwHDbhCnSWh7uIC8YTio09GloaLgBsP2HVbzFp+1qWo lJ4Yx68QdzwsP7PNKXfr8GV7LQYzxFDWBt8/A1autGUAG/LJxdymy6UZtsO8w0Ulbt3v /xVnpetGbD4JsteJHkcCXLG95wB/luHPjCvmR5Ym5PIXQouBugBRMlnJwQ2ZENUy/MGj f8WICPnsQ9j1S6Np5mz49bGQj6ogcI4dlKtjmskEOm5yfVjbvsxAUDSyE5REB+OZDm64 EzVns4mbkNLXaWEDW1ZgfEkLasPSQYa0KB72e41ixmPXkjZh05jS2Yc04s/URw6GGMnE hbCQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1773074450; x=1773679250; h=message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=hOCmtBQwd2C+ycH7Sq1zpnPSsTJcZUkSR7ex89A0XhE=; b=QXhBkSW7uctAPWUNlYr3c6nKcRrfQDNwBUkoFKZ/hRJHtskmt1jzWXUfxz0lt+8ZX9 KKskcmleLSxNI6ReSMlsaHehM+2/D3jzXc4oCFcCA3Ihsb0RS9JghAXSTVYHdF/EU16M T7/ihw0P2QzxVTzPMkJ4HRN2u7/NqzJxmkKSGg8dxP3qTbtJ1IrHgfGS1lJsW4I7Ge5Q dpv9GjHa5rmH4D6hui0oAwiH3ujj3673WFujY70LtIy6C+bZlXmHboOuja82FGNdBwSI OXvdJ5HB4ERVIfHV4hzEj/PnFs5qdc1SOemjWcMOcef+V8NJedsGj4nyyGz9Iu4EsSrb EKwQ== X-Forwarded-Encrypted: i=1; AJvYcCWDeqv/jGMiFQcWkPVGr2nbUUqRSdfHyhzj6ebTnkCfEA4a8CJxP5vEcwqWcQz8Xr8RWOTbXF1zYxcL9Vw=@vger.kernel.org X-Gm-Message-State: AOJu0YwGlUDLey7PVIMgrtsxY3etK/nL3yYL7NVjj6aKe0NE4iMEqwuF oj0i3Il6NXbYncrWj7SlARipFiAqJBYccRJGaRYIc6KebUQr77iUeFhddlnqfSPhPR4= X-Gm-Gg: ATEYQzwxZP9xpgXOBdmRu2JhpTzHjrKXUvVB7IyL2+02IQRuVPFyFKkziLCDD0XX4j5 i8QS8NPrO7lcpl+FIbb286a8EGEUPmpSkqkojbIRV725HqA7RDGC0HO+/VJ92yL0fPrA5BuRAgv 84hg2FG5qMtwIniEc1ZW0/SnXbD/CMjmlgHwlnOC6fZMz11Z7G4lozvBO9aPjdwQfeWo0NK1dS6 1PV7wlpmAGtwRg6QxsExCRAw/xIl86+rMX9obZ0VGIXutLllrBd3gaUV+Na592lmXb7Cc9rIx9D Yh9Yw+4wHVn/hTVb0V6Gzio+vsOYa+NXhP1B4PKruGUZO/qyCVLfnprofb+UjJ1tkPg73AzW3UX p1jmPjzxTGHW08RliDg4yrp6I51pk6i+E598ppEOl1M0daVsP9B1gMB1y5al0uB1GjELmmBcFmn ZiHGyWS409J3AHKcMpvjVb8+oVuLBmeZiTl1UJz4f+HgxPT4dnueviYy7Do3LWc2D9HjFTcZnTO 7dB79dh0cGxdXMszXOAfgHBFbAiK9pjdyzX3vmxvxXpeF8= X-Received: by 2002:a17:902:c401:b0:2ad:9b86:ddc2 with SMTP id d9443c01a7336-2ae82455273mr122083595ad.22.1773074449642; Mon, 09 Mar 2026 09:40:49 -0700 (PDT) Received: from aerlync06-VirtualBox.aerlync.home ([210.18.157.243]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2ae83f9d4d3sm114956505ad.69.2026.03.09.09.40.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Mar 2026 09:40:49 -0700 (PDT) From: Ramakrishnan Rathinasamy To: jjohnson@kernel.org Cc: ath10k@lists.infradead.org, linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, Ramakrishnan Rathinasamy Subject: [PATCH] wifi: ath10k: add chain mask and spatial stream params for qca988x Date: Mon, 9 Mar 2026 22:10:43 +0530 Message-Id: <20260309164043.24859-1-ramakrishnan@aerlync.com> X-Mailer: git-send-email 2.17.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" For QCA988x, the tx_chain_mask, rx_chain_mask, and max_spatial_stream hardware parameters are not initialized when using the 10.4 firmware. However, the hardware announces its max_spatial_stream capabilities during the WMI ready event. The driver compares this against the uninitialized (zero) value, which triggers the following warning: "hardware advertises support for more spatial streams than it should (3 > 0= )" Consequently, the driver's max_spatial_stream evaluates to zero. This prevents the device from associating with modern Access Points in station mode, causing the AP to reject the association with reason code 18 (Association denied). Fix this issue by properly populating the tx_chain_mask, rx_chain_mask, and max_spatial_stream hardware parameters for QCA988x. Signed-off-by: Ramakrishnan Rathinasamy --- drivers/net/wireless/ath/ath10k/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/wireless/ath/ath10k/core.c b/drivers/net/wireless/= ath/ath10k/core.c index 7c2939cbde5f..ead9c601f018 100644 --- a/drivers/net/wireless/ath/ath10k/core.c +++ b/drivers/net/wireless/ath/ath10k/core.c @@ -75,6 +75,9 @@ static const struct ath10k_hw_params ath10k_hw_params_lis= t[] =3D { .otp_exe_param =3D 0, .channel_counters_freq_hz =3D 88000, .max_probe_resp_desc_thres =3D 0, + .tx_chain_mask =3D 0x7, + .rx_chain_mask =3D 0x7, + .max_spatial_stream =3D 3, .cal_data_len =3D 2116, .fw =3D { .dir =3D QCA988X_HW_2_0_FW_DIR, --=20 2.17.1