diff options
| author | Linux Build Service Account <lnxbuild@quicinc.com> | 2017-05-17 22:39:06 -0700 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-05-17 22:39:06 -0700 |
| commit | 0329b31dd4850be5870f0633e155674bc4e167ff (patch) | |
| tree | f742da663327c087b4311cfa6113bd46c857164e | |
| parent | b80d0b474e8feacbcc641c5ac4fcc9aff02361c5 (diff) | |
| parent | ee3ee8bce1222b3398294604300b1d8737377c77 (diff) | |
Merge "qcacld-2.0: CL 3047304 - update fw common interface files" into wlan-cld2.driver.lnx.1.0-dev
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_tlv_defs.h | 7 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 16 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
3 files changed, 24 insertions, 1 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h index fa516fad51be..362e939c8c49 100644 --- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h +++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h @@ -820,6 +820,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_therm_throt_level_config_info, WMITLV_TAG_STRUC_wmi_therm_throt_stats_event_fixed_param, WMITLV_TAG_STRUC_wmi_therm_throt_level_stats_info, + WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param, } WMITLV_TAG_ID; /* @@ -1332,6 +1333,7 @@ typedef enum { OP(WMI_VDEV_GET_TX_POWER_EVENTID) \ OP(WMI_OFFCHAN_DATA_TX_COMPLETION_EVENTID) \ OP(WMI_THERM_THROT_STATS_EVENTID) \ + OP(WMI_PDEV_DIV_RSSI_ANTID_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -3423,6 +3425,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_UPDATE_WHAL_MIB_STATS_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_BYTE, A_UINT8, ratesArray, WMITLV_SIZE_VAR) WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_TPC_CONFIG_EVENTID); +/* PDEV DIV RSSI Antenna index Event */ +#define WMITLV_TABLE_WMI_PDEV_DIV_RSSI_ANTID_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param, wmi_pdev_div_rssi_antid_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) +WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_DIV_RSSI_ANTID_EVENTID); + /* VDEV Tx Power Event */ #define WMITLV_TABLE_WMI_VDEV_GET_TX_POWER_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_tx_power_event_fixed_param, wmi_vdev_get_tx_power_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) diff --git a/CORE/SERVICES/COMMON/wmi_unified.h b/CORE/SERVICES/COMMON/wmi_unified.h index 239c364826cf..06dd9c2650bd 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -1129,6 +1129,9 @@ typedef enum { /** Report the caldata version to host */ WMI_PDEV_CHECK_CAL_VERSION_EVENTID, + /** Report chain RSSI and antenna index to host */ + WMI_PDEV_DIV_RSSI_ANTID_EVENTID, + /* VDEV specific events */ /** VDEV started event in response to VDEV_START request */ WMI_VDEV_START_RESP_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_VDEV), @@ -4570,6 +4573,19 @@ typedef struct { } wmi_pdev_tpc_config_event_fixed_param; typedef struct { + /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_div_rssi_antid_event_fixed_param */ + A_UINT32 tlv_header; + /** how many elements in the MAX_CHAINS arrays below contain valid info */ + A_UINT32 num_chains_valid; + /** RSSI (rssi_chain_x_pri20) on each chain (units: dB above noise floor) */ + A_UINT32 chain_rssi[WMI_MAX_CHAINS]; + /** index of the last-used antenna for each chain */ + A_UINT32 ant_id[WMI_MAX_CHAINS]; + /** mac address of diversity peer */ + wmi_mac_addr macaddr; +} wmi_pdev_div_rssi_antid_event_fixed_param; + +typedef struct { A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_pdev_l1ss_track_event_fixed_param */ A_UINT32 periodCnt; A_UINT32 L1Cnt; diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index 4f69b6a666d7..36b2c40f2cec 100644 --- a/CORE/SERVICES/COMMON/wmi_version.h +++ b/CORE/SERVICES/COMMON/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_ 383 +#define __WMI_REVISION_ 384 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
