wifi: rtl8xxxu: Enable AP mode for RTL8710BU (RTL8188GU)
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 10 Jul 2023 21:04:05 +0000 (00:04 +0300)
committerKalle Valo <kvalo@kernel.org>
Tue, 25 Jul 2023 14:47:48 +0000 (17:47 +0300)
Theoretically this chip can handle 15 clients.

Tested only very briefly but it should work as well as the RTL8188FU.

Signed-off-by: Bitterblue Smith <rtl8821cerfe2@gmail.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/ce04a0a1-df72-ea30-f742-8834e01457f5@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c

index f0d17b75c5f10b664880f1a2fe435932c3d7cde0..871b8cca8a18873571152fcfb649d68ca6dc4be3 100644 (file)
@@ -1875,6 +1875,8 @@ struct rtl8xxxu_fileops rtl8710bu_fops = {
         */
        .ustime_tsf_edca = 0x28,
        .max_aggr_num = 0x0c14,
+       .supports_ap = 1,
+       .max_macid_num = 16,
        .adda_1t_init = 0x03c00016,
        .adda_1t_path_on = 0x03c00016,
        .trxff_boundary = 0x3f7f,