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

Change-Id: I3e9ef9e0f671ccd27315eb411af49dd1b7121b6d
WMI: add ESL_EGID_CMD msg def
CRs-Fixed: 2262693
This commit is contained in:
spuligil
2023-01-08 18:01:13 -08:00
parent 178f53bd61
commit d6e7bf3f32
3 changed files with 47 additions and 5 deletions

View File

@@ -1344,6 +1344,7 @@ typedef enum {
/** Dedicated BT Antenna Mode (DBAM) command */
WMI_COEX_DBAM_CMDID,
WMI_TAS_POWER_HISTORY_CMDID,
WMI_ESL_EGID_CMDID,
/**
* OBSS scan offload enable/disable commands
@@ -1358,12 +1359,12 @@ typedef enum {
WMI_OBSS_SCAN_DISABLE_CMDID,
WMI_OBSS_COLOR_COLLISION_DET_CONFIG_CMDID,
/**LPI commands*/
/**LPI mgmt snooping config command*/
/** LPI commands */
/** LPI mgmt snooping config command */
WMI_LPI_MGMT_SNOOPING_CONFIG_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_LPI),
/**LPI scan start command*/
/** LPI scan start command */
WMI_LPI_START_SCAN_CMDID,
/**LPI scan stop command*/
/** LPI scan stop command */
WMI_LPI_STOP_SCAN_CMDID,
/** ExtScan commands */
@@ -33131,6 +33132,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
WMI_RETURN_STRING(WMI_VENDOR_VDEV_CMDID);
WMI_RETURN_STRING(WMI_VENDOR_PEER_CMDID);
WMI_RETURN_STRING(WMI_VDEV_SET_TWT_EDCA_PARAMS_CMDID); /* XPAN TWT */
WMI_RETURN_STRING(WMI_ESL_EGID_CMDID);
}
return (A_UINT8 *) "Invalid WMI cmd";
@@ -41007,6 +41009,40 @@ typedef struct {
A_UINT32 pn_rx_filter;
} wmi_vdev_pn_mgmt_rx_filter_cmd_fixed_param; /* Filter for Neighbor Rx Packets */
typedef struct {
A_UINT32 tlv_header;
/* egid_info:
* Identify which ESL group is active and the duty cycle configured
* for each group.
* This is a 128-bit bitmap to represent 16 ESL sets, with each set
* having 8 members.
* For a given set, the 1-values within the 8-bit bitmap identify
* which groups are active. The number of active groups within each
* set of 8 indirectly determines the WLAN/BT duty cycle:
* number of 1-bits |
* within 8-bit bitmap | WLAN / BT duty cycle
* --------------------+----------------
* 0 | 100 ms WLAN
* 1 | 87.5 ms WLAN, 12.5 ms BT
* 2 | 75 ms WLAN, 25 ms BT
* 3 | 62.5 ms WLAN, 37.5 ms BT
* 4 | 50 ms WLAN, 50 ms BT
* 5 | 37.5 ms WLAN, 62.5 ms BT
* 6 | 25 ms WLAN, 75 ms BT
* 7 | 12.5 ms WLAN, 87.5 ms BT
* 8 | 100 ms BT
* The lowest bits in the bitmap represent the highest ESL groups,
* E.g. bitmap bit 0 corresponds to ESL group 127, bit 1 corresponds
* to ESL group 126, bit 7 corresponds to ESL group 120, bit 8
* corresponds to ESL group 119, etc.
*
* So for example, if the lowest 8 bits of egid_info are 0x07, this
* indicates that groups 125-127 are active and 120-124 are inactive,
* and that the duty cycle is 62.5 ms WLAN + 37.5 ms BT.
*/
A_UINT32 egid_info[4];
} wmi_esl_egid_cmd_fixed_param;
#define WMI_RTT_PASN_PEER_CREATE_SECURITY_MODE_GET(flag) WMI_GET_BITS(flag, 0, 2)
#define WMI_RTT_PASN_PEER_CREATE_SECURITY_MODE_SET(flag,val) WMI_SET_BITS(flag, 0, 2, val)
#define WMI_RTT_PASN_PEER_CREATE_FORCE_SELF_MAC_USE_GET(flag) WMI_GET_BITS(flag, 2, 1)