LCOV - code coverage report
Current view: top level - src/p2p - p2p.c (source / functions) Hit Total Coverage
Test: wpa_supplicant hwsim test run 1388613141 Lines: 1541 2331 66.1 %
Date: 2014-01-02 Functions: 116 159 73.0 %
Branches: 647 1264 51.2 %

Function Name Sort by function name Hit count Sort by hit count
dev_type_list_match 0
dev_type_match 0
p2p_add_dev_from_go_neg_req 1
p2p_add_dev_from_probe_req 387
p2p_add_dev_info 4
p2p_add_device 613
p2p_add_group_clients 322
p2p_add_wps_vendor_extension 0
p2p_assoc_req_ie 451
p2p_assoc_req_ie_wlan_ap 331
p2p_authorize 34
p2p_build_presence_req 1
p2p_build_presence_resp 1
p2p_build_probe_resp_ies 792
p2p_build_ssid 49
p2p_clear_go_neg 68
p2p_clear_provisioning_info 65
p2p_clear_timeout 2144
p2p_connect 45
p2p_continue_find 423
p2p_copy_client_info 10
p2p_copy_wps_info 527
p2p_create_device 626
p2p_dbg 19614
p2p_deauth_notif 55
p2p_deinit 10
p2p_device_clear_reported 112
p2p_device_free 146
p2p_disassoc_notif 0
p2p_err 0
p2p_expiration_timeout 21
p2p_expire_peers 21
p2p_ext_listen 0
p2p_ext_listen_timeout 0
p2p_find 112
p2p_find_timeout 0
p2p_flush 745
p2p_free_req_dev_types 1817
p2p_get_dev_addr 14
p2p_get_device 1788
p2p_get_device_interface 35
p2p_get_go_neg_peer 0
p2p_get_interface_addr 35
p2p_get_next_prog_freq 0
p2p_get_oper_freq 21
p2p_get_peer_found 0
p2p_get_peer_info 262
p2p_get_peer_info_txt 179
p2p_get_provisioning_info 18
p2p_get_state_txt 0
p2p_go_complete 68
p2p_go_neg_conf_cb 34
p2p_go_neg_failed 5
p2p_go_neg_req_cb 61
p2p_go_neg_resp_cb 34
p2p_go_neg_resp_failure_cb 11
p2p_go_neg_start 7
p2p_go_params 15
p2p_go_state_text 179
p2p_group_formation_failed 0
p2p_ie_text 0
p2p_in_progress 515
p2p_increase_search_delay 2
p2p_info 1
p2p_init 10
p2p_invite_start 0
p2p_listen 99
p2p_listen_cb 528
p2p_listen_end 525
p2p_listen_in_find 432
p2p_match_dev_type 366
p2p_other_scan_completed 4
p2p_parse_dev_addr 13
p2p_parse_dev_addr_in_p2p_ie 45
p2p_peer_known 0
p2p_prepare_channel 90
p2p_prepare_channel_best 69
p2p_prepare_channel_pref 21
p2p_presence_req 1
p2p_probe_req_rx 387
p2p_process_presence_req 1
p2p_process_presence_resp 1
p2p_prov_disc_cb 24
p2p_reject 0
p2p_remove_wps_vendor_extensions 10
p2p_reply_probe 387
p2p_retry_pd 3
p2p_run_after_scan 475
p2p_rx_action 239
p2p_rx_action_public 237
p2p_rx_p2p_action 195
p2p_scan_ie 938
p2p_scan_ie_buf_len 939
p2p_scan_res_handled 475
p2p_scan_res_handler 1683
p2p_scan_result_text 31
p2p_scan_timeout 0
p2p_sd_cb 8
p2p_search 354
p2p_send_action 258
p2p_send_action_cb 257
p2p_set_best_channels 0
p2p_set_client_discoverability 0
p2p_set_config_methods 0
p2p_set_config_timeout 45
p2p_set_country 0
p2p_set_cross_connect 0
p2p_set_dev_name 3
p2p_set_dev_persistent 79
p2p_set_disc_int 0
p2p_set_intra_bss_dist 0
p2p_set_listen_channel 0
p2p_set_managed_oper 0
p2p_set_manufacturer 0
p2p_set_model_name 0
p2p_set_model_number 0
p2p_set_no_go_freq 1460
p2p_set_oper_channel 0
p2p_set_own_freq_preference 91
p2p_set_peer_filter 0
p2p_set_pref_chan 1450
p2p_set_pri_dev_type 0
p2p_set_sec_dev_types 0
p2p_set_serial_number 0
p2p_set_ssid_postfix 0
p2p_set_state 2775
p2p_set_timeout 678
p2p_set_uuid 0
p2p_set_wfd_assoc_bssid 6
p2p_set_wfd_coupled_sink_info 6
p2p_set_wfd_dev_info 6
p2p_set_wfd_ie_assoc_req 6
p2p_set_wfd_ie_beacon 6
p2p_set_wfd_ie_go_neg 6
p2p_set_wfd_ie_invitation 6
p2p_set_wfd_ie_probe_req 6
p2p_set_wfd_ie_probe_resp 6
p2p_set_wfd_ie_prov_disc_req 6
p2p_set_wfd_ie_prov_disc_resp 6
p2p_state_timeout 401
p2p_state_txt 9205
p2p_stop_find 1660
p2p_stop_find_for_freq 1695
p2p_stop_listen 489
p2p_stop_listen_for_freq 1701
p2p_timeout_connect 14
p2p_timeout_connect_listen 8
p2p_timeout_invite 0
p2p_timeout_invite_listen 0
p2p_timeout_prov_disc_during_find 0
p2p_timeout_prov_disc_req 3
p2p_timeout_sd_during_find 0
p2p_timeout_wait_peer_connect 0
p2p_timeout_wait_peer_idle 6
p2p_unauthorize 0
p2p_update_channel_list 1064
p2p_update_wfd_ie_groups 12
p2p_wps_method_text 247
p2p_wps_success_cb 86

Generated by: LCOV version 1.9