mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
fw-api: CL 5568228 - update fw common interface files
Add WMI_VDEV_CHAINMASK_CONFIG_CMDID def Change-Id: If81d376f55e81b606680c6c6cfa8902d2a66e266 CRs-Fixed: 2262693
This commit is contained in:
parent
da16b46e15
commit
aa10ef5510
4 changed files with 41 additions and 1 deletions
|
|
@ -266,6 +266,7 @@ typedef enum {
|
|||
WMI_SERVICE_ESP_SUPPORT=170, /* Support for Estimated Service Params IE */
|
||||
WMI_SERVICE_PEER_CHWIDTH_CHANGE = 171, /* Support for host to update/re-intersect the node capability */
|
||||
WMI_SERVICE_WLAN_HPCS_PULSE=172, /* Support for High Precision Clock Synchronization feature */
|
||||
WMI_SERVICE_PER_VDEV_CHAINMASK_CONFIG_SUPPORT=173, /* Support for configuring chainmask per VDEV */
|
||||
|
||||
/******* ADD NEW SERVICES HERE *******/
|
||||
|
||||
|
|
|
|||
|
|
@ -935,6 +935,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_peer_extd2_stats,
|
||||
WMITLV_TAG_STRUC_wmi_hpcs_pulse_start_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_pdev_ctl_failsafe_check_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
|
||||
/*
|
||||
|
|
@ -1318,6 +1319,7 @@ typedef enum {
|
|||
OP(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID) \
|
||||
OP(WMI_PDEV_HE_TB_ACTION_FRM_CMDID) \
|
||||
OP(WMI_HPCS_PULSE_START_CMDID) \
|
||||
OP(WMI_VDEV_CHAINMASK_CONFIG_CMDID) \
|
||||
/* add new CMD_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -2435,6 +2437,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_LIMIT_OFFCHAN_CMDID);
|
|||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID);
|
||||
|
||||
#define WMITLV_TABLE_WMI_VDEV_CHAINMASK_CONFIG_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param, wmi_vdev_chainmask_config_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
|
||||
|
||||
/* PDEV Set Base Mac Address Cmd */
|
||||
#define WMITLV_TABLE_WMI_PDEV_SET_BASE_MACADDR_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_set_base_macaddr_cmd_fixed_param, wmi_pdev_set_base_macaddr_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
|
|
|
|||
|
|
@ -468,6 +468,8 @@ typedef enum {
|
|||
WMI_VDEV_LIMIT_OFFCHAN_CMDID,
|
||||
/** To set custom software retries per-AC for vdev */
|
||||
WMI_VDEV_SET_CUSTOM_SW_RETRY_TH_CMDID,
|
||||
/** To set chainmask configuration for vdev */
|
||||
WMI_VDEV_CHAINMASK_CONFIG_CMDID,
|
||||
|
||||
/* peer specific commands */
|
||||
|
||||
|
|
@ -4499,6 +4501,35 @@ typedef struct {
|
|||
A_UINT32 sw_retry_th; /* max retry count per AC base on ac_type for the vdev mentioned in vdev id*/
|
||||
} wmi_vdev_set_custom_sw_retry_th_cmd_fixed_param;
|
||||
|
||||
typedef struct {
|
||||
/* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_chainmask_config_cmd_fixed_param */
|
||||
A_UINT32 tlv_header;
|
||||
/* vdev id indicating to which the vdev, this chainmask configuration will be applied. */
|
||||
A_UINT32 vdev_id;
|
||||
/* number of chains to use for transmissions in 2.4 GHz band */
|
||||
A_UINT32 num_tx_chains_2g;
|
||||
/* number of chains to use for reception in 2.4 GHz band */
|
||||
A_UINT32 num_rx_chains_2g;
|
||||
/* nss to use for transmissions in 2.4 GHz band */
|
||||
A_UINT32 tx_nss_2g;
|
||||
/* nss to use for reception in 2.4 GHz band */
|
||||
A_UINT32 rx_nss_2g;
|
||||
/* number of chains to use for 11b transmissions. Valid only in 2.4 GHz */
|
||||
A_UINT32 num_tx_chains_b;
|
||||
/* number of chains to use for 11g transmissions. Valid only in 2.4 GHz */
|
||||
A_UINT32 num_tx_chains_g;
|
||||
/* number of chains to use for transmissions in 5 GHz band */
|
||||
A_UINT32 num_tx_chains_5g;
|
||||
/* number of chains to use for reception in 5 GHz band */
|
||||
A_UINT32 num_rx_chains_5g;
|
||||
/* nss to use for transmissions in 5 GHz band */
|
||||
A_UINT32 tx_nss_5g;
|
||||
/* nss to use for reception in 5 GHz band */
|
||||
A_UINT32 rx_nss_5g;
|
||||
/* number of chains to use for 11a transmissions. Valid only in 5 GHz */
|
||||
A_UINT32 num_tx_chains_a;
|
||||
} wmi_vdev_chainmask_config_cmd_fixed_param;
|
||||
|
||||
/*
|
||||
* Command to enable/disable Green AP Power Save.
|
||||
* This helps conserve power during AP operation. When the AP has no
|
||||
|
|
@ -22353,6 +22384,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||
WMI_RETURN_STRING(WMI_PDEV_OBSS_PD_SPATIAL_REUSE_SET_DEF_OBSS_THRESH_CMDID);
|
||||
WMI_RETURN_STRING(WMI_PDEV_HE_TB_ACTION_FRM_CMDID);
|
||||
WMI_RETURN_STRING(WMI_HPCS_PULSE_START_CMDID);
|
||||
WMI_RETURN_STRING(WMI_VDEV_CHAINMASK_CONFIG_CMDID);
|
||||
}
|
||||
|
||||
return "Invalid WMI cmd";
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
#define __WMI_VER_MINOR_ 0
|
||||
/** WMI revision number has to be incremented when there is a
|
||||
* change that may or may not break compatibility. */
|
||||
#define __WMI_REVISION_ 582
|
||||
#define __WMI_REVISION_ 583
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue