qcacmn: Add direct rx buffer changes for CFR requirements
CFR needs to correlate data received from direct dma ring and WMI event for tx completion. These two events can come in any order. To facilitate correlation CFR module has to hold on to the buffer until both events are received and then replenish buffer back to direct dma ring. To facilitate this requirement direct rx buf module is modified to change callback return to bool to indicate whether buffer can be replenished immediatley or not. Also add API to indiciate buffer release/replenish later. Change-Id: I40d3fdff82fd2828ada14b584da33a66052c6773 CRs-Fixed: 2403398
This commit is contained in:

committed by
nshrivas

parent
22b6ccb1ae
commit
6c879d4c76
@@ -185,9 +185,9 @@ QDF_STATUS spectral_unregister_dbr(struct wlan_objmgr_pdev *pdev);
|
||||
*
|
||||
* API to handle spectral dbr event
|
||||
*
|
||||
* Return: status
|
||||
* Return: true to release buf
|
||||
*/
|
||||
int spectral_dbr_event_handler(struct wlan_objmgr_pdev *pdev,
|
||||
struct direct_buf_rx_data *payload);
|
||||
bool spectral_dbr_event_handler(struct wlan_objmgr_pdev *pdev,
|
||||
struct direct_buf_rx_data *payload);
|
||||
#endif
|
||||
#endif /* _WLAN_SPECTRAL_UTILS_API_H_*/
|
||||
|
Reference in New Issue
Block a user