Explorar o código

qcacmn: Send the vdev chain params to fw

Send the vdev nss, chain params to fw.

Change-Id: Ie62ea5001c579545b43b4c30ab15d9023e636042
CRs-Fixed: 2347628
Ashish Kumar Dhanotiya %!s(int64=6) %!d(string=hai) anos
pai
achega
023b42fe8a
Modificáronse 3 ficheiros con 17 adicións e 0 borrados
  1. 12 0
      wmi_unified_api.h
  2. 1 0
      wmi_unified_param.h
  3. 4 0
      wmi_unified_priv.h

+ 12 - 0
wmi_unified_api.h

@@ -461,6 +461,18 @@ QDF_STATUS wmi_unified_vdev_create_send(void *wmi_hdl,
 QDF_STATUS wmi_unified_vdev_delete_send(void *wmi_hdl,
 					  uint8_t if_id);
 
+/**
+ * wmi_unified_vdev_nss_chain_params_send() - send VDEV nss chain params to fw
+ * @wmi_handle: wmi handle
+ * @vdev_id: vdev id
+ * @nss_chains_user_cfg: user configured params to send
+ *
+ * Return: QDF_STATUS_SUCCESS on success and QDF_STATUS_E_FAILURE for failure
+ */
+QDF_STATUS wmi_unified_vdev_nss_chain_params_send(void *wmi_hdl,
+			uint8_t vdev_id,
+			struct wlan_mlme_nss_chains *nss_chains_user_cfg);
+
 QDF_STATUS wmi_unified_vdev_stop_send(void *wmi_hdl,
 					uint8_t vdev_id);
 

+ 1 - 0
wmi_unified_param.h

@@ -24,6 +24,7 @@
 #ifndef _WMI_UNIFIED_PARAM_H_
 #define _WMI_UNIFIED_PARAM_H_
 
+#include "wlan_mlme_public_struct.h"
 #include <wlan_scan_public_structs.h>
 #ifdef CONVERGED_TDLS_ENABLE
 #include <wlan_tdls_public_structs.h>

+ 4 - 0
wmi_unified_priv.h

@@ -271,6 +271,10 @@ QDF_STATUS (*send_vdev_create_cmd)(wmi_unified_t wmi_handle,
 QDF_STATUS (*send_vdev_delete_cmd)(wmi_unified_t wmi_handle,
 					  uint8_t if_id);
 
+QDF_STATUS (*send_vdev_nss_chain_params_cmd)(wmi_unified_t wmi_handle,
+					 uint8_t vdev_id,
+					 struct wlan_mlme_nss_chains *user_cfg);
+
 QDF_STATUS (*send_vdev_stop_cmd)(wmi_unified_t wmi,
 					uint8_t vdev_id);