From: Bitterblue Smith Date: Mon, 10 Jul 2023 21:05:14 +0000 (+0300) Subject: wifi: rtl8xxxu: Enable AP mode for RTL8723BU X-Git-Tag: v6.6-rc1~162^2~214^2~39 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4831a80908f1562685ed29f7ec63ef5bec6b0fc3;p=thirdparty%2Fkernel%2Flinux.git wifi: rtl8xxxu: Enable AP mode for RTL8723BU Theoretically this chip can handle 127 clients. Only compile tested but it should work as well as the RTL8188FU. Signed-off-by: Bitterblue Smith Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/b2876c56-0ea7-c398-5c9b-635f9f894f2c@gmail.com --- diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c index 13ad5d5b73f4e..954369ed6226c 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c @@ -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,