Files
android_kernel_samsung_sm86…/umac
Amith A 4fc546e9f7 qcacmn: Add APIs to set current client type
For “Subordinate” clients in SP or VLP mode, FW does not send any
regulatory rules as currently no country supports subordinate in SP and
VLP. When the rules are not present, SP/VLP clients are connected to the
root ap in 0dBm tx power, which results in low throughput. Connecting to
the root ap using 0dBm tx power is not the correct behavior. If the rules
for any power mode is not available, clients should not connect in that
mode. Therefore, "Subordinate" clients cannot connect to the SP/VLP APs.

To resolve this issue, the device client type should be changed to
"Default" client type when it is connected to the root AP in SP or VLP
mode. Once it gets disconnected or when the root AP moves to LP mode,
its mode should be reset back to "Subordinate" client type.

Add a variable reg_target_client_type to wlan_regulatory_pdev_priv_obj
structure and in reg_propagate_6g_mas_channel_list, store the client
type received from target in it.

Add API reg_set_cur_6ghz_client_type to set the current client type to a
given value.

Add API reg_set_6ghz_client_type_from_target to set the current client
type to the value received from target.

Change-Id: Ie7d9e8b45cd831018c0058d65880a3659457b499
CRs-Fixed: 3349767
2022-12-04 06:25:56 -08:00
..
2022-11-10 11:35:32 -08:00
2022-10-11 00:47:34 -07:00
2022-10-11 00:47:34 -07:00