]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
wifi: rtl8xxxu: Fix HT40 channel config for RTL8192CU, RTL8723AU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Thu, 20 Nov 2025 14:10:01 +0000 (16:10 +0200)
committerPing-Ke Shih <pkshih@realtek.com>
Fri, 21 Nov 2025 05:32:55 +0000 (13:32 +0800)
commit5511ba3de434892e5ef3594d6eabbd12b1629356
treeca22fe7536b4ba62ebe10997286d35cbbd4702e9
parent2a2aae3655343b753dfef86b341be99f7273f2ba
wifi: rtl8xxxu: Fix HT40 channel config for RTL8192CU, RTL8723AU

Flip the response rate subchannel. It was backwards, causing low
speeds when using 40 MHz channel width. "iw dev ... station dump"
showed a low RX rate, 11M or less.

Also fix the channel width field of RF6052_REG_MODE_AG.

Tested only with RTL8192CU, but these settings are identical for
RTL8723AU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/1f46571d-855b-43e1-8bfc-abacceb96043@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/core.c