wifi: rtl8xxxu: Add separate MAC init table for RTL8192CU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Thu, 18 Apr 2024 22:02:37 +0000 (01:02 +0300)
committerPing-Ke Shih <pkshih@realtek.com>
Tue, 23 Apr 2024 10:50:04 +0000 (18:50 +0800)
commit110951b8faa0b0ac412f67517d2a5c148ea99abe
tree1b651f15d01b8d25b60856729d3a49d15a84ca3a
parentcbfbb4ddbc8503478e0a138f9a31f61686cc5f11
wifi: rtl8xxxu: Add separate MAC init table for RTL8192CU

Until now RTL8192CU family was using the MAC init table from RTL8723AU,
but these tables are not identical in the two vendor drivers. Import
the correct table for RTL8192CU.

Also move the existing MAC init table to rtl8xxxu_8723a.c, which is
the only remaining user.

Tested with the Netcore NW362 (RTL8192CU).

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://msgid.link/a53ed8b9-27fc-4871-a20a-ad42c6d210d3@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu.h
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192c.c
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723a.c
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_core.c