qcacmn: Fix qdf abstraction for IPA rx_bank_id
rx_bank_id defined in IPA driver is a write parameter for WLAN. Therefore abstract the QDF macro in a set way, where bank id obtained from wlan driver is passed as an input parameter to the macro and rx_bank_id field is then being set within the macro itself. Without the fix, setting the bank id to IPA driver is like MACRO_FOO(foo) = val. On build targets with kernel version < 5.15.41, this can lead to unexpected build error. Change-Id: I727b8af0ad7bd076e7756b51682842e947eb0a36 CRs-Fixed: 3291711
Cette révision appartient à :

révisé par
Madan Koyyalamudi

Parent
b6c2183b7a
révision
1f49ac1d70
@@ -121,8 +121,8 @@ typedef __qdf_ipa_wdi_pipe_setup_info_smmu_t qdf_ipa_wdi_pipe_setup_info_smmu_t;
|
||||
__QDF_IPA_WDI_SETUP_INFO_SMMU_PKT_OFFSET(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_SMMU_DESC_FORMAT_TEMPLATE(txrx) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_SMMU_DESC_FORMAT_TEMPLATE(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_SMMU_RX_BANK_ID(txrx) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_SMMU_RX_BANK_ID(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_SMMU_RX_BANK_ID(txrx, bid) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_SMMU_RX_BANK_ID(txrx, bid)
|
||||
|
||||
typedef __qdf_ipa_ep_cfg_t qdf_ipa_ep_cfg_t;
|
||||
|
||||
@@ -268,8 +268,8 @@ typedef __qdf_ipa_wdi_pipe_setup_info_t qdf_ipa_wdi_pipe_setup_info_t;
|
||||
__QDF_IPA_WDI_SETUP_INFO_PKT_OFFSET(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_DESC_FORMAT_TEMPLATE(txrx) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_DESC_FORMAT_TEMPLATE(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_RX_BANK_ID(txrx) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_RX_BANK_ID(txrx)
|
||||
#define QDF_IPA_WDI_SETUP_INFO_RX_BANK_ID(txrx, bid) \
|
||||
__QDF_IPA_WDI_SETUP_INFO_RX_BANK_ID(txrx, bid)
|
||||
|
||||
/**
|
||||
* qdf_ipa_wdi_conn_in_params_t - information provided by
|
||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur