fw-api: CL 2930922 - update fw common interface files

WMI VDEV_GET_TX_POWER message defs

Change-Id: Ibefb00955b5d49c8931237ffaffd5279efa1d90c
CRs-Fixed: 1107600
This commit is contained in:
Sandeep Puligilla
2017-03-15 11:00:52 -07:00
parent 424f13f505
commit 58ffe0e1d6
3 changed files with 38 additions and 6 deletions

View File

@@ -423,6 +423,9 @@ typedef enum {
WMI_VDEV_SET_ARP_STAT_CMDID,
WMI_VDEV_GET_ARP_STAT_CMDID,
/** get tx power for the current vdev */
WMI_VDEV_GET_TX_POWER_CMDID,
/* peer specific commands */
/** create a peer */
@@ -1143,6 +1146,9 @@ typedef enum {
/* event for ARP stats collection */
WMI_VDEV_GET_ARP_STAT_EVENTID,
/** get tx power event in response to VDEV_GET_TX_POWER request */
WMI_VDEV_GET_TX_POWER_EVENTID,
/* peer specific events */
/** FW reauet to kick out the station for reasons like inactivity,lack of response ..etc */
WMI_PEER_STA_KICKOUT_EVENTID = WMI_EVT_GRP_START_ID(WMI_GRP_PEER),
@@ -3606,6 +3612,18 @@ typedef struct {
A_UINT32 enable_cmd;
} wmi_vdev_spectral_enable_cmd_fixed_param;
typedef struct {
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_get_tx_power_cmd_fixed_param */
A_UINT32 vdev_id;
} wmi_vdev_get_tx_power_cmd_fixed_param;
/** common structure used for wmi_vedv_get_tx_power_event */
typedef struct {
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_vdev_tx_power_event_fixed_param */
A_UINT32 tx_power; /** units: 0.5 dBm, per-chain tx power */
A_UINT32 vdev_id; /** unique id identifying the VDEV, generated by the caller */
} wmi_vdev_get_tx_power_event_fixed_param;
#define WMI_CSA_EVENT_QSBW_ISE_ID_MASK 0x000000FF /* information sub element id for QSBW, expected value is 0x02 */
#define WMI_CSA_EVENT_QSBW_ISE_LEN_MASK 0x0000FF00 /* length of QSBW ISE data, expected value is 0x02 */
#define WMI_CSA_EVENT_QSBW_ISE_CAP_MASK 0x00FF0000 /* capabilities, 0x01 for 5MHz, 0x02 for 10MHz, 0x01|0x2 for both (see WMI_CSA_EVENT_QSBW_ISE bitmask defs) */
@@ -5890,15 +5908,14 @@ typedef struct {
* For STA/client vdevs, it indicates that sta will
* associate with AP with RMF enabled. */
#define WMI_UNIFIED_VDEV_START_PMF_ENABLED (1<<1)
/** Indicates if LDPC RX will be advertized inside HT/VHT Capabilities IE
* of assoc request/response
*/
#define WMI_UNIFIED_VDEV_START_LDPC_RX_ENABLED (1<<2)
/*
* Host is sending bcn_tx_rate to override the beacon tx rates.
*/
#define WMI_UNIFIED_VDEV_START_BCN_TX_RATE_PRESENT (1<<2)
/** Indicates if LDPC RX will be advertized inside HT/VHT Capabilities IE
* of assoc request/response
*/
#define WMI_UNIFIED_VDEV_START_LDPC_RX_ENABLED (1<<3)
/* BSS color 0-6 */
#define WMI_HEOPS_COLOR_GET(he_ops) WMI_GET_BITS(he_ops, 0, 6)
@@ -18405,6 +18422,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_PDEV_SET_DIVERSITY_GAIN_CMDID);
WMI_RETURN_STRING(WMI_VDEV_SET_ARP_STAT_CMDID);
WMI_RETURN_STRING(WMI_VDEV_GET_ARP_STAT_CMDID);
WMI_RETURN_STRING(WMI_VDEV_GET_TX_POWER_CMDID);
}
return "Invalid WMI cmd";