]> Gentwo Git Trees - linux/.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)
committerPing-Ke Shih <pkshih@realtek.com>
Sun, 12 Jan 2025 02:01:06 +0000 (10:01 +0800)
commita806a8160a0fcaff368bb510c8a52eff37faf727
treeb6f8d839e45eb69a798015e1e53bdeeb4f3fa878
parent5ad483955acc85dc91b88c7b76dc1429e8ba33bc
wifi: rtw88: 8703b: Fix RX/TX issues

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
drivers/net/wireless/realtek/rtw88/rtw8703b.c