diff --git a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_defs.h b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_defs.h index 868b11ae30e0..85353959dcd5 100644 --- a/umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_defs.h +++ b/umac/cp_stats/dispatcher/inc/wlan_cp_stats_mc_defs.h @@ -303,6 +303,7 @@ struct stats_event { uint32_t num_chain_rssi_stats; struct chain_rssi_event *vdev_chain_rssi; uint32_t tx_rate; + uint32_t rx_rate; enum tx_rate_info tx_rate_flags; }; diff --git a/umac/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c b/umac/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c index cf51fcebed33..e32ca2aa2be8 100644 --- a/umac/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c +++ b/umac/cp_stats/dispatcher/src/wlan_cp_stats_mc_tgt_api.c @@ -571,6 +571,7 @@ tgt_mc_cp_stats_prepare_n_send_raw_station_stats(struct wlan_objmgr_psoc *psoc, * it in units of 500kbps which is expected by UMAC */ info.tx_rate = peer_mc_stats->tx_rate / 500; + info.rx_rate = peer_mc_stats->rx_rate / 500; wlan_cp_stats_peer_obj_unlock(peer_cp_stats_priv); end: