From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 B6F6F1C695; Thu, 2 Jul 2026 16:56:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783011410; cv=none; b=Wu+wg+lbp5sQWaWxkDrtPPDsy5uCQU0xST4tdn64ty4LKfRYygP94FIp5EqJjSbXfFKD9QnTc7ZSGqZkgo13fEdvQ9bmBT0gxVjfFBHENECydfvMd5JK3gtGd6uSYos/MP3irjz74gP4qkQS3QaDMPyc6tKwOmJENUkpmfTRXpw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783011410; c=relaxed/simple; bh=S3ejPvyMRYkKhPozP5M7PJUUXSJGFkRqUOwSkLJThCk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=FfUAKKxHbTaQfmMhZMXY9ixTKWu0quPeAF6ClyYJzUjSI3qgyq7nZKpJfoeUX2grld1pEeA1s7Ojpa2UWf01uEawQMKwPvhJZqXMYkqYSzsV7mbPUMod85dj8kP18ZQh3NK1XiMnLBVk7gqY7qlS++XEbHRabWcZMmHx2jQFqfc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iF+VUnfq; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="iF+VUnfq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 286161F000E9; Thu, 2 Jul 2026 16:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1783011409; bh=r6OlKDUpUhZK+/7TW5DtYdDKLNkEhDHNbKBl6uvvv6g=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=iF+VUnfqPCg77D1WyuwJykQuG82aVDF42OoAm0UWSuij6tuQBBYlYyDW2uJTYBStQ U76R/7uFXOeZCcvoObMZoNCRyZvgwECJvf7AhinEL1mYaZV/0zqRBh+o1ZMKBmK3Oo XBNB4qQCp3vFsVszXA1MLnDUI2G8LKMR2Ypw1nss= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Bitterblue Smith , Ping-Ke Shih Subject: [PATCH 6.18 054/108] wifi: rtlwifi: rtl8821ae: Fix C2H bit location in RX descriptor Date: Thu, 2 Jul 2026 18:20:51 +0200 Message-ID: <20260702155113.229123860@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260702155112.110058792@linuxfoundation.org> References: <20260702155112.110058792@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Bitterblue Smith commit 83d38df6929118c3f996b9e3351c2d5014073d87 upstream. Bit 28 of double word 2 in the RX descriptor indicates if the packet is a normal 802.11 frame, or a message from the wifi firmware to the driver (Card 2 Host). Commit f5678bfe1cdc ("rtlwifi: rtl8821ae: Replace local bit manipulation macros") mistakenly made the driver look for this bit in double word 1, causing packet loss and Bluetooth coexistence problems. Fixes: f5678bfe1cdc ("rtlwifi: rtl8821ae: Replace local bit manipulation macros") Cc: Signed-off-by: Bitterblue Smith Acked-by: Ping-Ke Shih Signed-off-by: Ping-Ke Shih Link: https://patch.msgid.link/04da7398-cedb-425a-a810-5772ab10139d@gmail.com Signed-off-by: Greg Kroah-Hartman --- drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.h @@ -291,7 +291,7 @@ static inline int get_rx_desc_paggr(__le static inline int get_rx_status_desc_rpt_sel(__le32 *__pdesc) { - return le32_get_bits(*(__pdesc + 1), BIT(28)); + return le32_get_bits(*(__pdesc + 2), BIT(28)); } static inline int get_rx_desc_rxmcs(__le32 *__pdesc)