LCOV - code coverage report
Current view: top level - src/p2p - p2p.c (source / functions) Hit Total Coverage
Test: wpa_supplicant/hostapd combined for hwsim test run 1393793999 Lines: 1768 2445 72.3 %
Date: 2014-03-02 Functions: 132 162 81.5 %
Branches: 762 1313 58.0 %

Function Name Sort by function name Hit count Sort by hit count
dev_type_list_match 20
dev_type_match 20
p2p_add_dev_from_go_neg_req 4
p2p_add_dev_from_probe_req 542
p2p_add_dev_info 14
p2p_add_device 855
p2p_add_group_clients 433
p2p_add_wps_vendor_extension 0
p2p_assoc_req_ie 693
p2p_assoc_req_ie_wlan_ap 523
p2p_authorize 43
p2p_build_nfc_handover 21
p2p_build_nfc_handover_req 8
p2p_build_nfc_handover_sel 13
p2p_build_presence_req 1
p2p_build_presence_resp 1
p2p_build_probe_resp_ies 1108
p2p_build_ssid 72
p2p_clear_go_neg 90
p2p_clear_provisioning_info 91
p2p_clear_timeout 3334
p2p_connect 59
p2p_continue_find 597
p2p_copy_client_info 21
p2p_copy_wps_info 767
p2p_create_device 910
p2p_dbg 29927
p2p_deauth_notif 99
p2p_deinit 15
p2p_device_clear_reported 151
p2p_device_free 265
p2p_disassoc_notif 1
p2p_err 0
p2p_expiration_timeout 144
p2p_expire_peers 144
p2p_ext_listen 0
p2p_ext_listen_timeout 0
p2p_find 151
p2p_find_timeout 0
p2p_flush 1217
p2p_free_req_dev_types 2883
p2p_get_dev_addr 22
p2p_get_device 2525
p2p_get_device_interface 80
p2p_get_go_neg_peer 0
p2p_get_interface_addr 53
p2p_get_next_prog_freq 0
p2p_get_oper_freq 57
p2p_get_peer_found 0
p2p_get_peer_info 346
p2p_get_peer_info_txt 238
p2p_get_provisioning_info 28
p2p_get_state_txt 0
p2p_go_complete 90
p2p_go_neg_conf_cb 45
p2p_go_neg_failed 6
p2p_go_neg_req_cb 105
p2p_go_neg_resp_cb 45
p2p_go_neg_resp_failure_cb 23
p2p_go_neg_start 16
p2p_go_params 27
p2p_go_state_text 238
p2p_group_formation_failed 2
p2p_ie_text 0
p2p_in_progress 773
p2p_info 2
p2p_init 15
p2p_invite_start 0
p2p_listen 153
p2p_listen_cb 773
p2p_listen_end 769
p2p_listen_in_find 622
p2p_match_dev_type 512
p2p_parse_dev_addr 17
p2p_parse_dev_addr_in_p2p_ie 105
p2p_peer_known 0
p2p_prepare_channel 115
p2p_prepare_channel_best 86
p2p_prepare_channel_pref 29
p2p_presence_req 1
p2p_probe_req_rx 542
p2p_process_nfc_connection_handover 22
p2p_process_presence_req 1
p2p_process_presence_resp 1
p2p_prov_disc_cb 156
p2p_reject 1
p2p_remove_wps_vendor_extensions 16
p2p_reply_probe 542
p2p_retry_pd 124
p2p_run_after_scan 658
p2p_rx_action 389
p2p_rx_action_public 387
p2p_rx_p2p_action 317
p2p_scan_ie 1354
p2p_scan_ie_buf_len 1355
p2p_scan_res_handled 658
p2p_scan_res_handler 1428
p2p_scan_result_text 34
p2p_scan_timeout 0
p2p_sd_cb 22
p2p_search 492
p2p_send_action 530
p2p_send_action_cb 525
p2p_set_authorized_oob_dev_pw_id 5
p2p_set_best_channels 0
p2p_set_client_discoverability 0
p2p_set_config_methods 0
p2p_set_config_timeout 59
p2p_set_country 0
p2p_set_cross_connect 0
p2p_set_dev_name 3
p2p_set_dev_persistent 102
p2p_set_disc_int 0
p2p_set_intra_bss_dist 0
p2p_set_listen_channel 0
p2p_set_managed_oper 0
p2p_set_manufacturer 1
p2p_set_model_name 1
p2p_set_model_number 1
p2p_set_no_go_freq 2359
p2p_set_oper_channel 0
p2p_set_own_freq_preference 116
p2p_set_peer_filter 0
p2p_set_pref_chan 2344
p2p_set_pri_dev_type 0
p2p_set_sec_dev_types 2
p2p_set_serial_number 1
p2p_set_ssid_postfix 0
p2p_set_state 4307
p2p_set_timeout 1131
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 733
p2p_state_txt 14434
p2p_stop_find 2670
p2p_stop_find_for_freq 2717
p2p_stop_listen 716
p2p_stop_listen_for_freq 2726
p2p_timeout_connect 42
p2p_timeout_connect_listen 30
p2p_timeout_invite 1
p2p_timeout_invite_listen 1
p2p_timeout_prov_disc_during_find 0
p2p_timeout_prov_disc_req 125
p2p_timeout_sd_during_find 0
p2p_timeout_wait_peer_connect 5
p2p_timeout_wait_peer_idle 10
p2p_unauthorize 0
p2p_update_channel_list 1663
p2p_update_wfd_ie_groups 12
p2p_wps_method_text 328
p2p_wps_success_cb 120

Generated by: LCOV version 1.9