qcacmn: Add support to configure MSI registers for Direct Link CE
The MSI address and data information for Direct Link copy engines will be available once the WiFi driver on LPASS is initialized. Add support to configure the IPCC address and data values into Direct Link copy engines at runtime. Change-Id: I5e7dff90c2f1ff764462c235deb5795ed019a16b CRs-Fixed: 3316679
This commit is contained in:

committed by
Madan Koyyalamudi

parent
99615e170d
commit
e228622034
@@ -2437,4 +2437,25 @@ QDF_STATUS hif_unregister_umac_reset_handler(struct hif_opaque_softc *hif_scn)
|
||||
|
||||
#endif /* DP_UMAC_HW_RESET_SUPPORT */
|
||||
|
||||
#ifdef FEATURE_DIRECT_LINK
|
||||
/**
|
||||
* hif_set_irq_config_by_ceid() - Set irq configuration for CE given by id
|
||||
* @scn: hif opaque handle
|
||||
* @ce_id: CE id
|
||||
* @addr: irq trigger address
|
||||
* @data: irq trigger data
|
||||
*
|
||||
* Return: QDF status
|
||||
*/
|
||||
QDF_STATUS
|
||||
hif_set_irq_config_by_ceid(struct hif_opaque_softc *scn, uint8_t ce_id,
|
||||
uint64_t addr, uint32_t data);
|
||||
#else
|
||||
static inline QDF_STATUS
|
||||
hif_set_irq_config_by_ceid(struct hif_opaque_softc *scn, uint8_t ce_id,
|
||||
uint64_t addr, uint32_t data)
|
||||
{
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
#endif
|
||||
#endif /* _HIF_H_ */
|
||||
|
Reference in New Issue
Block a user