wifi: rtl8xxxu: Enable AP mode for RTL8192EU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 10 Jul 2023 21:04:39 +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 127 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/56c9b186-ba9a-8469-652d-ce1709813e9e@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c

index f673aa9..47bcaec 100644 (file)
@@ -1767,6 +1767,8 @@ struct rtl8xxxu_fileops rtl8192eu_fops = {
        .has_s0s1 = 0,
        .gen2_thermal_meter = 1,
        .needs_full_init = 1,
+       .supports_ap = 1,
+       .max_macid_num = 128,
        .adda_1t_init = 0x0fc01616,
        .adda_1t_path_on = 0x0fc01616,
        .adda_2t_path_on_a = 0x0fc01616,