qcacmn: Send the vdev chain params to fw

Send the vdev nss, chain params to fw.

Change-Id: Ie62ea5001c579545b43b4c30ab15d9023e636042
CRs-Fixed: 2347628
This commit is contained in:
Ashish Kumar Dhanotiya
2018-11-08 21:35:46 +05:30
committed by nshrivas
parent 5333ec0ad9
commit 023b42fe8a
3 changed files with 17 additions and 0 deletions

View File

@@ -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);

View File

@@ -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>

View File

@@ -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);