On Fri, Jan 3, 2025 at 11:02 AM Andrey Skvortsov <andrej.skvortzov@xxxxxxxxx> wrote: > > On 25-01-02 23:50, Vasily Khoruzhick wrote: > > 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@xxxxxxxxxxxxxxx > > Fixes: 9bb762b3a957 ("wifi: rtw88: Add definitions for 8703b chip") > > Signed-off-by: Vasily Khoruzhick <anarsoul@xxxxxxxxx> > > Tested-by: Andrey Skvortsov <andrej.skvortzov@xxxxxxxxx> > > Thank you, Vasily, for fixing that. Performance is much better with > the fix. Here are iperf results made on PinePhone: Thanks for testing! > 1. without the patch using rtw88 driver > 1.98 Mbits/sec > > 2. with the patch using rtw88 driver > 14.0 Mbits/sec > > 3. using old vendor 8723cs driver > 23.6 Mbits/sec Interesting, I get 30-50 Mbit/s on both rtw88 and vendor driver on Pinebook for either TX or RX, however I am pretty close (a few meters) to the AP and it isn't a noisy env (Pinebook can pick up just 4 other 2.4G APs besides mine, none on the same channel). Could you try disabling bluetooth (run bluetoothctl, and do "power off") and re-run the test? I noticed that btcoex is implemented differently in rtw88 and in the vendor driver, so it might not be working correctly. > > -- > Best regards, > Andrey Skvortsov