Home
last modified time | relevance | path

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

/hardware/interfaces/wifi/aidl/default/tests/
Daidl_struct_util_unit_tests.cpp433 legacy_hal::LinkLayerStats legacy_stats{}; in TEST_F() local
434 legacy_stats.radios.push_back(legacy_hal::LinkLayerRadioStats{}); in TEST_F()
435 legacy_stats.radios.push_back(legacy_hal::LinkLayerRadioStats{}); in TEST_F()
436 legacy_stats.peers.push_back(legacy_hal::WifiPeerInfo{}); in TEST_F()
437 legacy_stats.peers.push_back(legacy_hal::WifiPeerInfo{}); in TEST_F()
438 legacy_stats.iface.beacon_rx = rand(); in TEST_F()
440 legacy_stats.iface.rssi_mgmt = rand() % 128; in TEST_F()
441 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].rx_mpdu = rand(); in TEST_F()
442 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].tx_mpdu = rand(); in TEST_F()
443 legacy_stats.iface.ac[legacy_hal::WIFI_AC_BE].mpdu_lost = rand(); in TEST_F()
[all …]
/hardware/interfaces/wifi/aidl/default/
Daidl_struct_util.cpp188 bool convertLegacyWakeReasonStatsToAidl(const legacy_hal::WakeReasonStats& legacy_stats, in convertLegacyWakeReasonStatsToAidl() argument
194 aidl_stats->totalCmdEventWakeCnt = legacy_stats.wake_reason_cnt.total_cmd_event_wake; in convertLegacyWakeReasonStatsToAidl()
195 aidl_stats->cmdEventWakeCntPerType = uintToIntVec(legacy_stats.cmd_event_wake_cnt); in convertLegacyWakeReasonStatsToAidl()
196 aidl_stats->totalDriverFwLocalWakeCnt = legacy_stats.wake_reason_cnt.total_driver_fw_local_wake; in convertLegacyWakeReasonStatsToAidl()
197 aidl_stats->driverFwLocalWakeCntPerType = uintToIntVec(legacy_stats.driver_fw_local_wake_cnt); in convertLegacyWakeReasonStatsToAidl()
198 aidl_stats->totalRxPacketWakeCnt = legacy_stats.wake_reason_cnt.total_rx_data_wake; in convertLegacyWakeReasonStatsToAidl()
200 legacy_stats.wake_reason_cnt.rx_wake_details.rx_unicast_cnt; in convertLegacyWakeReasonStatsToAidl()
202 legacy_stats.wake_reason_cnt.rx_wake_details.rx_multicast_cnt; in convertLegacyWakeReasonStatsToAidl()
204 legacy_stats.wake_reason_cnt.rx_wake_details.rx_broadcast_cnt; in convertLegacyWakeReasonStatsToAidl()
206 legacy_stats.wake_reason_cnt.rx_multicast_wake_pkt_info.ipv4_rx_multicast_addr_cnt; in convertLegacyWakeReasonStatsToAidl()
[all …]
Daidl_struct_util.h50 bool convertLegacyWakeReasonStatsToAidl(const legacy_hal::WakeReasonStats& legacy_stats,
95 bool convertLegacyLinkLayerStatsToAidl(const legacy_hal::LinkLayerStats& legacy_stats,
Dwifi_sta_iface.cpp563 legacy_hal::LinkLayerStats legacy_stats{}; in getLinkLayerStatsInternal() local
565 legacy_status = legacy_hal_.lock()->getLinkLayerStats(ifname_, legacy_stats, legacy_ml_stats); in getLinkLayerStatsInternal()
570 if (legacy_stats.valid) { in getLinkLayerStatsInternal()
571 if (!aidl_struct_util::convertLegacyLinkLayerStatsToAidl(legacy_stats, &aidl_stats)) { in getLinkLayerStatsInternal()
Dwifi_chip.cpp1206 legacy_hal::WakeReasonStats legacy_stats; in getDebugHostWakeReasonStatsInternal() local
1207 std::tie(legacy_status, legacy_stats) = in getDebugHostWakeReasonStatsInternal()
1213 if (!aidl_struct_util::convertLegacyWakeReasonStatsToAidl(legacy_stats, &aidl_stats)) { in getDebugHostWakeReasonStatsInternal()
Dwifi_legacy_hal.h640 legacy_hal::LinkLayerStats& legacy_stats,