Home
last modified time | relevance | path

Searched refs:num_rate (Results 1 – 6 of 6) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dlink_layer_stats.cpp322 u32 *data_rem_len, wifi_peer_info *peer_info, u8 num_rate, u32 *outbuf_rem_len) in convertToExternalRatestatsStructure() argument
330 all_rates_size = num_rate * per_rate_size; in convertToExternalRatestatsStructure()
338 for (k = 0; k < num_rate; k++) { in convertToExternalRatestatsStructure()
342 num_rate, *data_rem_len, *offset); in convertToExternalRatestatsStructure()
374 int ret = 0, j = 0, num_rate = 0; in convertToExternalIfaceLinkstatStructure() local
416 num_rate = peer_info_ptr->num_rate; in convertToExternalIfaceLinkstatStructure()
417 if ((num_rate == NUM_RATE) || (num_rate == NUM_RATE_NON_BE)) { in convertToExternalIfaceLinkstatStructure()
418 all_rate_stats_per_peer_per_link_size = num_rate * sizeof(wifi_rate_stat); in convertToExternalIfaceLinkstatStructure()
419 if (num_rate && (*data_rem_len >= all_rate_stats_per_peer_per_link_size)) { in convertToExternalIfaceLinkstatStructure()
421 peer_info_ptr, num_rate, outbuf_rem_len); in convertToExternalIfaceLinkstatStructure()
[all …]
/hardware/interfaces/wifi/legacy_headers/include/hardware_legacy/
Dlink_layer_stats.h175 u32 num_rate; // number of rates member
/hardware/interfaces/wifi/aidl/default/
Dwifi_legacy_hal.cpp843 if (peer_ptr->num_rate > 0) { in copyPeerInfo()
845 peer.rate_stats.assign(peer_ptr->rate_stats, peer_ptr->rate_stats + peer_ptr->num_rate); in copyPeerInfo()
847 peer.peer_info.num_rate = 0; in copyPeerInfo()
852 (sizeof(wifi_rate_stat) * peer_ptr->num_rate)); in copyPeerInfo()
892 if (l_peer_info_stats_ptr->num_rate > 0) { in getLinkLayerStats()
896 l_peer_info_stats_ptr->rate_stats + l_peer_info_stats_ptr->num_rate); in getLinkLayerStats()
898 peer.peer_info.num_rate = 0; in getLinkLayerStats()
903 l_peer_info_stats_ptr->num_rate)); in getLinkLayerStats()
/hardware/qcom/wlan/wcn6740/qcwcn/wifi_hal/
Dllstats.cpp496 …stats->num_rate = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_NUM_… in get_wifi_peer_info()
500 stats->capabilities, stats->num_rate); in get_wifi_peer_info()
1229 num_rates += pPeerStats->num_rate; in handleResponse()
/hardware/qcom/wlan/legacy/qcwcn/wifi_hal/
Dllstats.cpp482 …stats->num_rate = nla_get_u32(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_NUM_… in get_wifi_peer_info()
486 stats->capabilities, stats->num_rate); in get_wifi_peer_info()
1213 num_rates += pPeerStats->num_rate; in handleResponse()
/hardware/broadcom/wlan/bcmdhd/halutil/
Dhalutil.cpp4415 printMsg("Num rate %d \n", local_peer_ptr->num_rate); in printPeerinfoStats()
4426 if ((local_peer_ptr->num_rate == NUM_RATES) || in update_peer_info_per_link()
4427 (local_peer_ptr->num_rate == NUM_EHT_RATES)) { in update_peer_info_per_link()
4434 updateRateStats(buf, local_peer_ptr->num_rate); in update_peer_info_per_link()
4567 int num_rate; variable
4622 num_rate = peer_info[0].num_rate; in onLinkStatsResults()
4623 printMsg("onLinkStatsResults num_rate = %d \n", num_rate); in onLinkStatsResults()
4628 if (num_rate == NUM_EHT_RATES) { in onLinkStatsResults()
4629 memset(eht_rate_stat, 0, num_rate*sizeof(wifi_rate_stat)); in onLinkStatsResults()
4630 memcpy(&eht_rate_stat, iface_stat->peer_info->rate_stats, num_rate*sizeof(wifi_rate_stat)); in onLinkStatsResults()
[all …]