OSDN Git Service

wifi: rtl8xxxu: Enable AP mode for RTL8192FU
authorBitterblue Smith <rtl8821cerfe2@gmail.com>
Mon, 10 Jul 2023 21:02:45 +0000 (00:02 +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>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/ffcabba5-7e9e-674c-ad03-73646b040b96@gmail.com
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c

index 18dc522..28e9383 100644 (file)
@@ -2079,6 +2079,8 @@ struct rtl8xxxu_fileops rtl8192fu_fops = {
        .ampdu_max_time = 0x5e,
        .ustime_tsf_edca = 0x50,
        .max_aggr_num = 0x1f1f,
+       .supports_ap = 1,
+       .max_macid_num = 128,
        .trxff_boundary = 0x3f3f,
        .pbp_rx = PBP_PAGE_SIZE_256,
        .pbp_tx = PBP_PAGE_SIZE_256,