Lines Matching refs:status

81 int add_status_tag(tlv_log **tlvs, int status)  in add_status_tag()  argument
84 (u8 *)&status, *tlvs); in add_status_tag()
124 wifi_error status; in process_log_extscan_capabilities() local
205 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_log_extscan_capabilities()
206 if (status != WIFI_SUCCESS) { in process_log_extscan_capabilities()
209 return status; in process_log_extscan_capabilities()
220 wifi_error status; in process_bt_coex_scan_event() local
258 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_bt_coex_scan_event()
259 if (status != WIFI_SUCCESS) { in process_bt_coex_scan_event()
263 return status; in process_bt_coex_scan_event()
276 wifi_error status; in process_bt_coex_event() local
378 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_bt_coex_event()
379 if (status != WIFI_SUCCESS) { in process_bt_coex_event()
383 return status; in process_bt_coex_event()
394 wifi_error status; in process_extscan_event() local
520 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_extscan_event()
521 if (status != WIFI_SUCCESS) { in process_extscan_event()
525 return status; in process_extscan_event()
538 wifi_error status; in process_addba_success_event() local
564 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_addba_success_event()
565 if (status != WIFI_SUCCESS) { in process_addba_success_event()
569 return status; in process_addba_success_event()
582 wifi_error status; in process_addba_failed_event() local
608 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_addba_failed_event()
609 if (status != WIFI_SUCCESS) { in process_addba_failed_event()
613 return status; in process_addba_failed_event()
624 wifi_error status; in process_roam_event() local
751 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_roam_event()
752 if (status != WIFI_SUCCESS) { in process_roam_event()
756 return status; in process_roam_event()
763 wifi_error status; in process_firmware_prints() local
776 status = ring_buffer_write(&info->rb_infos[FIRMWARE_PRINTS_RB_ID], in process_firmware_prints()
781 if (status != WIFI_SUCCESS) { in process_firmware_prints()
782 ALOGE("Failed to write firmware prints rb header %d", status); in process_firmware_prints()
783 return status; in process_firmware_prints()
785 status = ring_buffer_write(&info->rb_infos[FIRMWARE_PRINTS_RB_ID], in process_firmware_prints()
787 if (status != WIFI_SUCCESS) { in process_firmware_prints()
788 ALOGE("Failed to write firmware prints rb payload %d", status); in process_firmware_prints()
789 return status; in process_firmware_prints()
806 wifi_error status; in process_beacon_received_event() local
827 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_beacon_received_event()
828 if (status != WIFI_SUCCESS) { in process_beacon_received_event()
832 return status; in process_beacon_received_event()
838 wifi_error status; in process_fw_diag_msg() local
858 status = process_bt_coex_event(info, id, in process_fw_diag_msg()
861 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
863 return status; in process_fw_diag_msg()
868 status = process_bt_coex_scan_event(info, id, in process_fw_diag_msg()
871 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
873 return status; in process_fw_diag_msg()
882 status = process_extscan_event(info, id, in process_fw_diag_msg()
885 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
887 return status; in process_fw_diag_msg()
894 status = process_roam_event(info, id, in process_fw_diag_msg()
897 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
899 return status; in process_fw_diag_msg()
903 status = process_addba_success_event(info, in process_fw_diag_msg()
906 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
908 return status; in process_fw_diag_msg()
912 status = process_addba_failed_event(info, in process_fw_diag_msg()
915 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
917 return status; in process_fw_diag_msg()
921 status = process_beacon_received_event(info, in process_fw_diag_msg()
924 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
926 return status; in process_fw_diag_msg()
941 status = process_log_extscan_capabilities(info, in process_fw_diag_msg()
944 if (status != WIFI_SUCCESS) { in process_fw_diag_msg()
946 return status; in process_fw_diag_msg()
992 wifi_error status; in process_wlan_pe_event() local
1001 status = remap_event(pWlanPeEvent->event_type, in process_wlan_pe_event()
1003 if (status != WIFI_SUCCESS) in process_wlan_pe_event()
1004 return status; in process_wlan_pe_event()
1011 tot_len += add_status_tag(&pTlv, (int)pWlanPeEvent->status); in process_wlan_pe_event()
1025 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_wlan_pe_event()
1026 if (status != WIFI_SUCCESS) { in process_wlan_pe_event()
1030 return status; in process_wlan_pe_event()
1042 wifi_error status; in process_wlan_eapol_event() local
1078 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_wlan_eapol_event()
1079 if (status != WIFI_SUCCESS) { in process_wlan_eapol_event()
1083 return status; in process_wlan_eapol_event()
1095 wifi_error status; in process_wakelock_event() local
1126 pWakeLockEvent->status = pWlanWakeLockEvent->status; in process_wakelock_event()
1141 status = ring_buffer_write(&info->rb_infos[POWER_EVENTS_RB_ID], in process_wakelock_event()
1147 status = WIFI_SUCCESS; in process_wakelock_event()
1155 return status; in process_wakelock_event()
1187 wifi_error status; in process_wlan_low_resource_failure() local
1212 status = update_connectivity_ring_buf(info, pRingBufferEntry, tot_len); in process_wlan_low_resource_failure()
1213 if (status != WIFI_SUCCESS) { in process_wlan_low_resource_failure()
1318 wifi_error status; in populate_rx_aggr_stats() local
1333 status = update_stats_to_ring_buf(info, (u8 *)pRingBufferEntry, in populate_rx_aggr_stats()
1336 if (status != WIFI_SUCCESS) { in populate_rx_aggr_stats()
1338 return status; in populate_rx_aggr_stats()
1355 wifi_error status = WIFI_SUCCESS; in parse_rx_stats() local
1471 status = populate_rx_aggr_stats(info); in parse_rx_stats()
1474 return status; in parse_rx_stats()
1589 wifi_error status = WIFI_SUCCESS; in parse_tx_stats() local
1696 status = update_stats_to_ring_buf(info, in parse_tx_stats()
1700 if (status != WIFI_SUCCESS) { in parse_tx_stats()
1741 status = update_stats_to_ring_buf(info, in parse_tx_stats()
1745 if (status != WIFI_SUCCESS) { in parse_tx_stats()
1761 return status; in parse_tx_stats()
1768 wifi_error status; in write_per_packet_stats_to_rb() local
1781 status = ring_buffer_write(&info->rb_infos[PKT_STATS_RB_ID], in write_per_packet_stats_to_rb()
1786 if (status != WIFI_SUCCESS) { in write_per_packet_stats_to_rb()
1787 ALOGE("Failed to write driver prints rb header %d", status); in write_per_packet_stats_to_rb()
1788 return status; in write_per_packet_stats_to_rb()
1790 status = ring_buffer_write(&info->rb_infos[PKT_STATS_RB_ID], in write_per_packet_stats_to_rb()
1795 if (status != WIFI_SUCCESS) { in write_per_packet_stats_to_rb()
1817 pkt_fate_stats->fate = (wifi_tx_packet_fate)log->status; in parse_tx_pkt_fate_stats()
1857 pkt_fate_stats->fate = (wifi_rx_packet_fate)log->status; in parse_rx_pkt_fate_stats()
1943 wifi_error status; in parse_stats_record() local
1945 status = write_per_packet_stats_to_rb(info, in parse_stats_record()
1951 status = parse_rx_stats(info, in parse_stats_record()
1955 status = WIFI_SUCCESS; in parse_stats_record()
1959 status = parse_pkt_fate_stats(info, in parse_stats_record()
1963 status = WIFI_SUCCESS; in parse_stats_record()
1966 status = parse_tx_stats(info, in parse_stats_record()
1971 return status; in parse_stats_record()
1977 wifi_error status = WIFI_SUCCESS; in parse_stats() local
1981 status = WIFI_ERROR_INVALID_ARGS; in parse_stats()
1988 status = WIFI_ERROR_INVALID_ARGS; in parse_stats()
1991 status = parse_stats_record(info, pkt_stats_header); in parse_stats()
1992 if (status != WIFI_SUCCESS) { in parse_stats()
1995 return status; in parse_stats()
2001 return status; in parse_stats()
2008 wifi_error status; in process_driver_prints() local
2021 status = ring_buffer_write(&info->rb_infos[DRIVER_PRINTS_RB_ID], in process_driver_prints()
2026 if (status != WIFI_SUCCESS) { in process_driver_prints()
2027 ALOGE("Failed to write driver prints rb header %d", status); in process_driver_prints()
2028 return status; in process_driver_prints()
2030 status = ring_buffer_write(&info->rb_infos[DRIVER_PRINTS_RB_ID], in process_driver_prints()
2032 if (status != WIFI_SUCCESS) { in process_driver_prints()
2033 ALOGE("Failed to write driver prints rb payload %d", status); in process_driver_prints()
2034 return status; in process_driver_prints()
2045 wifi_error status; in diag_message_handler() local
2112 status = parse_stats(info, in diag_message_handler()
2115 if (status != WIFI_SUCCESS) { in diag_message_handler()
2121 return status; in diag_message_handler()