diff mbox series

[1/4] wifi: rtl8xxxu: Enable AP mode for RTL8192FU

Message ID ffcabba5-7e9e-674c-ad03-73646b040b96@gmail.com
State New
Headers show
Series [1/4] wifi: rtl8xxxu: Enable AP mode for RTL8192FU | expand

Commit Message

Bitterblue Smith July 10, 2023, 9:02 p.m. UTC
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>
---
 drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c | 2 ++
 1 file changed, 2 insertions(+)

Comments

Ping-Ke Shih July 17, 2023, 2:45 a.m. UTC | #1
> -----Original Message-----
> From: Bitterblue Smith <rtl8821cerfe2@gmail.com>
> Sent: Tuesday, July 11, 2023 5:03 AM
> To: linux-wireless@vger.kernel.org
> Cc: Jes Sorensen <Jes.Sorensen@gmail.com>; Ping-Ke Shih <pkshih@realtek.com>
> Subject: [PATCH 1/4] wifi: rtl8xxxu: Enable AP mode for RTL8192FU
> 
> 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>

With your positive results, it should be good to have this patchset, so

Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>

> ---
>  drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
> b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
> index 18dc5221a9c0..28e93835e05a 100644
> --- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
> +++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
> @@ -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,
> --
> 2.41.0
> 
> ------Please consider the environment before printing this e-mail.
Kalle Valo July 25, 2023, 2:48 p.m. UTC | #2
Bitterblue Smith <rtl8821cerfe2@gmail.com> wrote:

> 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>

4 patches applied to wireless-next.git, thanks.

efbc7e791a51 wifi: rtl8xxxu: Enable AP mode for RTL8192FU
dd71aca9a58b wifi: rtl8xxxu: Enable AP mode for RTL8710BU (RTL8188GU)
8c34b62167b4 wifi: rtl8xxxu: Enable AP mode for RTL8192EU
4831a80908f1 wifi: rtl8xxxu: Enable AP mode for RTL8723BU
diff mbox series

Patch

diff --git a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
index 18dc5221a9c0..28e93835e05a 100644
--- a/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
+++ b/drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c
@@ -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,