Searched refs:wifi_stats (Results 1 – 1 of 1) sorted by relevance
1285 wlan_pkt_stats_t *wifi_stats; in nxp_wifi_stats() local1307 wifi_stats = k_malloc(sizeof(wlan_pkt_stats_t)); in nxp_wifi_stats()1308 if (!wifi_stats) { in nxp_wifi_stats()1313 memset(wifi_stats, 0, sizeof(wlan_pkt_stats_t)); in nxp_wifi_stats()1314 ret = nxp_wifi_get_detail_stats(if_handle->state.interface, wifi_stats); in nxp_wifi_stats()1317 k_free(wifi_stats); in nxp_wifi_stats()1321 if (wifi_stats->bcn_rcv_cnt >= if_handle->stats.sta_mgmt.beacons_rx) { in nxp_wifi_stats()1322 stats->sta_mgmt.beacons_rx = wifi_stats->bcn_rcv_cnt - in nxp_wifi_stats()1328 stats->sta_mgmt.beacons_rx = wifi_stats->bcn_rcv_cnt; in nxp_wifi_stats()1331 if (wifi_stats->bcn_miss_cnt >= if_handle->stats.sta_mgmt.beacons_miss) { in nxp_wifi_stats()[all …]