qcacld-3.0: Restart SAP after updating phymode requested from SON

EasyMesh agent fails to update the phymode requested by controller.

EasyMesh controller sends the channel selection request package to notify
EasyMesh agent to change phymode and channel. EasyMesh agent should change
them accordingly.

Update the phymode of the SAP, then restart the SAP.

Change-Id: Iab881b0bfbd1764072b48d426610adc8967111cd
CRs-Fixed: 3181195
This commit is contained in:
Bing Sun
2022-05-18 13:21:41 +08:00
committed by Madan Koyyalamudi
parent a9cb62ec75
commit 98cbab9a5a
3 changed files with 162 additions and 1 deletions

View File

@@ -1353,6 +1353,24 @@ void wlansap_extend_to_acs_range(mac_handle_t mac_handle,
uint32_t *bandStartChannel,
uint32_t *bandEndChannel);
#ifdef WLAN_FEATURE_SON
/**
* wlansap_son_update_sap_config_phymode() - update sap config according to
* phy_mode. This API is for son,
* There is no band switching when
* son phy mode is changed.
* @sap_ctx: Pointer to Sap Context
* @sap_config: Pointer to sap config
* @phy_mode: pointer to phy mode
*
* Return: QDF_STATUS
*/
QDF_STATUS
wlansap_son_update_sap_config_phymode(struct wlan_objmgr_vdev *vdev,
struct sap_config *config,
enum qca_wlan_vendor_phy_mode phy_mode);
#endif
/**
* wlansap_set_dfs_nol() - Set dfs nol
* @sap_ctx: SAP context