qcacmn: Changes needed for MLO soc attach

Changes needed for MLO soc attach to pass chip_id,
dp_ml_context from upper layer.

This change also takes care of assigning appropriate
RBM id for IDLE link descriptors based on chip_id.

Change-Id: I8f5f08c524d91942e6e458f048700b7bdd900107
This commit is contained in:
Chaithanya Garrepalli
2021-11-19 14:40:36 +05:30
committed by Madan Koyyalamudi
vanhempi 1faab04393
commit 70398a0ccd
17 muutettua tiedostoa jossa 182 lisäystä ja 57 poistoa

Näytä tiedosto

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -62,7 +63,8 @@ qdf_size_t dp_get_context_size_li(enum dp_context_type context_type)
}
}
static QDF_STATUS dp_soc_attach_li(struct dp_soc *soc)
static QDF_STATUS dp_soc_attach_li(struct dp_soc *soc,
struct cdp_soc_attach_params *params)
{
soc->wbm_sw0_bm_id = hal_tx_get_wbm_sw0_bm_id();