]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wifi: rtw88: 8703b: Fix RX/TX issues
authorVasily Khoruzhick <anarsoul@gmail.com>
Fri, 3 Jan 2025 07:50:53 +0000 (23:50 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Feb 2025 09:05:15 +0000 (10:05 +0100)
commit0ee1df18f27df8e716da85e13b0023ae63a7d9c3
tree5f7b582f68c1a6663fb283f9823a1e62873bb55f
parenta64cf5532719905e29a8b97b5005bb69e83a1e45
wifi: rtw88: 8703b: Fix RX/TX issues

commit a806a8160a0fcaff368bb510c8a52eff37faf727 upstream.

Fix 3 typos in 8703b driver. 2 typos in calibration routines are not
fatal and do not seem to have any impact, just fix them to match vendor
driver.

However the last one in rtw8703b_set_channel_bb() clears too many bits
in REG_OFDM0_TX_PSD_NOISE, causing TX and RX issues (neither rate goes
above MCS0-MCS1). Vendor driver clears only 2 most significant bits.

With the last typo fixed, the driver is able to reach MCS7 on Pinebook

Cc: stable@vger.kernel.org
Fixes: 9bb762b3a957 ("wifi: rtw88: Add definitions for 8703b chip")
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Acked-by: Ping-Ke Shih <pkshih@realtek.com>
Tested-by: Fiona Klute <fiona.klute@gmx.de>
Tested-by: Andrey Skvortsov <andrej.skvortzov@gmail.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20250103075107.1337533-1-anarsoul@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/realtek/rtw88/rtw8703b.c