qcacld-3.0: Implement legacy commands of easy mesh

Provide below APIs for easy mesh.
API to get the current frequency of the given VDEV.
API to get acs status of the given VDEV.
API to get cac status of the given VDEV.
API to get/set bandwidth of the given VDEV.
API to get band information of the given VDEV.
API to get connected STA count of the given VDEV.
API to get BSSID of the given VDEV.
API to get SSID of the given VDEV.
API to set channel of the given VDEV.
API to get/set cac timeout of the given VDEV.
API to get/set country code of the given VDEV.

Change-Id: Ia0bd201ad8155a66a4a8c5517f6fa43f3f358505
CRs-Fixed: 3027192
This commit is contained in:
bings
2021-07-09 17:55:09 +08:00
committato da Madan Koyyalamudi
parent 7ff37bd587
commit a44cf88b36
13 ha cambiato i file con 1681 aggiunte e 6 eliminazioni

Vedi File

@@ -3377,4 +3377,11 @@ wlan_mlme_get_p2p_p2p_conc_support(struct wlan_objmgr_psoc *psoc)
return false;
}
#endif
/**
* mlme_get_vht_ch_width() - get vht channel width of fw capability
*
* Return: vht channel width
*/
enum phy_ch_width mlme_get_vht_ch_width(void);
#endif /* _WLAN_MLME_API_H_ */

Vedi File

@@ -5251,3 +5251,18 @@ wlan_mlme_get_p2p_p2p_conc_support(struct wlan_objmgr_psoc *psoc)
WLAN_SOC_EXT_P2P_P2P_CONC_SUPPORT);
}
#endif
enum phy_ch_width mlme_get_vht_ch_width(void)
{
enum phy_ch_width bandwidth = CH_WIDTH_INVALID;
uint32_t fw_ch_wd = wma_get_vht_ch_width();
if (fw_ch_wd == WNI_CFG_VHT_CHANNEL_WIDTH_80_PLUS_80MHZ)
bandwidth = CH_WIDTH_80P80MHZ;
else if (fw_ch_wd == WNI_CFG_VHT_CHANNEL_WIDTH_160MHZ)
bandwidth = CH_WIDTH_160MHZ;
else
bandwidth = CH_WIDTH_80MHZ;
return bandwidth;
}