wifi: rtl8xxxu: Enable AP mode for RTL8192FU
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.
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c +2 -0
@@ -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,
Signature · 1 line
2.41.0
PATCH 2/4 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.
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8710b.c +2 -0
@@ -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,
Signature · 1 line
2.41.0
PATCH 3/4 wifi: rtl8xxxu: Enable AP mode for RTL8192EU
In reply to Bitterblue SmithTheoretically this chip can handle 127 clients.
Tested only very briefly but it should work as well as the RTL8188FU.
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192e.c +2 -0
@@ -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,
Signature · 1 line
2.41.0
PATCH 4/4 wifi: rtl8xxxu: Enable AP mode for RTL8723BU
In reply to Bitterblue SmithTheoretically this chip can handle 127 clients.
Only compile tested but it should work as well as the RTL8188FU.
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8723b.c +2 -0
@@ -1742,6 +1742,8 @@ struct rtl8xxxu_fileops rtl8723bu_fops = { .ampdu_max_time = 0x5e, .ustime_tsf_edca = 0x50, .max_aggr_num = 0x0c14, + .supports_ap = 1, + .max_macid_num = 128, .adda_1t_init = 0x01c00014, .adda_1t_path_on = 0x01c00014, .adda_2t_path_on_a = 0x01c00014,
Signature · 1 line
2.41.0
Quoted 9 lines
-----Original Message-----
From: Bitterblue Smith <[email protected]>
Sent: Tuesday, July 11, 2023 5:03 AM
To: [email protected]
Cc: Jes Sorensen <[email protected]>; Ping-Ke Shih <[email protected]>
Subject: [PATCH 1/4] wifi: rtl8xxxu: Enable AP mode for RTL8192FU
Quoted 5 lines
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 <[email protected]>
With your positive results, it should be good to have this patchset, so
Quoted 22 lines
--- drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c | 2 ++ 1 file changed, 2 insertions(+)drivers/net/wireless/realtek/rtl8xxxu/rtl8xxxu_8192f.c +2
-1@@ -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.
Quoted 6 lines · Bitterblue Smith
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 <[email protected]>Reviewed-by Ping-Ke Shih <[email protected]>
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
Signature · 3 lines
https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches