mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 16:46:15 -04:00
qcacld-3.0: Set Netdev Tx/Rx stat counter for IPA uC data path
Netdev Tx/Rx stat counters doesn't reflect packet counter from IPA offload data path. Change to add Tx/Rx packet counts from IPA uC data path through IPA uC stats query. Change-Id: If80dee818e97f4f75407885c20ee9abf2257be7c CRs-Fixed: 956283
This commit is contained in:
parent
986a27f6e9
commit
2aa880cc76
1 changed files with 5 additions and 0 deletions
|
|
@ -6619,6 +6619,11 @@ static void hdd_bus_bw_work_handler(struct work_struct *work)
|
|||
tx_packets += (uint64_t)ipa_tx_packets;
|
||||
rx_packets += (uint64_t)ipa_rx_packets;
|
||||
|
||||
if (adapter) {
|
||||
adapter->stats.tx_packets += ipa_tx_packets;
|
||||
adapter->stats.rx_packets += ipa_rx_packets;
|
||||
}
|
||||
|
||||
if (!connected) {
|
||||
hdd_err("bus bandwidth timer running in disconnected state");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Reference in a new issue