qcacmn: Fill vdev nss chain params structure
Fill the nss chain params structure, with the dynamic params and send to FW. Change-Id: I6d9589b1af33a3bf2d4895424c22ca0c24b4b9a8 CRs-Fixed: 2349795
This commit is contained in:

committed by
nshrivas

parent
023b42fe8a
commit
2f281219e3
@@ -471,7 +471,7 @@ QDF_STATUS wmi_unified_vdev_delete_send(void *wmi_hdl,
|
|||||||
*/
|
*/
|
||||||
QDF_STATUS wmi_unified_vdev_nss_chain_params_send(void *wmi_hdl,
|
QDF_STATUS wmi_unified_vdev_nss_chain_params_send(void *wmi_hdl,
|
||||||
uint8_t vdev_id,
|
uint8_t vdev_id,
|
||||||
struct wlan_mlme_nss_chains *nss_chains_user_cfg);
|
struct vdev_nss_chains *nss_chains_user_cfg);
|
||||||
|
|
||||||
QDF_STATUS wmi_unified_vdev_stop_send(void *wmi_hdl,
|
QDF_STATUS wmi_unified_vdev_stop_send(void *wmi_hdl,
|
||||||
uint8_t vdev_id);
|
uint8_t vdev_id);
|
||||||
|
@@ -24,7 +24,6 @@
|
|||||||
#ifndef _WMI_UNIFIED_PARAM_H_
|
#ifndef _WMI_UNIFIED_PARAM_H_
|
||||||
#define _WMI_UNIFIED_PARAM_H_
|
#define _WMI_UNIFIED_PARAM_H_
|
||||||
|
|
||||||
#include "wlan_mlme_public_struct.h"
|
|
||||||
#include <wlan_scan_public_structs.h>
|
#include <wlan_scan_public_structs.h>
|
||||||
#ifdef CONVERGED_TDLS_ENABLE
|
#ifdef CONVERGED_TDLS_ENABLE
|
||||||
#include <wlan_tdls_public_structs.h>
|
#include <wlan_tdls_public_structs.h>
|
||||||
@@ -831,6 +830,42 @@ struct vdev_scan_nac_rssi_params {
|
|||||||
uint32_t action; /* WMI_FILTER_NAC_RSSI_ACTION */
|
uint32_t action; /* WMI_FILTER_NAC_RSSI_ACTION */
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* enum nss_chains_band_info - Band info for dynamic nss, chains change feature
|
||||||
|
* @NSS_CHAINS_BAND_2GHZ: 2.4Ghz band
|
||||||
|
* @NSS_CHAINS_BAND_5GHZ: 5Ghz band
|
||||||
|
* @NSS_CHAINS_BAND_MAX: Max bands supported
|
||||||
|
*/
|
||||||
|
enum nss_chains_band_info {
|
||||||
|
NSS_CHAINS_BAND_2GHZ = 0,
|
||||||
|
NSS_CHAINS_BAND_5GHZ,
|
||||||
|
NSS_CHAINS_BAND_MAX,
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct vdev_nss_chains - vdev config of nss, and chains
|
||||||
|
* @num_tx_chains: tx chains of vdev config
|
||||||
|
* @num_rx_chains: rx chains of vdev config
|
||||||
|
* @tx_nss: tx nss of vdev config
|
||||||
|
* @rx_nss: rx nss of vdev config
|
||||||
|
* @num_tx_chains_11b: number of tx chains in 11b mode
|
||||||
|
* @num_tx_chains_11g: number of tx chains in 11g mode
|
||||||
|
* @num_tx_chains_11a: number of tx chains in 11a mode
|
||||||
|
* @disable_rx_mrc: disable 2 rx chains, in rx nss 1 mode
|
||||||
|
* @disable_tx_mrc: disable 2 tx chains, in tx nss 1 mode
|
||||||
|
*/
|
||||||
|
struct vdev_nss_chains {
|
||||||
|
uint32_t num_tx_chains[NSS_CHAINS_BAND_MAX];
|
||||||
|
uint32_t num_rx_chains[NSS_CHAINS_BAND_MAX];
|
||||||
|
uint32_t tx_nss[NSS_CHAINS_BAND_MAX];
|
||||||
|
uint32_t rx_nss[NSS_CHAINS_BAND_MAX];
|
||||||
|
uint32_t num_tx_chains_11b;
|
||||||
|
uint32_t num_tx_chains_11g;
|
||||||
|
uint32_t num_tx_chains_11a;
|
||||||
|
bool disable_rx_mrc[NSS_CHAINS_BAND_MAX];
|
||||||
|
bool disable_tx_mrc[NSS_CHAINS_BAND_MAX];
|
||||||
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct hidden_ssid_vdev_restart_params -
|
* struct hidden_ssid_vdev_restart_params -
|
||||||
* vdev restart cmd parameter
|
* vdev restart cmd parameter
|
||||||
|
@@ -273,7 +273,7 @@ QDF_STATUS (*send_vdev_delete_cmd)(wmi_unified_t wmi_handle,
|
|||||||
|
|
||||||
QDF_STATUS (*send_vdev_nss_chain_params_cmd)(wmi_unified_t wmi_handle,
|
QDF_STATUS (*send_vdev_nss_chain_params_cmd)(wmi_unified_t wmi_handle,
|
||||||
uint8_t vdev_id,
|
uint8_t vdev_id,
|
||||||
struct wlan_mlme_nss_chains *user_cfg);
|
struct vdev_nss_chains *user_cfg);
|
||||||
|
|
||||||
QDF_STATUS (*send_vdev_stop_cmd)(wmi_unified_t wmi,
|
QDF_STATUS (*send_vdev_stop_cmd)(wmi_unified_t wmi,
|
||||||
uint8_t vdev_id);
|
uint8_t vdev_id);
|
||||||
|
Reference in New Issue
Block a user