diff options
| author | Linux Build Service Account <lnxbuild@localhost> | 2017-02-10 07:26:30 -0800 |
|---|---|---|
| committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2017-02-10 07:26:30 -0800 |
| commit | 791d73e039b89486dee74a8fabfaf5c14cc8e032 (patch) | |
| tree | 70b866defa6e86dd0d3c211aa4a226cfdf9a211e | |
| parent | 09b49feff2df280794b7d9278fb118b0eb21ef78 (diff) | |
| parent | 7f4b5aff4c694be85e64476580f8df07d4f694b9 (diff) | |
Merge "qcacld-2.0: CL 2829548 - update fw common interface files" into wlan-cld2.driver.lnx.1.0-dev
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_tlv_defs.h | 6 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_unified.h | 38 | ||||
| -rw-r--r-- | CORE/SERVICES/COMMON/wmi_version.h | 2 |
3 files changed, 43 insertions, 3 deletions
diff --git a/CORE/SERVICES/COMMON/wmi_tlv_defs.h b/CORE/SERVICES/COMMON/wmi_tlv_defs.h index 1c038c6a4e2b..f94f611b0b32 100644 --- a/CORE/SERVICES/COMMON/wmi_tlv_defs.h +++ b/CORE/SERVICES/COMMON/wmi_tlv_defs.h @@ -787,6 +787,7 @@ typedef enum { WMITLV_TAG_STRUC_wmi_bpf_set_vdev_active_mode_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_hw_data_filter_cmd_fixed_param, WMITLV_TAG_STRUC_wmi_connected_nlo_bss_band_rssi_pref, + WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param, } WMITLV_TAG_ID; /* @@ -1277,6 +1278,7 @@ typedef enum { OP(WMI_11D_NEW_COUNTRY_EVENTID) \ OP(WMI_RADIO_CHAN_STATS_EVENTID) \ OP(WMI_VDEV_ADD_MAC_ADDR_TO_RX_FILTER_STATUS_EVENTID) \ + OP(WMI_PEER_OPER_MODE_CHANGE_EVENTID) \ /* add new EVT_LIST elements above this line */ @@ -3691,6 +3693,10 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ANTDIV_INFO_EVENTID); WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_tx_fail_cnt_thr_event_fixed_param, wmi_peer_tx_fail_cnt_thr_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) WMITLV_CREATE_PARAM_STRUC(WMI_PEER_TX_FAIL_CNT_THR_EVENTID); +#define WMITLV_TABLE_WMI_PEER_OPER_MODE_CHANGE_EVENTID(id,op,buf,len) \ + WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_peer_oper_mode_change_event_fixed_param, wmi_peer_oper_mode_change_event_fixed_param, fixed_param, WMITLV_SIZE_FIX) + WMITLV_CREATE_PARAM_STRUC(WMI_PEER_OPER_MODE_CHANGE_EVENTID); + /* DFS radar Event */ #define WMITLV_TABLE_WMI_DFS_RADAR_EVENTID(id,op,buf,len) \ WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_dfs_radar_event_fixed_param, wmi_dfs_radar_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 3fa065ceb319..ccf196a12d74 100644 --- a/CORE/SERVICES/COMMON/wmi_unified.h +++ b/CORE/SERVICES/COMMON/wmi_unified.h @@ -1157,6 +1157,8 @@ typedef enum { WMI_PEER_STA_PS_STATECHG_EVENTID, /** Peer Ant Div Info Event with rssi per chain, etc */ WMI_PEER_ANTDIV_INFO_EVENTID, + /** Peer operating mode change indication sent to host to update stats */ + WMI_PEER_OPER_MODE_CHANGE_EVENTID, /* beacon/mgmt specific events */ /** RX management frame. the entire frame is carried along with the event. */ @@ -8655,7 +8657,7 @@ typedef struct { * WMI_ROAM_REASON_HO_FAILED no matter WMI_ROAM_INVOKE_CMDID is called or not. */ #define WMI_ROAM_REASON_INVOKE_ROAM_FAIL 0x6 -#define ROAM_REASON_RSO_STATUS 0x7 +#define WMI_ROAM_REASON_RSO_STATUS 0x7 /* reserved up through 0xF */ /* subnet status: bits 4-5 */ @@ -10789,7 +10791,10 @@ typedef struct { A_UINT32 cwmin; A_UINT32 cwmax; A_UINT32 aifs; - A_UINT32 txoplimit; + union { + A_UINT32 txoplimit; + A_UINT32 mu_edca_timer; + }; A_UINT32 acm; A_UINT32 no_ack; } wmi_wmm_vparams; @@ -11933,6 +11938,35 @@ typedef struct { A_INT32 chain_rssi[8]; } wmi_peer_antdiv_info; +typedef enum { + WMI_PEER_IND_SMPS = 0x0, /* spatial multiplexing power save */ + WMI_PEER_IND_OMN, /* operating mode notification */ + WMI_PEER_IND_OMI, /* operating mode indication */ +} WMI_PEER_OPER_MODE_IND; + +typedef struct { + /** TLV tag and len; tag equals + * WMITLV_TAG_STRUC_wmi_peer_oper_mode_change */ + A_UINT32 tlv_header; + /** mac addr of the peer */ + wmi_mac_addr peer_mac_address; + /** Peer type indication WMI_PEER_OPER_MODE_IND. */ + A_UINT32 ind_type; + /** new_rxnss valid for all peer_operating mode ind. */ + A_UINT32 new_rxnss; + /** new_bw valid for peer_operating mode ind. OMN/OMI + * value of this bw is as per 11ax/ac standard: + * 0 = 20MHz,1 = 40MHz, 2= 80MHz, 3 = 160MHz + */ + A_UINT32 new_bw; + /** new_txnss valid for peer_operating mode ind. OMI */ + A_UINT32 new_txnss; + /** new_disablemu: disable mu mode + * valid for peer_operating mode ind. OMI + */ + A_UINT32 new_disablemu; +} wmi_peer_oper_mode_change_event_fixed_param; + /** FW response when tx failure count has reached threshold * for a peer */ typedef struct { diff --git a/CORE/SERVICES/COMMON/wmi_version.h b/CORE/SERVICES/COMMON/wmi_version.h index a4807529df8c..befbd2fb6f06 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_ 340 +#define __WMI_REVISION_ 341 /** The Version Namespace should not be normally changed. Only * host and firmware of the same WMI namespace will work |
