mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qcacld-3.0: Update channel self Rx time to the user space
Currently, channel rx time is not being updated to user space as part of link stats. Instead channel tx_time is being overwritten with the same value. Due to this user space is not getting channel rx_time in the link stats. Update channel rx time in the channel link stats. Update representation of tx_time and rx_time in the ll_stats debugfs output to align with other stats. Change-Id: I850adb11169eb24c81f1e31a4ff498f4e20ab9c6 CRs-Fixed: 2765485
This commit is contained in:
parent
dae743c8f6
commit
c9daf6161f
2 changed files with 3 additions and 3 deletions
|
|
@ -294,7 +294,7 @@ void hdd_debugfs_process_radio_stats(struct hdd_adapter *adapter,
|
|||
len = scnprintf(
|
||||
buffer,
|
||||
DEBUGFS_LLSTATS_BUF_SIZE - ll_stats.len,
|
||||
"tx time %u rx time %u",
|
||||
", tx_time: %u, rx_time: %u",
|
||||
chan_stat->tx_time, chan_stat->rx_time);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -864,8 +864,8 @@ static int hdd_llstats_radio_fill_channels(struct hdd_adapter *adapter,
|
|||
channel_stats->tx_time) ||
|
||||
nla_put_u32(
|
||||
vendor_event,
|
||||
QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_TX_TIME,
|
||||
channel_stats->tx_time)) {
|
||||
QCA_WLAN_VENDOR_ATTR_LL_STATS_CHANNEL_RX_TIME,
|
||||
channel_stats->rx_time)) {
|
||||
hdd_err("nla_put failed");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue