1
0

qcacmn: Add support for handling MLO TSF sync capability

Add APIs to init the TSF sync capability based on
WMI_SERVICE_MLO_TSF_SYNC service bit sent from FW,
per ML group.

Change-Id: Ie8ca48f8f6065f02eefaea85ad967e32d09787fc
CRs-Fixed: 3470139
Este cometimento está contido em:
Jhalak Naik
2023-04-17 14:44:32 +05:30
ascendente 936a78882e
cometimento 7acca67784
5 ficheiros modificados com 38 adições e 0 eliminações

Ver ficheiro

@@ -147,6 +147,7 @@ struct mlo_chip_info {
* @event: event for teardown completion
* @dp_handle: pointer to DP ML context
* @chip_info: chip specific info of the soc
* @tsf_sync_enabled: MLO TSF sync is enabled at FW or not
*/
struct mlo_setup_info {
uint8_t ml_grp_id;
@@ -164,6 +165,7 @@ struct mlo_setup_info {
qdf_event_t event;
struct cdp_mlo_ctxt *dp_handle;
struct mlo_chip_info chip_info;
bool tsf_sync_enabled;
};
/**

Ver ficheiro

@@ -434,6 +434,7 @@ void mlo_setup_init(uint8_t total_grp)
mlo_ctx->setup_info = setup_info;
mlo_ctx->setup_info[0].ml_grp_id = 0;
for (id = 0; id < total_grp; id++) {
mlo_ctx->setup_info[id].tsf_sync_enabled = true;
if (qdf_event_create(&mlo_ctx->setup_info[id].event) !=
QDF_STATUS_SUCCESS)
mlo_err("Unable to create teardown event");