mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
Merge tag 'LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/fw-api into android13-5.4-lahaina
"LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0" * tag 'LA.UM.9.14.1.r1-14100-QCM6490.QSSI14.0' of https://git.codelinaro.org/clo/la/platform/vendor/qcom-opensource/wlan/fw-api: fw-api: CL 26661427 - update fw common interface files fw-api: CL 26642966 - update fw common interface files fw-api: CL 26614150 - update fw common interface files fw-api: CL 26587627 - update fw common interface files fw-api: CL 26534623 - update fw common interface files fw-api: CL 26517090 - update fw common interface files fw-api: CL 26515400 - update fw common interface files fw-api: CL 26515067 - update fw common interface files fw-api: CL 26511260 - update fw common interface files fw-api: CL 26496317 - update fw common interface files fw-api: CL 26403375 - update fw common interface files fw-api: CL 26392958 - update fw common interface files fw-api: CL 26384461 - update fw common interface files Change-Id: Ic4c7051fcac756955520b7299883facca6dfabf0
This commit is contained in:
commit
8ddefe282c
6 changed files with 95 additions and 3 deletions
|
|
@ -22949,6 +22949,7 @@ typedef enum {
|
|||
HTT_SDWF_MSDUQ_CFG_IND_ERROR_DEACTIVATED_MSDUQ = 0x05,
|
||||
HTT_SDWF_MSDUQ_CFG_IND_ERROR_REACTIVATED_MSDUQ = 0x06,
|
||||
HTT_SDWF_MSDUQ_CFG_IND_ERROR_INVALID_SVC_CLASS = 0x07,
|
||||
HTT_SDWF_MSDUQ_CFG_IND_ERROR_TIDQ_LOCATE_ERROR = 0x08,
|
||||
} HTT_SDWF_MSDUQ_CFG_IND_ERROR_CODE_E;
|
||||
|
||||
PREPACK struct htt_t2h_sdwf_msduq_cfg_ind {
|
||||
|
|
|
|||
|
|
@ -7600,6 +7600,14 @@ typedef struct {
|
|||
* bin2 contains the number of sampling windows that had > 4 interrupts
|
||||
*/
|
||||
A_UINT32 interrupts_hist[HTT_INTERRUPTS_LATENCY_PROFILE_MAX_HIST];
|
||||
/* min time in us for pcycles spent on q6 core on all HW threads */
|
||||
A_UINT32 min_pcycles_time;
|
||||
/* max time in us for pcycles spent on q6 core on all HW threads */
|
||||
A_UINT32 max_pcycles_time;
|
||||
/* total time in us for pcycles spent on q6 core on all HW threads */
|
||||
A_UINT32 tot_pcycles_time;
|
||||
/* avg time in us for pcycles spent on q6 core on all HW threads */
|
||||
A_UINT32 avg_pcycles_time;
|
||||
} htt_stats_latency_prof_stats_tlv;
|
||||
/* preserve old name alias for new name consistent with the tag name */
|
||||
typedef htt_stats_latency_prof_stats_tlv htt_latency_prof_stats_tlv;
|
||||
|
|
|
|||
|
|
@ -662,6 +662,12 @@ typedef enum {
|
|||
WMI_SERVICE_TRAFFIC_CONTEXT_SUPPORT = 408, /* FW supports traffic context aware manager */
|
||||
WMI_SERVICE_STA_SAP_NDP_CONCURRENCY_SUPPORT = 409, /* FW supports STA + SAP + NDP concurrency */
|
||||
WMI_SERVICE_THERM_THROT_POUT_REDUCTION = 410, /* FW supports thermal throttling Pout reduction */
|
||||
WMI_SERVICE_E2E_SDWF_SUPPORT = 411, /* FW supports end-to-end SDWF features like SDWF scheduler */
|
||||
WMI_SERVICE_EPM = 412, /* FW supports enhanced power management */
|
||||
WMI_SERVICE_CHIPSET_LOGGING_SUPPORT = 413, /* FW supports chipset logging feature */
|
||||
WMI_SERVICE_SUPPORT_AP_SUSPEND_RESUME = 414, /* FW supports SAP suspend feature */
|
||||
WMI_SERVICE_STA_P2P_NDP_CONCURRENCY_SUPPORT = 415, /* FW supports STA + P2P + NAN concurrency */
|
||||
WMI_SERVICE_USE_STA_VDEV_FOR_P2P_DEVICE = 416, /* FW supports use of sta vdev to be repurposed for p2p device */
|
||||
|
||||
|
||||
WMI_MAX_EXT2_SERVICE
|
||||
|
|
|
|||
|
|
@ -1437,6 +1437,7 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_ctrl_path_vdev_bcn_tx_stats_struct,
|
||||
WMITLV_TAG_STRUC_wmi_ctrl_path_pdev_bcn_tx_stats_struct,
|
||||
WMITLV_TAG_STRUC_wmi_soc_tx_packet_custom_classify_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
/*
|
||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||
|
|
@ -1986,6 +1987,7 @@ typedef enum {
|
|||
OP(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID) \
|
||||
OP(WMI_REQUEST_OPM_STATS_CMDID) \
|
||||
OP(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID) \
|
||||
OP(WMI_SET_AP_SUSPEND_RESUME_CMDID) \
|
||||
/* add new CMD_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -5613,6 +5615,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_request_opm_stats_cmd_fixed_param, wmi_request_opm_stats_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_REQUEST_OPM_STATS_CMDID);
|
||||
|
||||
/* SAP suspend/resume command */
|
||||
#define WMITLV_TABLE_WMI_SET_AP_SUSPEND_RESUME_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param, wmi_set_ap_suspend_resume_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_SET_AP_SUSPEND_RESUME_CMDID);
|
||||
|
||||
|
||||
|
||||
/************************** TLV definitions of WMI events *******************************/
|
||||
|
|
|
|||
|
|
@ -1308,6 +1308,9 @@ typedef enum {
|
|||
/** WMI command to Request Opportunistic Power Mgmt (OPM) stats */
|
||||
WMI_REQUEST_OPM_STATS_CMDID,
|
||||
|
||||
/** WMI command to Request SAP suspend/resume */
|
||||
WMI_SET_AP_SUSPEND_RESUME_CMDID,
|
||||
|
||||
|
||||
/* Offload 11k related requests */
|
||||
WMI_11K_OFFLOAD_REPORT_CMDID = WMI_CMD_GRP_START_ID(WMI_GRP_11K_OFFLOAD),
|
||||
|
|
@ -4618,8 +4621,12 @@ typedef struct {
|
|||
* and 255 indicates an invalid service class
|
||||
* Refer to WMI_RSRC_CFG_FLAGS2_SAWF_255_SVC_CLASS_SUPPORT_GET/SET
|
||||
* macros.
|
||||
* Bit 20 - enable feature EPM (Enhanced Power Management)
|
||||
* 0 -> disable the feature
|
||||
* 1 -> enable the feature
|
||||
* Refer to the below WMI_RSRC_CFG_FLAGS2_EPM_GET/SET macros.
|
||||
*
|
||||
* Bits 31:20 - Reserved
|
||||
* Bits 31:21 - Reserved
|
||||
*/
|
||||
A_UINT32 flags2;
|
||||
/** @brief host_service_flags - can be used by Host to indicate
|
||||
|
|
@ -5114,6 +5121,10 @@ typedef struct {
|
|||
#define WMI_RSRC_CFG_FLAGS2_SAWF_255_SVC_CLASS_SUPPORT_SET(flags2, value) \
|
||||
WMI_SET_BITS(flags2, 19, 1, value)
|
||||
|
||||
#define WMI_RSRC_CFG_FLAGS2_EPM_GET(flags2) \
|
||||
WMI_GET_BITS(flags2, 20, 1)
|
||||
#define WMI_RSRC_CFG_FLAGS2_EPM_SET(flags2, value) \
|
||||
WMI_SET_BITS(flags2, 20, 1, value)
|
||||
|
||||
#define WMI_RSRC_CFG_HOST_SERVICE_FLAG_NAN_IFACE_SUPPORT_GET(host_service_flags) \
|
||||
WMI_GET_BITS(host_service_flags, 0, 1)
|
||||
|
|
@ -6130,6 +6141,7 @@ typedef enum {
|
|||
#define WMI_SCAN_FLAG_EXT_FAST_SCAN 0x00020000
|
||||
#define WMI_SCAN_FLAG_EXT_LOW_POWER_SCAN 0x00040000
|
||||
#define WMI_SCAN_FLAG_EXT_STOP_IF_BSSID_FOUND 0x00080000
|
||||
#define WMI_SCAN_FLAG_EXT_P2P_SCAN 0x00100000
|
||||
|
||||
|
||||
/**
|
||||
|
|
@ -6335,6 +6347,11 @@ enum wmi_scan_completion_reason {
|
|||
WMI_SCAN_REASON_MAX,
|
||||
};
|
||||
|
||||
#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_SET(flag, value) \
|
||||
WMI_SET_BITS(flag, 0, 1, value)
|
||||
#define WMI_SCAN_EVT_IS_SCAN_TYPE_P2P_FLAG_GET(flag) \
|
||||
WMI_GET_BITS(flag, 0, 1)
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_scan_event_fixed_param */
|
||||
/** scan event (wmi_scan_event_type) */
|
||||
|
|
@ -6355,6 +6372,11 @@ typedef struct {
|
|||
* In case of STA not connected it will be the free running HW timer
|
||||
*/
|
||||
A_UINT32 tsf_timestamp;
|
||||
/** flags:
|
||||
* Bit[0] - indicate if scan type is for p2p
|
||||
* Bit[1:31] - reserved
|
||||
*/
|
||||
A_UINT32 flags;
|
||||
} wmi_scan_event_fixed_param;
|
||||
|
||||
/* WMI Diag event */
|
||||
|
|
@ -9609,6 +9631,23 @@ typedef enum {
|
|||
* E.g. a value of 4 will result in a 1.0 dB tx power reduction.
|
||||
*/
|
||||
WMI_PDEV_PARAM_PWR_REDUCTION_IN_QUARTER_DB,
|
||||
|
||||
WMI_PDEV_PARAM_ENABLE_CHIPSET_LOGGING,
|
||||
|
||||
/** SCAN MODE:
|
||||
* bit | scan_mode
|
||||
* -----------------
|
||||
* 0 | SISO SCAN - 1x1 scan
|
||||
* | If this bit is 0, then use default scan (NxN).
|
||||
* 1-31 | Reserved.
|
||||
*/
|
||||
WMI_PDEV_PARAM_SCAN_MODE,
|
||||
|
||||
/** configure datastall consecutive no ack interval (units = ms) */
|
||||
WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_INTERVAL,
|
||||
/** configure datastall consecutive no ack threshold */
|
||||
WMI_PDEV_PARAM_DSTALL_CONSECUTIVE_TX_NO_ACK_THRESHOLD,
|
||||
|
||||
} WMI_PDEV_PARAM;
|
||||
|
||||
#define WMI_PDEV_ONLY_BSR_TRIG_IS_ENABLED(trig_type) WMI_GET_BITS(trig_type, 0, 1)
|
||||
|
|
@ -19620,12 +19659,20 @@ typedef struct {
|
|||
A_UINT32 cu_vdev_map_cat2_hi; /* bits 63:32 */
|
||||
} wmi_prb_resp_tmpl_ml_info;
|
||||
|
||||
/** indicates P2P GO only case not replay probe req */
|
||||
#define WMI_PRB_TMPL_IGNORE_NONP2P_PRB_REQ 0x1
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /** TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_prb_tmpl_cmd_fixed_param */
|
||||
/** unique id identifying the VDEV, generated by the caller */
|
||||
A_UINT32 vdev_id;
|
||||
/** beacon buffer length. data is in TLV data[] */
|
||||
A_UINT32 buf_len;
|
||||
/** flags to control probe tmpl:
|
||||
* Bit 0: If set, FW should ignore non-P2P probe req
|
||||
* Bits 31-1: Reserved
|
||||
*/
|
||||
A_UINT32 flags;
|
||||
/*
|
||||
* The TLVs follows:
|
||||
* wmi_bcn_prb_info bcn_prb_info; <-- beacon probe capabilities and IEs
|
||||
|
|
@ -25667,6 +25714,15 @@ typedef enum
|
|||
*/
|
||||
WMI_VENDOR_OUI_ACTION_SEND_SMPS_FRAME_WITH_OMN = 12,
|
||||
|
||||
/* Restrict SLO if specific vendor OUI received in beacon. */
|
||||
WMI_VENDOR_OUI_ACTION_RESTRICT_SLO = 13,
|
||||
|
||||
/*
|
||||
* Force MLSR mode if specific vendor OUI received in beacon
|
||||
* when connect with MLO.
|
||||
*/
|
||||
WMI_VENDOR_OUI_ACTION_FORCE_MLSR = 14,
|
||||
|
||||
|
||||
/* Add any action before this line */
|
||||
WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID
|
||||
|
|
@ -27011,7 +27067,9 @@ typedef enum {
|
|||
/** Lower threshold for beacon-RSSI. Used to increase RX chainmask. */
|
||||
WMI_STA_SMPS_PARAM_LOWER_BRSSI_THRESH = 4,
|
||||
/** Enable/Disable DTIM 1chRx feature */
|
||||
WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5
|
||||
WMI_STA_SMPS_PARAM_DTIM_1CHRX_ENABLE = 5,
|
||||
/** Enable/Disable dynamic bw feature */
|
||||
WMI_STA_SMPS_PARAM_DYNAMIC_BW_SWITCH = 6,
|
||||
} wmi_sta_smps_param;
|
||||
|
||||
typedef struct {
|
||||
|
|
@ -37774,6 +37832,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||
WMI_RETURN_STRING(WMI_PEER_ACTIVE_TRAFFIC_MAP_CMDID);
|
||||
WMI_RETURN_STRING(WMI_REQUEST_OPM_STATS_CMDID);
|
||||
WMI_RETURN_STRING(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID);
|
||||
WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID);
|
||||
}
|
||||
|
||||
return (A_UINT8 *) "Invalid WMI cmd";
|
||||
|
|
@ -48480,6 +48539,17 @@ typedef struct {
|
|||
A_UINT32 pdev_id; /** pdev_id for identifying the MAC */
|
||||
} wmi_request_opm_stats_cmd_fixed_param;
|
||||
|
||||
/* wmi command to suspend SAP vdev */
|
||||
typedef struct {
|
||||
/** TLV tag and len; tag equals
|
||||
* WMITLV_TAG_STRUC_wmi_set_ap_suspend_resume_cmd_fixed_param */
|
||||
A_UINT32 tlv_header;
|
||||
/* VDEV identifier */
|
||||
A_UINT32 vdev_id; /* If 0xFF, find vdevs corresponding to MLD MAC address */
|
||||
wmi_mac_addr mld_mac_address; /* MLD MAC address */
|
||||
A_UINT32 is_ap_suspend; /* 1 = suspend, 0 = resume */
|
||||
} wmi_set_ap_suspend_resume_fixed_param;
|
||||
|
||||
|
||||
|
||||
/* ADD NEW DEFS HERE */
|
||||
|
|
|
|||
|
|
@ -37,7 +37,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_ 1473
|
||||
#define __WMI_REVISION_ 1484
|
||||
|
||||
/** The Version Namespace should not be normally changed. Only
|
||||
* host and firmware of the same WMI namespace will work
|
||||
|
|
|
|||
Loading…
Reference in a new issue