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
부모 275c200717
커밋 6b525a4f72
21개의 변경된 파일359개의 추가작업 그리고 54개의 파일을 삭제

파일 보기

@@ -105,6 +105,7 @@
#include "wlan_mlme_ucfg_api.h"
#include "pld_common.h"
#include <dp_txrx.h>
#include "wlan_cm_roam_public_srtuct.h"
#ifdef WLAN_FEATURE_DP_BUS_BANDWIDTH
#include "qdf_periodic_work.h"
@@ -3051,28 +3052,30 @@ hdd_store_nss_chains_cfg_in_vdev(struct hdd_adapter *adapter);
/**
* wlan_hdd_disable_roaming() - disable roaming on all STAs except the input one
* @cur_adapter: Current HDD adapter passed from caller
* @mlme_operation_requestor: roam disable requestor
* @rso_op_requestor: roam disable requestor
*
* This function loops through all adapters and disables roaming on each STA
* mode adapter except the current adapter passed from the caller
*
* Return: None
*/
void wlan_hdd_disable_roaming(struct hdd_adapter *cur_adapter,
uint32_t mlme_operation_requestor);
void
wlan_hdd_disable_roaming(struct hdd_adapter *cur_adapter,
enum wlan_cm_rso_control_requestor rso_op_requestor);
/**
* wlan_hdd_enable_roaming() - enable roaming on all STAs except the input one
* @cur_adapter: Current HDD adapter passed from caller
* @mlme_operation_requestor: roam disable requestor
* @rso_op_requestor: roam disable requestor
*
* This function loops through all adapters and enables roaming on each STA
* mode adapter except the current adapter passed from the caller
*
* Return: None
*/
void wlan_hdd_enable_roaming(struct hdd_adapter *cur_adapter,
uint32_t mlme_operation_requestor);
void
wlan_hdd_enable_roaming(struct hdd_adapter *cur_adapter,
enum wlan_cm_rso_control_requestor rso_op_requestor);
QDF_STATUS hdd_post_cds_enable_config(struct hdd_context *hdd_ctx);