qcacmn: Add API to set ce service max rx indication flush
Add API to set ce service max rx indication flush num during load time for handling of messages in CE based on ini configured one. Change-Id: I49c3d6ebac34076cd5ad5e352e78d2fec7c8ee89 CRs-Fixed: 2068375
This commit is contained in:

committed by
nshrivas

parent
2874cca041
commit
1ea8292209
@@ -603,6 +603,12 @@ struct hif_pipe_addl_info {
|
||||
struct hif_dl_pipe_info dl_pipe;
|
||||
};
|
||||
|
||||
#ifdef CONFIG_SLUB_DEBUG_ON
|
||||
#define MSG_FLUSH_NUM 16
|
||||
#else /* PERF build */
|
||||
#define MSG_FLUSH_NUM 32
|
||||
#endif /* SLUB_DEBUG_ON */
|
||||
|
||||
struct hif_bus_id;
|
||||
|
||||
void hif_claim_device(struct hif_opaque_softc *hif_ctx);
|
||||
@@ -945,4 +951,17 @@ void hif_set_ce_service_max_yield_time(struct hif_opaque_softc *hif,
|
||||
*/
|
||||
unsigned long long
|
||||
hif_get_ce_service_max_yield_time(struct hif_opaque_softc *hif);
|
||||
|
||||
/**
|
||||
* hif_set_ce_service_max_rx_ind_flush() - sets CE service max rx ind flush
|
||||
* @hif: hif context
|
||||
* @ce_service_max_rx_ind_flush: CE service max rx ind flush to set
|
||||
*
|
||||
* This API stores CE service max rx ind flush in hif context based
|
||||
* on ini value.
|
||||
*
|
||||
* Return: void
|
||||
*/
|
||||
void hif_set_ce_service_max_rx_ind_flush(struct hif_opaque_softc *hif,
|
||||
uint8_t ce_service_max_rx_ind_flush);
|
||||
#endif /* _HIF_H_ */
|
||||
|
Reference in New Issue
Block a user