qcacld-3.0: Add support to send wfa test config to FW

User sends wfa test configs to host using vendor command
QCA_NL80211_VENDOR_SUBCMD_WIFI_TEST_CONFIGURATION. Host parses the
vendor command and sends wfa test configs to FW using WMI command
i.e. WMI_WFA_CONFIG_CMDID

Change-Id: I5aa0bc8b0a0064828b48368e47d53a5ad5e7ff2f
CRs-Fixed: 2772013
此提交包含在:
Abhishek Ambure
2020-08-26 18:38:01 +05:30
提交者 snandini
父節點 7497c7ca6d
當前提交 af02d10731
共有 11 個檔案被更改,包括 488 行新增1 行删除

查看文件

@@ -29,6 +29,7 @@
#include <wlan_objmgr_vdev_obj.h>
#include <wlan_objmgr_peer_obj.h>
#include "wlan_cm_roam_public_struct.h"
#include "wlan_wfa_config_public_struct.h"
#define mlme_legacy_fatal(params...) QDF_TRACE_FATAL(QDF_MODULE_ID_MLME, params)
#define mlme_legacy_err(params...) QDF_TRACE_ERROR(QDF_MODULE_ID_MLME, params)
@@ -40,10 +41,12 @@
* struct wlan_mlme_psoc_ext_obj -MLME ext psoc priv object
* @cfg: cfg items
* @rso_tx_ops: Roam Tx ops to send roam offload commands to firmware
* @wfa_testcmd: WFA config tx ops to send to FW
*/
struct wlan_mlme_psoc_ext_obj {
struct wlan_mlme_cfg cfg;
struct wlan_cm_roam_tx_ops rso_tx_ops;
struct wlan_mlme_wfa_cmd wfa_testcmd;
};
/**
@@ -163,7 +166,7 @@ struct wlan_mlme_roam {
* @bigtk_vdev_support: BIGTK feature support for this vdev (SAP)
* @sae_auth_retry: SAE auth retry information
* @roam_reason_better_ap: roam due to better AP found
* @better_ap_hb_failure_rssi: heartbeat failure AP RSSI
* @hb_failure_rssi: heartbeat failure AP RSSI
* @fils_con_info: Pointer to fils connection info from csr roam profile
* @opr_rate_set: operational rates set
* @ext_opr_rate_set: extended operational rates set

查看文件

@@ -29,6 +29,7 @@
#include "wlan_psoc_mlme_api.h"
#include "target_if_cm_roam_offload.h"
#include "wlan_crypto_global_api.h"
#include "target_if_wfa_testcmd.h"
static struct vdev_mlme_ops sta_mlme_ops;
static struct vdev_mlme_ops ap_mlme_ops;
@@ -1365,6 +1366,9 @@ QDF_STATUS psoc_mlme_ext_hdl_create(struct psoc_mlme_obj *psoc_mlme)
target_if_cm_roam_register_tx_ops(
&psoc_mlme->ext_psoc_ptr->rso_tx_ops);
target_if_wfatestcmd_register_tx_ops(
&psoc_mlme->ext_psoc_ptr->wfa_testcmd.tx_ops);
return QDF_STATUS_SUCCESS;
}