qcacmn: Add DP API to evaluate if TX ILP needs to be enabled

Add DP API to evaluate if TX ILP needs to be enabled,
it is only enabled if following two conditions are met,
(1) INI for TX ILP is enabled
(2) htt msdu index to qtype mapping table index 3 value is
HTT_MSDU_QTYPE_LATENCY_TOLERANT

Change-Id: I4d0c1103941b8b12b8441762dc6b45d28ee1df21
CRs-Fixed: 3447096
Этот коммит содержится в:
Jinwei Chen
2023-03-27 05:39:24 -07:00
коммит произвёл Madan Koyyalamudi
родитель 72beba762d
Коммит 401521fc7c
6 изменённых файлов: 125 добавлений и 1 удалений

Просмотреть файл

@@ -1717,6 +1717,7 @@ void (*peer_send_wds_disconnect)(struct cdp_ctrl_objmgr_psoc *psoc,
* @set_bus_vote_lvl_high: The bus lvl is set to high or low based on tput
* @get_bus_vote_lvl_high: Get bus lvl to determine whether or not get
* rx rate stats
* @evaluate_update_tx_ilp_cfg: Evaluate and update DP TX ILP configuration
*
* Function pointers for miscellaneous soc/pdev/vdev related operations.
*/
@@ -1819,6 +1820,11 @@ struct cdp_misc_ops {
void (*set_bus_vote_lvl_high)(struct cdp_soc_t *soc_hdl, bool high);
bool (*get_bus_vote_lvl_high)(struct cdp_soc_t *soc_hdl);
#endif
#ifdef DP_TX_PACKET_INSPECT_FOR_ILP
bool (*evaluate_update_tx_ilp_cfg)(struct cdp_soc_t *soc_hdl,
uint8_t num_msdu_idx_map,
uint8_t *msdu_idx_map_arr);
#endif
};
/**