qcacld-3.0: Use netdev to get dp_interface
Currently, while we request netdev stats we use the MAC address to find the DP interface. There is a possibility that while we are passing mac address to find DP interface in parallel dynamic MAC update can happen which will cause MAC address mismatch, which will result in the DP interface not found issue. To fix the issue, instead of MAC address use netdev name to search DP interface from the list of available DP interface. Change-Id: Ib04ce2fc7193be4733b16707600a10d3d729813c CRs-Fixed: 3247725
这个提交包含在:
@@ -373,11 +373,11 @@ ucfg_dp_softap_start_xmit(qdf_nbuf_t nbuf, struct wlan_objmgr_vdev *vdev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_get_dev_stats() - Get netdev stats info
|
||||
* @intf_addr: DP interface MAC address
|
||||
* @dev: Pointer to network device
|
||||
*
|
||||
* Return: qdf_net_dev_stats info
|
||||
*/
|
||||
qdf_net_dev_stats *ucfg_dp_get_dev_stats(struct qdf_mac_addr *intf_addr);
|
||||
qdf_net_dev_stats *ucfg_dp_get_dev_stats(qdf_netdev_t dev);
|
||||
|
||||
/**
|
||||
* ucfg_dp_inc_rx_pkt_stats() - DP increment RX pkt stats
|
||||
|
在新工单中引用
屏蔽一个用户