|
@@ -784,13 +784,13 @@ static bool put_wifi_iface_stats(struct wifi_interface_stats *if_stat,
|
|
|
nla_put_u32(vendor_event,
|
|
|
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_MGMT_ACTION_TX,
|
|
|
link_stats->mgmt_action_tx) ||
|
|
|
- nla_put_u32(vendor_event,
|
|
|
+ nla_put_s32(vendor_event,
|
|
|
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_MGMT,
|
|
|
link_stats->rssi_mgmt) ||
|
|
|
- nla_put_u32(vendor_event,
|
|
|
+ nla_put_s32(vendor_event,
|
|
|
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_DATA,
|
|
|
link_stats->rssi_data) ||
|
|
|
- nla_put_u32(vendor_event,
|
|
|
+ nla_put_s32(vendor_event,
|
|
|
QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_RSSI_ACK,
|
|
|
link_stats->rssi_ack) ||
|
|
|
nla_put_u32(vendor_event,
|
|
@@ -5570,8 +5570,7 @@ static int wlan_hdd_get_station_remote(struct wiphy *wiphy,
|
|
|
|
|
|
for (i = 0; i < WMI_MAX_CHAINS; i++)
|
|
|
stainfo->peer_rssi_per_chain[i] =
|
|
|
- stats->peer_stats_info_ext->peer_rssi_per_chain[i] -
|
|
|
- WLAN_HDD_TGT_NOISE_FLOOR_DBM;
|
|
|
+ stats->peer_stats_info_ext->peer_rssi_per_chain[i];
|
|
|
|
|
|
qdf_mem_zero(&txrx_stats, sizeof(txrx_stats));
|
|
|
txrx_stats.tx_packets = stats->peer_stats_info_ext->tx_packets;
|
|
@@ -5581,8 +5580,7 @@ static int wlan_hdd_get_station_remote(struct wiphy *wiphy,
|
|
|
txrx_stats.tx_retries = stats->peer_stats_info_ext->tx_retries;
|
|
|
txrx_stats.tx_failed = stats->peer_stats_info_ext->tx_failed;
|
|
|
txrx_stats.tx_succeed = stats->peer_stats_info_ext->tx_succeed;
|
|
|
- txrx_stats.rssi = stats->peer_stats_info_ext->rssi
|
|
|
- - WLAN_HDD_TGT_NOISE_FLOOR_DBM;
|
|
|
+ txrx_stats.rssi = stats->peer_stats_info_ext->rssi;
|
|
|
wlan_hdd_fill_rate_info(&txrx_stats, stats->peer_stats_info_ext);
|
|
|
wlan_hdd_fill_station_info(hddctx->psoc, adapter,
|
|
|
sinfo, stainfo, &txrx_stats);
|