mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
Merge 220284b6fd on remote branch
Change-Id: Icd35efb826d60403ae7b3b68553069f299734c5c
This commit is contained in:
commit
df830c6ef7
9 changed files with 2056 additions and 10 deletions
1
fw/htt.h
1
fw/htt.h
|
|
@ -833,6 +833,7 @@ typedef enum {
|
|||
HTT_STATS_TX_PDEV_WIFI_RADAR_TAG = 200, /* htt_stats_tx_pdev_wifi_radar_tlv */
|
||||
HTT_STATS_TXBF_OFDMA_BE_PARBW_TAG = 201, /* htt_stats_txbf_ofdma_be_parbw_tlv */
|
||||
HTT_STATS_RX_PDEV_RSSI_HIST_TAG = 202, /* htt_stats_rx_pdev_rssi_hist_tlv */
|
||||
HTT_STATS_TX_VDEV_NSS_TAG = 203, /* htt_stats_tx_vdev_nss_tlv */
|
||||
|
||||
HTT_STATS_MAX_TAG,
|
||||
} htt_stats_tlv_tag_t;
|
||||
|
|
|
|||
|
|
@ -676,6 +676,14 @@ enum htt_dbg_ext_stats_type {
|
|||
*/
|
||||
HTT_DBG_GTX_STATS = 68,
|
||||
|
||||
/** HTT_DBG_EXT_STATS_TX_VDEV_NSS
|
||||
* PARAMS:
|
||||
* - No Params
|
||||
* RESP MSG:
|
||||
* - htt_stats_tx_vdev_nss_tlv
|
||||
*/
|
||||
HTT_DBG_EXT_STATS_TX_VDEV_NSS = 69,
|
||||
|
||||
|
||||
/* keep this last */
|
||||
HTT_DBG_NUM_EXT_STATS = 256,
|
||||
|
|
@ -4641,6 +4649,7 @@ typedef struct {
|
|||
A_UINT32 incomplete_llc;
|
||||
A_UINT32 eapol_duplicate_m3;
|
||||
A_UINT32 eapol_duplicate_m4;
|
||||
A_UINT32 eapol_invalid_mac;
|
||||
} htt_stats_tx_de_classify_failed_tlv;
|
||||
/* preserve old name alias for new name consistent with the tag name */
|
||||
typedef htt_stats_tx_de_classify_failed_tlv htt_tx_de_classify_failed_stats_tlv;
|
||||
|
|
@ -5405,6 +5414,7 @@ typedef struct {
|
|||
#define HTT_TX_PDEV_STATS_NUM_LTF 4
|
||||
#define HTT_TX_PDEV_STATS_NUM_11AX_TRIGGER_TYPES 6
|
||||
#define HTT_TX_PDEV_STATS_NUM_11BE_TRIGGER_TYPES 6
|
||||
#define HTT_TX_VDEV_STATS_NUM_SPATIAL_STREAMS 4
|
||||
#define HTT_TX_NUM_OF_SOUNDING_STATS_WORDS \
|
||||
(HTT_TX_PDEV_STATS_NUM_BW_COUNTERS * \
|
||||
HTT_TX_PDEV_STATS_NUM_AX_MUMIMO_USER_STATS)
|
||||
|
|
@ -5624,6 +5634,20 @@ typedef struct {
|
|||
/* preserve old name alias for new name consistent with the tag name */
|
||||
typedef htt_stats_tx_pdev_rate_stats_tlv htt_tx_pdev_rate_stats_tlv;
|
||||
|
||||
typedef struct {
|
||||
htt_tlv_hdr_t tlv_hdr;
|
||||
A_UINT32 vdev_id; /* which vdev produced these per-Nss tx stats */
|
||||
/* tx_nss:
|
||||
* Count how many MPDUs the vdev has sent using each possible number
|
||||
* of spatial streams:
|
||||
* tx_nss[0] -> number of MPDUs transmitted using Nss=1
|
||||
* tx_nss[1] -> number of MPDUs transmitted using Nss=2
|
||||
* tx_nss[2] -> number of MPDUs transmitted using Nss=3
|
||||
* tx_nss[3] -> number of MPDUs transmitted using Nss=4
|
||||
*/
|
||||
A_UINT32 tx_nss[HTT_TX_VDEV_STATS_NUM_SPATIAL_STREAMS];
|
||||
} htt_stats_tx_vdev_nss_tlv;
|
||||
|
||||
typedef struct {
|
||||
/* 11be mode pdev rate stats; placed in a separate TLV to adhere to size restrictions */
|
||||
htt_tlv_hdr_t tlv_hdr;
|
||||
|
|
|
|||
|
|
@ -191,6 +191,7 @@ typedef enum {
|
|||
WLAN_MODULE_PHYLIB_RRI, /* 0x94 */
|
||||
WLAN_MODULE_PHYLIB_SSCAN, /* 0x95 */
|
||||
WLAN_MODULE_PHYLIB_RSVD, /* 0x96 */
|
||||
WLAN_MODULE_USD, /* 0x97 */
|
||||
|
||||
|
||||
WLAN_MODULE_ID_MAX,
|
||||
|
|
|
|||
1834
fw/wlan_nan_msg.h
Normal file
1834
fw/wlan_nan_msg.h
Normal file
File diff suppressed because it is too large
Load diff
15
fw/wlan_nan_platform.h
Normal file
15
fw/wlan_nan_platform.h
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
/*
|
||||
* Copyright (c) 2024 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* SPDX-License-Identifier: ISC
|
||||
*/
|
||||
|
||||
#ifndef _WLAN_NAN_PLATFORM_H_
|
||||
#define _WLAN_NAN_PLATFORM_H_
|
||||
|
||||
typedef struct
|
||||
{
|
||||
}NAN_PLATFORM_MSG_HEADER;
|
||||
|
||||
#define WLAN_NAN_MSG_COMMON_HEADER_V2
|
||||
|
||||
#endif /* _WLAN_NAN_PLATFORM_H_ */
|
||||
|
|
@ -683,6 +683,10 @@ typedef enum {
|
|||
*/
|
||||
WMI_SERVICE_IS_TARGET_IPA = 425,
|
||||
WMI_SERVICE_THERM_THROT_TX_CHAIN_MASK = 426, /*FW supports thermal throttling dynamic Tx ChainMask update */
|
||||
WMI_SERVICE_SPLIT_PHY_PDEV_SUSPEND_RESUME_SUPPORT = 427, /* Indicates FW support pdev suspend/resume in split-phy radio */
|
||||
WMI_SERVICE_USD_SUPPORT = 428, /* Indicates FW supports Unsynchronized Service Discovery */
|
||||
WMI_SERVICE_THERM_THROT_5_LEVELS = 429, /* Indicates FW support 5 thermal throttling levels */
|
||||
WMI_SERVICE_PROTECTED_TWT = 430, /* Indicates FW supports protected TWT operation */
|
||||
|
||||
|
||||
WMI_MAX_EXT2_SERVICE
|
||||
|
|
|
|||
|
|
@ -1449,6 +1449,8 @@ typedef enum {
|
|||
WMITLV_TAG_STRUC_wmi_mlo_peer_tid_to_link_map_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_usd_service_cmd_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_usd_service_event_fixed_param,
|
||||
WMITLV_TAG_STRUC_wmi_vdev_create_wfdr2_mode_params,
|
||||
WMITLV_TAG_STRUC_wmi_pdev_power_boost_event_fixed_param,
|
||||
} WMITLV_TAG_ID;
|
||||
/*
|
||||
* IMPORTANT: Please add _ALL_ WMI Commands Here.
|
||||
|
|
@ -2331,6 +2333,7 @@ typedef enum {
|
|||
OP(WMI_MLO_TLT_SELECTION_FOR_TID_SPRAY_EVENTID) \
|
||||
OP(WMI_MLO_PEER_TID_TO_LINK_MAP_EVENTID) \
|
||||
OP(WMI_USD_SERVICE_EVENTID) \
|
||||
OP(WMI_PDEV_POWER_BOOST_EVENTID) \
|
||||
/* add new EVT_LIST elements above this line */
|
||||
|
||||
|
||||
|
|
@ -3557,7 +3560,8 @@ WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_SET_CUSTOM_AGGR_SIZE_CMDID);
|
|||
#define WMITLV_TABLE_WMI_VDEV_CREATE_CMDID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_vdev_create_cmd_fixed_param, wmi_vdev_create_cmd_fixed_param, fixed_param, WMITLV_SIZE_FIX) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_txrx_streams, cfg_txrx_streams, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_create_mlo_params, mlo_params, WMITLV_SIZE_VAR)
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_create_mlo_params, mlo_params, WMITLV_SIZE_VAR) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_ARRAY_STRUC, wmi_vdev_create_wfdr2_mode_params, wfdr2_mode, WMITLV_SIZE_VAR)
|
||||
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_VDEV_CREATE_CMDID);
|
||||
|
||||
|
|
@ -7732,6 +7736,11 @@ WMITLV_CREATE_PARAM_STRUC(WMI_MLO_PEER_TID_TO_LINK_MAP_EVENTID);
|
|||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_usd_service_event_fixed_param, wmi_usd_service_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_USD_SERVICE_EVENTID);
|
||||
|
||||
/* WMI Event used to send Power Boost status update */
|
||||
#define WMITLV_TABLE_WMI_PDEV_POWER_BOOST_EVENTID(id,op,buf,len) \
|
||||
WMITLV_ELEM(id,op,buf,len, WMITLV_TAG_STRUC_wmi_pdev_power_boost_event_fixed_param, wmi_pdev_power_boost_event_fixed_param, fixed_param, WMITLV_SIZE_FIX)
|
||||
WMITLV_CREATE_PARAM_STRUC(WMI_PDEV_POWER_BOOST_EVENTID);
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
|||
174
fw/wmi_unified.h
174
fw/wmi_unified.h
|
|
@ -1878,6 +1878,10 @@ typedef enum {
|
|||
/* Event to indicate xLNA is enabled */
|
||||
WMI_PDEV_ENABLE_XLNA_EVENTID,
|
||||
|
||||
/* Event to indicate ANN Power Boost update status from Target */
|
||||
WMI_PDEV_POWER_BOOST_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),
|
||||
|
|
@ -3520,6 +3524,16 @@ typedef struct {
|
|||
#define WMI_TARGET_CAP_QDATA_TX_LCE_FILTER_SUPPORT_SET(target_cap_flags, value)\
|
||||
WMI_SET_BITS(target_cap_flags, 15, 1, value)
|
||||
|
||||
#define WMI_TARGET_CAP_MPDU_STATS_PER_TX_NSS_SUPPORT_GET(target_cap_flags) \
|
||||
WMI_GET_BITS(target_cap_flags, 16, 1)
|
||||
#define WMI_TARGET_CAP_MPDU_STATS_PER_TX_NSS_SUPPORT_SET(target_cap_flags, value)\
|
||||
WMI_SET_BITS(target_cap_flags, 16, 1, value)
|
||||
|
||||
#define WMI_TARGET_CAP_POWER_BOOST_SUPPORT_GET(target_cap_flags) \
|
||||
WMI_GET_BITS(target_cap_flags, 17, 1)
|
||||
#define WMI_TARGET_CAP_POWER_BOOST_SUPPORT_SET(target_cap_flags) \
|
||||
WMI_SET_BITS(target_cap_flags, 17, 1, value)
|
||||
|
||||
|
||||
/*
|
||||
* wmi_htt_msdu_idx_to_htt_msdu_qtype GET/SET APIs
|
||||
|
|
@ -3666,7 +3680,9 @@ typedef struct {
|
|||
* Bit 13 - Support for multipass SAP
|
||||
* Bit 14 - Support for ML monitor mode
|
||||
* Bit 15 - Support for Qdata Tx LCE filter installation
|
||||
* Bits 31:16 - Reserved
|
||||
* Bit 16 - Support for MPDU stats per tx Nss capability
|
||||
* Bit 17 - Support for Power Boost capability
|
||||
* Bits 31:18 - Reserved
|
||||
*/
|
||||
A_UINT32 target_cap_flags;
|
||||
|
||||
|
|
@ -5371,6 +5387,7 @@ typedef enum {
|
|||
WMI_VENDOR1_REQ1_VERSION_3_40 = 4,
|
||||
WMI_VENDOR1_REQ1_VERSION_4_00 = 5,
|
||||
WMI_VENDOR1_REQ1_VERSION_4_10 = 6,
|
||||
WMI_VENDOR1_REQ1_VERSION_4_20 = 7,
|
||||
} WMI_VENDOR1_REQ1_VERSION;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -5386,6 +5403,12 @@ typedef enum {
|
|||
WMI_HOST_BAND_CAP_6GHZ = 0x04,
|
||||
} WMI_HOST_BAND_CAP;
|
||||
|
||||
typedef enum {
|
||||
WLAN_CONNECT_EXT_FEATURE_RSNO = 0,
|
||||
|
||||
NUM_WLAN_CONNECT_EXT_FEATURES /* keep last */
|
||||
} wlan_connect_ext_features;
|
||||
|
||||
/* HW features supported info */
|
||||
/* enum WMI_WIFI_STANDARD are possible values for WiFi standard bitfield */
|
||||
#define WMI_GET_WIFI_STANDARD(var, feature_bitmap) \
|
||||
|
|
@ -16675,6 +16698,9 @@ typedef struct {
|
|||
* wmi_vdev_create_mlo_params mlo_params[0,1];
|
||||
* optional TLV, only present for MLO vdev;
|
||||
* if the vdev is not MLO the array length should be 0.
|
||||
* wmi_vdev_create_wfdr2_mode_params wfdr2_mode[0,1];
|
||||
* picked as per WMI_VDEV_CREATE_WFDR2_MODES
|
||||
* to enable/disable NOA
|
||||
*/
|
||||
} wmi_vdev_create_cmd_fixed_param;
|
||||
|
||||
|
|
@ -16788,6 +16814,22 @@ typedef struct {
|
|||
wmi_mac_addr mld_macaddr;
|
||||
} wmi_vdev_create_mlo_params;
|
||||
|
||||
/*
|
||||
* this TLV structure is used to pass WFD R2 parameters on vdev create
|
||||
* to enable/disable NOA
|
||||
*/
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /** TLV tag and len; */
|
||||
A_UINT32 wfdr2_mode; /** WFD R2 modes as per WMI_VDEV_CREATE_WFDR2_MODES */
|
||||
} wmi_vdev_create_wfdr2_mode_params;
|
||||
|
||||
/** VDEV create WFD R2 modes */
|
||||
typedef enum {
|
||||
WMI_VDEV_CREATE_WFDR2_MODE = 0,
|
||||
WMI_VDEV_CREATE_WFDR2_PCC_MODE = 1,
|
||||
} WMI_VDEV_CREATE_WFDR2_MODES;
|
||||
|
||||
|
||||
/* this TLV structure used for pass mlo parameters on vdev start*/
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /** TLV tag and len; */
|
||||
|
|
@ -18930,6 +18972,12 @@ typedef enum {
|
|||
/* Update TWT_UNAVAIL_MODE */
|
||||
WMI_VDEV_PARAM_TWT_UNAVAIL_MODE, /* 0xC6 */
|
||||
|
||||
/*
|
||||
* Additional features supported for connection.
|
||||
* Value is from enum wlan_connect_ext_features
|
||||
*/
|
||||
WMI_VDEV_PARAM_CONNECT_EXT_FEATURES, /* 0xC7 */
|
||||
|
||||
|
||||
/*=== ADD NEW VDEV PARAM TYPES ABOVE THIS LINE ===
|
||||
* The below vdev param types are used for prototyping, and are
|
||||
|
|
@ -21237,6 +21285,7 @@ typedef struct {
|
|||
#define WMI_PEER_EXT_HE_CAPS_6GHZ_VALID 0x00000008 /* param he_caps_6ghz is valid or not */
|
||||
#define WMI_PEER_EXT_IS_QUALCOMM_NODE 0x00000010 /* Indicates if the peer connecting is a qualcomm node */
|
||||
#define WMI_PEER_EXT_IS_MESH_NODE 0x00000020 /* Indicates if the peer connecting is a mesh node */
|
||||
#define WMI_PEER_EXT_PROTECTED_TWT 0x00000040 /* Protected TWT operation Support field in Extended RSN Capabilities element */
|
||||
#define WMI_PEER_EXT_F_CRIT_PROTO_HINT_ENABLED 0x40000000
|
||||
|
||||
/**
|
||||
|
|
@ -24071,6 +24120,7 @@ typedef enum event_type_e {
|
|||
WOW_RTT_11AZ_EVENT, /* 32 + 13 */
|
||||
WOW_P2P_NOA_EVENT, /* 32 + 14 */
|
||||
WOW_XGAP_EVENT, /* 32 + 15 */
|
||||
WOW_PAGE_FAULT_EVENT, /* 32 + 16 */
|
||||
} WOW_WAKE_EVENT_TYPE;
|
||||
|
||||
typedef enum wake_reason_e {
|
||||
|
|
@ -24166,6 +24216,10 @@ typedef enum wake_reason_e {
|
|||
WOW_REASON_STX_WOW_HIGH_DUTY_CYCLE,
|
||||
/* WoW exit reason MCC lite */
|
||||
WOW_REASON_MCC_LITE,
|
||||
/* P2P CLI detected BMISS from DFS master AP */
|
||||
WOW_REASON_P2P_CLI_DFS_AP_BMISS_DETECTED,
|
||||
/* if Page Fault blocking feature enabled and PF observed under WoW */
|
||||
WOW_REASON_PF_BLOCKING_LAST_TIME,
|
||||
|
||||
/* add new WOW_REASON_ defs before this line */
|
||||
WOW_REASON_MAX,
|
||||
|
|
@ -25849,6 +25903,20 @@ typedef enum
|
|||
*/
|
||||
WMI_VENDOR_OUI_ACTION_FORCE_MLSR = 14,
|
||||
|
||||
/*
|
||||
* Disable AUX learning and AUX listen if OUI matches
|
||||
*/
|
||||
WMI_VENDOR_OUI_ACTION_DISABLE_AUXL = 15,
|
||||
|
||||
/*
|
||||
* Used to downgrade to 2 link ML connection for specific AP matchs OUI.
|
||||
* This is the preferred name, since it specifies that the downgraded
|
||||
* number of links is 2.
|
||||
*/
|
||||
WMI_VENDOR_OUI_ACTION_RESTRICT_MAX_2_MLO_LINKS = 16,
|
||||
/* alias for the above (less suitable, since it is less precise) */
|
||||
WMI_VENDOR_OUI_ACTION_RESTRICT_MAX_MLO_LINKS =
|
||||
WMI_VENDOR_OUI_ACTION_RESTRICT_MAX_2_MLO_LINKS,
|
||||
|
||||
/* Add any action before this line */
|
||||
WMI_VENDOR_OUI_ACTION_MAX_ACTION_ID
|
||||
|
|
@ -27491,16 +27559,19 @@ typedef struct
|
|||
A_UINT32 isLastResult; /*is this event a last event of the whole batch scan*/
|
||||
} wmi_batch_scan_result_event_fixed_param;
|
||||
|
||||
typedef enum {
|
||||
typedef enum { /* DEPRECATED - DO NOT USE */
|
||||
/** beacons not received from P2P GO */
|
||||
WMI_P2P_GO_BMISS = 0,
|
||||
/** beacons not received from P2 GO's STA's connected AP */
|
||||
WMI_DFS_AP_BMISS = 1,
|
||||
} wmi_dfs_ap_bmiss_reason;
|
||||
} wmi_dfs_ap_bmiss_reason; /* DEPRECATED - DO NOT USE */
|
||||
|
||||
typedef struct {
|
||||
A_UINT32 tlv_header; /* TLV tag and len; tag equals WMITLV_TAG_STRUC_wmi_p2p_cli_dfs_ap_bmiss_fixed_param*/
|
||||
A_UINT32 vdev_id;
|
||||
/* NOTE:
|
||||
* The reason_code field is deprecated, and should be ignored.
|
||||
*/
|
||||
A_UINT32 reason_code; /* contains a wmi_dfs_ap_bmiss_reason value */
|
||||
} wmi_p2p_cli_dfs_ap_bmiss_fixed_param;
|
||||
|
||||
|
|
@ -31529,6 +31600,8 @@ typedef struct {
|
|||
A_UINT32 vdev_id;
|
||||
/* picks values from WMI_USD_MODE_STATUS */
|
||||
A_UINT32 usd_mode_status;
|
||||
/* Instance ID of the service */
|
||||
A_UINT32 instance_id;
|
||||
} wmi_usd_service_event_fixed_param;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -33987,6 +34060,28 @@ typedef enum {
|
|||
* A_INT8 6G 320M Channel Center Freq 6265 CTL Limit Power OFDMA
|
||||
*/
|
||||
|
||||
BIOS_PARAM_TYPE_PPAG_DATA,
|
||||
/*
|
||||
* BIOS_PARAM_TYPE_PPAG_DATA Structure has 12 bytes as below,
|
||||
* antennaGain value unit is 0.25 dBm.
|
||||
* If Enable flag is 0, FW will not use PPAG antennaGain value of bios.
|
||||
*
|
||||
* A_UINT8 version
|
||||
* A_UINT8 enableFlag
|
||||
* A_INT8 antennaGain[GAIN_BANDS]; // 9bytes
|
||||
* A_UINT8 reserved
|
||||
* ==================== A_INT8 antennaGain[GAIN_BANDS]; =================
|
||||
* A_INT8 atennaGain for [2400, 2483)
|
||||
* A_INT8 atennaGain for [5150, 5250)
|
||||
* A_INT8 atennaGain for [5250, 5350)
|
||||
* A_INT8 atennaGain for [5470, 5725)
|
||||
* A_INT8 atennaGain for [5725, 5895)
|
||||
* A_INT8 atennaGain for [5925, 6425)
|
||||
* A_INT8 atennaGain for [6425, 6525)
|
||||
* A_INT8 atennaGain for [6525, 6875)
|
||||
* A_INT8 atennaGain for [6875, 7125)
|
||||
* ==============================================================
|
||||
*/
|
||||
|
||||
BIOS_PARAM_TYPE_MAX,
|
||||
} bios_param_type_e;
|
||||
|
|
@ -37094,6 +37189,8 @@ typedef struct {
|
|||
A_UINT32 pout_reduction_25db;
|
||||
/* tx chain mask: Chain mask to apply based on the temp level */
|
||||
A_UINT32 tx_chain_mask;
|
||||
/* duty cycle in ms for this level */
|
||||
A_UINT32 duty_cycle;
|
||||
} wmi_therm_throt_level_config_info;
|
||||
|
||||
typedef enum {
|
||||
|
|
@ -38051,6 +38148,7 @@ static INLINE A_UINT8 *wmi_id_to_name(A_UINT32 wmi_command)
|
|||
WMI_RETURN_STRING(WMI_SOC_TX_PACKET_CUSTOM_CLASSIFY_CMDID);
|
||||
WMI_RETURN_STRING(WMI_SET_AP_SUSPEND_RESUME_CMDID);
|
||||
WMI_RETURN_STRING(WMI_P2P_GO_DFS_AP_CONFIG_CMDID);
|
||||
WMI_RETURN_STRING(WMI_USD_SERVICE_CMDID);
|
||||
}
|
||||
|
||||
return (A_UINT8 *) "Invalid WMI cmd";
|
||||
|
|
@ -40434,6 +40532,17 @@ typedef struct {
|
|||
* than rssi_6g_threshold. If rssi_6g_threshold is 0, it should be ignored.
|
||||
*/
|
||||
A_INT32 rssi_6g_threshold; /* units = dBm */
|
||||
/** bss_load_alpha_pct
|
||||
* This parameter is used for updating the exponential average of the
|
||||
* BSS load:
|
||||
* new avg BSS load =
|
||||
* new BSS load measurement * alpha / 100 +
|
||||
* old avg BSS load * (100 - alpha) / 100
|
||||
* This parameter uses percent units. E.g. if bss_load_alpha_pct == 10,
|
||||
* the new average will be the sum of 10% of the new measurement + 90% of
|
||||
* the old average.
|
||||
*/
|
||||
A_UINT32 bss_load_alpha_pct;
|
||||
} wmi_roam_bss_load_config_cmd_fixed_param;
|
||||
|
||||
/** Deauth roam trigger parameters */
|
||||
|
|
@ -40704,6 +40813,11 @@ typedef enum {
|
|||
WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY,
|
||||
WMI_ROAM_TRIGGER_SUB_REASON_PERIODIC_TIMER_AFTER_INACTIVITY_CU,
|
||||
WMI_ROAM_TRIGGER_SUB_REASON_INACTIVITY_TIMER_CU,
|
||||
/* MLD_EXTRA_PARTIAL_SCAN:
|
||||
* FW triggers extra partial scan when all ml links are not found
|
||||
* during first partial scan.
|
||||
*/
|
||||
WMI_ROAM_TRIGGER_SUB_REASON_MLD_EXTRA_PARTIAL_SCAN,
|
||||
} WMI_ROAM_TRIGGER_SUB_REASON_ID;
|
||||
|
||||
typedef enum wmi_roam_invoke_status_error {
|
||||
|
|
@ -47665,6 +47779,7 @@ typedef struct {
|
|||
#define WMI_PDEV_SET_CUSTOM_TX_PWR_MAX_CHAIN_NUM 4
|
||||
|
||||
#define WMI_PDEV_SET_CUSTOM_TX_PWR_MAX_2G_RATE_NUM 18
|
||||
#define WMI_PDEV_SET_CUSTOM_TX_PWR_MAX_2G_RATE_NUM_EXT 8
|
||||
|
||||
#define WMI_PDEV_SET_CUSTOM_TX_PWR_MAX_5G_6G_RATE_NUM 24
|
||||
|
||||
|
|
@ -47678,14 +47793,14 @@ typedef struct {
|
|||
*/
|
||||
|
||||
/* currently 2GHz band has 2 chains (though space is allocated for up
|
||||
* to 4 chains) and each chain has 18 rates.
|
||||
* to 4 chains) and each chain has 18 rates and 8 extended rates.
|
||||
* bitmap_of_2GHz_band[0] -> chain 0 bitmap:
|
||||
* |bit 0|bit 1|......|bit 17|
|
||||
* |rate 0|rate 1|......|rate 17|
|
||||
* |bit 0|bit 1|......|bit 17| bit 18 |......| bit 25 |
|
||||
* |rate 0|rate 1|......|rate 17|ext rate 0|......|ext rate 7|
|
||||
*
|
||||
* bitmap_of_2GHz_band[1] -> chain 1 bitmap:
|
||||
* |bit 0|bit 1|......|bit 17|
|
||||
* |rate 0|rate 1|......|rate 17|
|
||||
* |bit 0|bit 1|......|bit 17| bit 18 |......| bit 25 |
|
||||
* |rate 0|rate 1|......|rate 17|ext rate 0|......|ext rate 7|
|
||||
*
|
||||
* bitmap_of_2GHz_band[2] -> reserved
|
||||
* bitmap_of_2GHz_band[3] -> reserved
|
||||
|
|
@ -48863,8 +48978,51 @@ typedef struct {
|
|||
A_UINT32 tlv_header;
|
||||
/* status takes values from WMI_MLO_TID_TO_LINK_MAP_STATUS */
|
||||
A_UINT32 status;
|
||||
/* Vdev_id on which T2LM command request is received */
|
||||
A_UINT32 vdev_id;
|
||||
} wmi_mlo_peer_tid_to_link_map_event_fixed_param;
|
||||
|
||||
typedef enum {
|
||||
WMI_EVENT_POWER_BOOST_START_TRAINING = 0,
|
||||
WMI_EVENT_POWER_BOOST_ABORT,
|
||||
WMI_EVENT_POWER_BOOST_COMPLETE,
|
||||
|
||||
WMI_EVENT_POWER_BOOST_MAX
|
||||
} wmi_pdev_power_boost_event_type;
|
||||
|
||||
typedef struct {
|
||||
/* WMITLV_TAG_STRUC_wmi_pdev_power_boost_event_fixed_param */
|
||||
A_UINT32 tlv_header;
|
||||
/* to identify for which pdev the event is sent */
|
||||
A_UINT32 pdev_id;
|
||||
/* enum wmi_pdev_power_boost_event_type to update the power boost status */
|
||||
A_UINT32 status;
|
||||
/* training_stage:
|
||||
* The training stage such as 1st, 2nd for which the I/Q samples are
|
||||
* updated in DDR.
|
||||
*/
|
||||
A_UINT32 training_stage;
|
||||
/* MCS value for which the current DPD training has been done */
|
||||
A_UINT32 mcs;
|
||||
/* bandwidth:
|
||||
* Bandwidth value in Mhz for which the current DPD training has been done
|
||||
*/
|
||||
A_UINT32 bandwidth;
|
||||
/* current target temperature while training the DPD packet in degree C */
|
||||
A_INT32 temperature_degreeC;
|
||||
/* primary channel frequency in MHz for which DPD training is done */
|
||||
A_UINT32 primary_chan_mhz;
|
||||
/** Center frequency 1 in MHz */
|
||||
A_UINT32 band_center_freq1;
|
||||
/** Center frequency 2 in MHz - valid only for 11ac/VHT 80+80 mode */
|
||||
A_UINT32 band_center_freq2;
|
||||
/* phy_mode:
|
||||
* PHY mode as listed by enum WLAN_PHY_MODE, for which the current DPD
|
||||
* training has been done
|
||||
*/
|
||||
A_UINT32 phy_mode;
|
||||
} wmi_pdev_power_boost_event_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_ 1505
|
||||
#define __WMI_REVISION_ 1523
|
||||
|
||||
/** 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