From: Bitterblue Smith Date: Mon, 10 Jul 2023 21:04:05 +0000 (+0300) Subject: wifi: rtl8xxxu: Enable AP mode for RTL8710BU (RTL8188GU) X-Git-Tag: block-6.6-2023-09-08~22^2~214^2~41 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=dd71aca9a58bedb7bbba1c5c7cca2059a9cb2430;p=linux-block.git wifi: rtl8xxxu: Enable AP mode for RTL8710BU (RTL8188GU) 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 Signed-off-by: Kalle Valo Link: https://lore.kernel.org/r/ce04a0a1-df72-ea30-f742-8834e01457f5@gmail.com --- diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c index f0d17b75c5f1..871b8cca8a18 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c @@ -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,