OSDN Git Service

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

Only compile tested 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/b2876c56-0ea7-c398-5c9b-635f9f894f2c@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c

index 13ad5d5..954369e 100644 (file)
@@ -1742,6 +1742,8 @@ struct rtl8xxxu_fileops rtl8723bu_fops = {
        .ampdu_max_time = 0x5e,
        .ustime_tsf_edca = 0x50,
        .max_aggr_num = 0x0c14,
+       .supports_ap = 1,
+       .max_macid_num = 128,
        .adda_1t_init = 0x01c00014,
        .adda_1t_path_on = 0x01c00014,
        .adda_2t_path_on_a = 0x01c00014,