android_kernel_xiaomi_sm8350/core/dp
Jianmin Zhu 3e3b907f84 qcacld-3.0: Legacy tx flow control fails and log floods
In DUT sta mode, when tcp/udp stream between sta and PC ethernet at same
subnet, dst mac addr of each tx skb is not bssid, but ethernet mac of the
PC. Since only self peer and bssid peer are created on DUT, the ethernet
mac addr of the PC can't be found from peer list at all by
ol_txrx_peer_find_hash_find_get_ref, ol_txrx_peer_get_ref_by_addr and
ol_txrx_get_vdev_by_peer_addr return NULL. For each tx skb, 2 txrx log
will print and be saved to storage by cnss_diag, throughput is impacted
and LEGACY_TX_FLOW_CONTROL doesn't work too.

Fix: In sta mode, use connected bssid to find dp peer and vdev.

Log sample:
18769633: [soft_i][0x650c858e][08:11:05.109017]wlan: [0:IH:TXRX] PDEV
not found for peer_addr:a0:36:9f:21:18:88
18769633: [soft_i][0x650c85b3][08:11:05.109019]wlan: [0:IH:TXRX]
ol_txrx_get_tx_resource: Invalid peer address: a0:36:9f:21:18:88

Change-Id: Ib87bbe5cbb1c8d0aa31d06b32dc98d9b3b9456b3
CRs-Fixed: 2715377
2020-07-24 17:51:11 -07:00
..
htt qcacld-3.0: Add update_seq_num flag to htt_rx_mpdu_desc_seq_num 2020-05-15 06:55:57 -07:00
ol/inc qcacld-3.0: Add update_seq_num flag to htt_rx_mpdu_desc_seq_num 2020-05-15 06:55:57 -07:00
txrx qcacld-3.0: Legacy tx flow control fails and log floods 2020-07-24 17:51:11 -07:00
txrx3.0 qcacld-3.0: Add support to control fisa per vdev at runtime 2020-07-24 15:17:59 -07:00