diff options
| author | spuligil <spuligil@codeaurora.org> | 2018-10-16 03:21:31 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-10-16 05:03:23 -0700 |
| commit | 4a48cb978682381de0cea9bd06de9980fc2cd38c (patch) | |
| tree | e27ea162833318c6bd4977e391b5eab21bd66551 | |
| parent | 67562ad7e5c550a2b2cca0057158e8c73b097fbc (diff) | |
fw-api: CL 5568228 - update fw common interface files
Add WMI_VDEV_CHAINMASK_CONFIG_CMDID def
Change-Id: If81d376f55e81b606680c6c6cfa8902d2a66e266
CRs-Fixed: 2262693
| -rwxr-xr-x | fw/wmi_services.h | 1 | ||||
| -rwxr-xr-x | fw/wmi_tlv_defs.h | 7 | ||||
| -rwxr-xr-x | fw/wmi_unified.h | 32 | ||||
| -rwxr-xr-x | fw/wmi_version.h | 2 |
4 files changed, 41 insertions, 1 deletions
diff --git a/fw/wmi_services.h b/fw/wmi_services.h index ecf6dea1a76d..6a8334476232 100755 --- a/fw/wmi_services.h +++ b/fw/wmi_services.h @@ -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 *******/ diff --git a/fw/wmi_tlv_defs.h b/fw/wmi_tlv_defs.h index d0dc4f83ac46..3d5ee4258e91 100755 --- a/fw/wmi_tlv_defs.h +++ b/fw/wmi_tlv_defs.h @@ -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) diff --git a/fw/wmi_unified.h b/fw/wmi_unified.h index a07c7984f555..59336da8e8c7 100755 --- a/fw/wmi_unified.h +++ b/fw/wmi_unified.h @@ -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"; diff --git a/fw/wmi_version.h b/fw/wmi_version.h index 519105b4f6c7..00ab85ecae14 100755 --- a/fw/wmi_version.h +++ b/fw/wmi_version.h @@ -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 |
