qca-wifi: Updating CFR's DBR handler API
DBR event handler needs parameters to config number of events to be packed and timeout until it can wait to pack these events. Add these parameters in CFR's DBR event registration. CRs-Fixed: 2415489 Change-Id: Id417221f3bebef40b8f8d75c0365c3c4ec01fec3
This commit is contained in:

gecommit door
Gerrit - the friendly Code Review server

bovenliggende
c4ae77d0e0
commit
de3c96a86a
@@ -518,12 +518,15 @@ target_if_register_to_dbr(struct wlan_objmgr_pdev *pdev)
|
||||
{
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
struct wlan_lmac_if_direct_buf_rx_tx_ops *dbr_tx_ops = NULL;
|
||||
struct dbr_module_config dbr_config;
|
||||
|
||||
psoc = wlan_pdev_get_psoc(pdev);
|
||||
dbr_tx_ops = &psoc->soc_cb.tx_ops.dbr_tx_ops;
|
||||
dbr_config.num_resp_per_event = DBR_NUM_RESP_PER_EVENT_CFR;
|
||||
dbr_config.event_timeout_in_ms = DBR_EVENT_TIMEOUT_IN_MS_CFR;
|
||||
if (dbr_tx_ops->direct_buf_rx_module_register) {
|
||||
return dbr_tx_ops->direct_buf_rx_module_register
|
||||
(pdev, DBR_MODULE_CFR,
|
||||
(pdev, DBR_MODULE_CFR, &dbr_config,
|
||||
cfr_dbr_event_handler);
|
||||
}
|
||||
|
||||
|
Verwijs in nieuw issue
Block a user