qcacld-3.0: Add support to compile connection manager STA+STA roam API

Enable compilation of the connection manager roam files with
Kbuild changes.
Add new API to store and retrieve the firmware scan channels at
mlme. Also add initial support to post SET_PCL command through
lim, so that it is not sent before ROAM init command.

Add changes to restrict connection of the 2nd STA to
channels on the other band of the 1st STA connected band.
This is done by filling only the allowed band channels in
the scan filters for the 2nd STA connection. If only
1 STA is active, it is allowed to connect on any band.

Add header gaurds for missed header files:
wlan_cm_tgt_if_tx_api.h
target_if_cm_roam_offload.h

Change-Id: Id2bce12b9663ed635ea46164169b088461aab870
CRs-Fixed: 2720341
This commit is contained in:
Pragaspathi Thilagaraj
2020-07-04 21:10:07 +05:30
committed by nshrivas
parent 275c200717
commit 6b525a4f72
21 changed files with 359 additions and 54 deletions

View File

@@ -2557,4 +2557,31 @@ wlan_mlme_get_dual_sta_roaming_enabled(struct wlan_objmgr_psoc *psoc)
}
#endif
/**
* mlme_store_fw_scan_channels - Update the valid channel list to mlme.
* @psoc: Pointer to global psoc object
* @chan_list: Source channel list pointer
*
* Currently the channel list is saved to wma_handle to be updated in the
* PCL command. This cannot be accesed at target_if while sending vdev
* set pcl command. So save the channel list to mlme.
*
* Return: QDF_STATUS
*/
QDF_STATUS
mlme_store_fw_scan_channels(struct wlan_objmgr_psoc *psoc,
tSirUpdateChanList *chan_list);
/**
* mlme_get_fw_scan_channels - Copy the saved valid channel
* list to the provided buffer
* @psoc: Pointer to global psoc object
* @freq_list: Pointer to the frequency list buffer to be filled
* @saved_num_chan: Number of channels filled
*
* Return: QDF_STATUS
*/
QDF_STATUS mlme_get_fw_scan_channels(struct wlan_objmgr_psoc *psoc,
uint32_t *freq_list,
uint8_t *saved_num_chan);
#endif /* _WLAN_MLME_API_H_ */