qcacld-3.0: Use dp_link in txrx path

Use dp_link in the core TX/RX path instead
of currently used dp_intf.

Change-Id: Id32a4053094fae844d190043d57f85a8e9659339
CRs-Fixed: 3518897
This commit is contained in:
Rakesh Pillai
2023-03-08 02:44:26 -08:00
committed by Rahul Choudhary
parent a3161f8f5b
commit 1e093bec44
7 changed files with 74 additions and 37 deletions

View File

@@ -641,7 +641,8 @@ struct wlan_dp_psoc_callbacks {
qdf_netdev_t (*dp_get_netdev_by_vdev_mac)(struct qdf_mac_addr *mac_addr);
unsigned int (*dp_get_tx_flow_low_watermark)(hdd_cb_handle cb_ctx,
uint8_t intf_id);
void (*dp_get_tx_resource)(uint8_t intf_id, struct qdf_mac_addr *mac_addr);
void (*dp_get_tx_resource)(uint8_t link_id_id,
struct qdf_mac_addr *mac_addr);
void (*dp_get_tsf_time)(uint8_t intf_id,
uint64_t input_time, uint64_t *tsf_time);

View File

@@ -1321,7 +1321,7 @@ ucfg_dp_softap_start_xmit(qdf_nbuf_t nbuf, struct wlan_objmgr_vdev *vdev)
dp_intf = dp_link->dp_intf;
qdf_atomic_inc(&dp_intf->num_active_task);
status = dp_softap_start_xmit(nbuf, dp_intf);
status = dp_softap_start_xmit(nbuf, dp_link);
qdf_atomic_dec(&dp_intf->num_active_task);
return status;