qcacld-3.0: Add WMA callbacks to send peer unmap conf cmd to FW
Add supports to register WMA callbacks to send peer unmap conf
command to FW.
Change-Id: Ia709f5163d5e0a4b9f7141989c4e59183767f00e
CRs-Fixed: 2358129
diff --git a/core/wma/src/wma_main.c b/core/wma/src/wma_main.c
index 095cc51..6271572 100644
--- a/core/wma/src/wma_main.c
+++ b/core/wma/src/wma_main.c
@@ -92,6 +92,7 @@
#include "cfg_nan_api.h"
#include "wlan_mlme_api.h"
#include "wlan_mlme_ucfg_api.h"
+#include "cfg_ucfg_api.h"
#define WMA_LOG_COMPLETION_TIMER 3000 /* 3 seconds */
#define WMI_TLV_HEADROOM 128
@@ -6730,6 +6731,16 @@
wlan_res_cfg->new_htt_msg_format = false;
}
+ if (cfg_get(wma_handle->psoc, CFG_DP_ENABLE_PEER_UMAP_CONF_SUPPORT) &&
+ wmi_service_enabled(wmi_handle,
+ wmi_service_peer_unmap_cnf_support)) {
+ wlan_res_cfg->peer_unmap_conf_support = true;
+ cdp_cfg_set_peer_unmap_conf_support(soc, true);
+ } else {
+ wlan_res_cfg->peer_unmap_conf_support = false;
+ cdp_cfg_set_peer_unmap_conf_support(soc, false);
+ }
+
return 0;
}