From: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx> This has been tested on the AT91SAM9G25-based GARDENA smart Gateway which uses an RTL8188CUS (product ID 0x8176). Signed-off-by: Ezra Buehler <ezra.buehler@xxxxxxxxxxxxxxxxxx> --- Note that I was not able to figure out how many clients the RTL8192CU and similar can actually handle, 127 is a wild guess. drivers/net/wireless/realtek/rtl8xxxu/8192c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/wireless/realtek/rtl8xxxu/8192c.c b/drivers/net/wireless/realtek/rtl8xxxu/8192c.c index 0abb1b092bc20..72918fe621fa1 100644 --- a/drivers/net/wireless/realtek/rtl8xxxu/8192c.c +++ b/drivers/net/wireless/realtek/rtl8xxxu/8192c.c @@ -644,6 +644,8 @@ struct rtl8xxxu_fileops rtl8192cu_fops = { .rx_agg_buf_size = 16000, .tx_desc_size = sizeof(struct rtl8xxxu_txdesc32), .rx_desc_size = sizeof(struct rtl8xxxu_rxdesc16), + .supports_ap = 1, + .max_macid_num = 128, .max_sec_cam_num = 32, .adda_1t_init = 0x0b1b25a0, .adda_1t_path_on = 0x0bdb25a0, -- 2.43.0