Lines Matching refs:PRTDBG

66 #define	PRTDBG(msg) if (wifi_debug > 1) wifi_dbgprintf msg  macro
68 #define PRTDBG(msg) macro
587 PRTDBG(("new_ae(0x%x, \"%s\")\n", ael, arg)); in new_ae()
616 PRTDBG(("new_ael(%d) = 0x%x\n", type, plist)); in new_ael()
633 PRTDBG(("new_config_file() = 0x%x\n", p_config_file)); in new_config_file()
647 PRTDBG(("new_section(0x%x, 0x%x, \"%s\")\n", p_config_file, p_list, in new_section()
676 PRTDBG(("destory_config(0x%x)\n", p_config_file)); in destroy_config()
881 PRTDBG(("parse_file(\"%s\")=0x%x\n", pfile, p_config_file)); in parse_file()
900 PRTDBG(("aeltoargv(%x)\n", ael)); in aeltoargv()
915 PRTDBG(("aeltoargv(0x%x) = 0x%x\n\n", ael, argv)); in aeltoargv()
935 PRTDBG(("fprint_config_file(0x%x, \"%s\")\n", p_config_file, in fprint_config_file()
953 PRTDBG(("fprint_config_file: section_id=%s\n", in fprint_config_file()
1023 PRTDBG(("append_pa(\"%s\") = \"%s\"\n", arg, pbuf)); in append_pa()
1035 PRTDBG(("find_section(0x%x, \"%s\")\n", p_config_file, section_id)); in find_section()
1062 PRTDBG(("get_value(\"%s\") = \"%s\"\n", arg, p + 1)); in get_value()
1080 PRTDBG(("search interface\n")); in search_interface()
1089 PRTDBG(("failed to open '/dev/wifi'\n")); in search_interface()
1103 PRTDBG(("interface %s doesn't exist\n", dp->d_name)); in search_interface()
1106 PRTDBG(("interface %s is the first found interface\n", in search_interface()
1115 PRTDBG(("failed to find available wireless interface\n")); in search_interface()
1133 PRTDBG(("open_dev(\"%s\")\n", devname)); in open_dev()
1173 PRTDBG(("call_ioctl_gs(%d, 0x%x, 0x%x, 0x%x)\n", in call_ioctl()
1230 PRTDBG(("del_prefer(0x%x, \"%s\")\n", p_config_file, prefer)); in del_prefer()
1290 PRTDBG(("del_section(0x%x, \"%s\")\n", p_config_file, section_id)); in del_section()
1291 PRTDBG(("del_section: %d section(s) in config file\n", in del_section()
1359 PRTDBG(("set_prefer(0x%x, \"%s\", %d)\n", p_config_file, prefer, rank)); in set_prefer()
1406 PRTDBG(("set_prefer: %d Profiles in prefer list\n", plist->ael_argc)); in set_prefer()
1441 PRTDBG(("set_prefer: %d Profiles in prefer list\n", plist->ael_argc)); in set_prefer()
1458 PRTDBG(("add_to_history(0x%x, %d, 0x%x)\n", p_config_file, argc, argv)); in add_to_history()
1608 PRTDBG(("do_print_support_params(\"%d\")\n", fd)); in do_print_support_params()
1639 PRTDBG(("check_authority()\n")); in check_authority()
1693 PRTDBG(("essid_of_profile: profile = %s\n", profile)); in essid_of_profile()
1706 PRTDBG(("essid_of_profile: essid = %s\n", in essid_of_profile()
1733 PRTDBG(("heuristic_load: enter\n")); in heuristic_load()
1764 PRTDBG(("heuristic_load: %s is selected\n", in heuristic_load()
1943 PRTDBG(("do_autoconf(%d, 0x%x)\n", argc, argv)); in do_autoconf()
2030 PRTDBG(("do_startconf(%d, 0x%x)\n", argc, argv)); in do_startconf()
2080 PRTDBG(("find_active_profile: %d\n", fd)); in find_active_profile()
2175 PRTDBG(("do_loadpf(%d, %x)\n", argc, argv)); in do_loadpf()
2309 PRTDBG(("connect counting:......%d\n", timeout)); in do_loadpf()
2372 PRTDBG(("do_printpf(%d, %x)\n", argc, argv)); in do_printpf()
2445 PRTDBG(("find_ae: arg= NULL or plist=NULL\n")); in find_ae()
2448 PRTDBG(("find_ae(0x%x, \"%s\")\n", plist, arg)); in find_ae()
2454 PRTDBG(("find_ae: param = \"%s\"\n", param)); in find_ae()
2463 PRTDBG(("find_ae: param = \"%s\"\n", param)); in find_ae()
2484 PRTDBG(("update_aelist(0x%x, \"%s\")\n", plist, arg)); in update_aelist()
2507 PRTDBG(("do_deletepf(%d, \"%s\")\n", argc, argv)); in do_deletepf()
2585 PRTDBG(("do_history(%d, 0x%x)\n", argc, argv)); in do_history()
2592 PRTDBG(("no history section\n")); in do_history()
2697 PRTDBG(("do_lsprefer(%d, 0x%x)\n", argc, argv)); in do_lsprefer()
2718 PRTDBG(("no preference section\n")); in do_lsprefer()
2735 PRTDBG(("do_rmprefer(%d, 0x%x)\n", argc, argv)); in do_rmprefer()
2798 PRTDBG(("do_setprefer(%d, 0x%x)\n", argc, argv)); in do_setprefer()
2902 PRTDBG(("get_valid_wepkey()\n")); in get_valid_wepkey()
2954 PRTDBG(("do_set_wepkey(%d, \"%s\")\n", fd, pbuf)); in do_set_wepkey()
2976 PRTDBG(("do_set_wepkey: error pbuf size\n")); in do_set_wepkey()
3063 PRTDBG(("do_wepkey(%d, 0x%x)\n", argc, argv)); in do_wepkey()
3091 PRTDBG(("do_setprofwepkey(%d, 0x%x)\n", argc, argv)); in do_setprofwepkey()
3129 PRTDBG(("do_wlanlist(%d, 0x%x)\n", argc, argv)); in do_wlanlist()
3157 PRTDBG(("do_showstatus(%d, 0x%x)\n", argc, argv)); in do_showstatus()
3207 PRTDBG(("do_restoredef(%d, 0x%x)\n", argc, argv)); in do_restoredef()
3229 PRTDBG(("do_disconnect(%d, 0x%x)\n", argc, argv)); in do_disconnect()
3249 PRTDBG(("do_set_essid(%d, \"%s\")\n", fd, arg)); in do_set_essid()
3282 PRTDBG(("do_set_bsstype(%d, \"%s\")\n", fd, arg)); in do_set_bsstype()
3314 PRTDBG(("do_set_createibss(%d, \"%s\")\n", fd, arg)); in do_set_createibss()
3340 PRTDBG(("do_set_channel(%d, \"%s\")\n", fd, arg)); in do_set_channel()
3353 PRTDBG(("channel=%d\n", phy_conf.wl_phy_dsss_conf.wl_dsss_channel)); in do_set_channel()
3370 PRTDBG(("is_rates_support(%d, %d, 0x%x)\n", fd, num, rates)); in is_rates_support()
3377 PRTDBG(("rates[%d] = %d\n", i, rates[i])); in is_rates_support()
3381 PRTDBG(("supported rates[%d]=%d\n", j, value)); in is_rates_support()
3450 PRTDBG(("get_rates: empty rates string\n")); in get_rates()
3453 PRTDBG(("get_rates(\"%s\", 0x%x)\n", arg, len)); in get_rates()
3465 PRTDBG(("rates[0]: %s\n", token)); in get_rates()
3469 PRTDBG(("rates[%d]: %s\n", i, token)); in get_rates()
3497 PRTDBG(("do_set_rates(%d, \"%s\")\n", fd, arg)); in do_set_rates()
3523 PRTDBG(("do_set_powermode(%d, \"%s\")\n", fd, arg)); in do_set_powermode()
3563 PRTDBG(("do_set_authmode(%d, \"%s\")\n", fd, arg)); in do_set_authmode()
3589 PRTDBG(("do_set_encryption(%d, \"%s\")\n", fd, arg)); in do_set_encryption()
3614 PRTDBG(("do_set_wepkeyid(%d, \"%s\")\n", fd, arg)); in do_set_wepkeyid()
3635 PRTDBG(("do_set_radioon(%d, \"%s\")\n", fd, arg)); in do_set_radioon()
3679 PRTDBG(("print_gbuf(%d)\n", index)); in print_gbuf()
3962 PRTDBG(("do_get_bssid(%d)\n", fd)); in do_get_bssid()
3969 PRTDBG(("do_get_essid(%d)\n", fd)); in do_get_essid()
3976 PRTDBG(("do_get_bsstype(%d)\n", fd)); in do_get_bsstype()
3983 PRTDBG(("do_get_createibss(%d)\n", fd)); in do_get_createibss()
3990 PRTDBG(("do_get_channel(%d)\n", fd)); in do_get_channel()
3997 PRTDBG(("do_get_wlanlist(%d)\n", fd)); in do_get_wlanlist()
4004 PRTDBG(("do_get_linkstauts(%d)\n", fd)); in do_get_linkstatus()
4011 PRTDBG(("do_get_rates(%d)\n", fd)); in do_get_rates()
4018 PRTDBG(("do_get_powermode(%d)\n", fd)); in do_get_powermode()
4025 PRTDBG(("do_get_authmode(%d)\n", fd)); in do_get_authmode()
4032 PRTDBG(("do_get_encryption(%d)\n", fd)); in do_get_encryption()
4039 PRTDBG(("do_get_wepkeyid(%d)\n", fd)); in do_get_wepkeyid()
4045 PRTDBG(("do_get_signal(%d)\n", fd)); in do_get_signal()
4052 PRTDBG(("do_get_radioon(%d)\n", fd)); in do_get_radioon()
4153 PRTDBG(("do_createprofile(%d, 0x%x)\n", argc, argv)); in do_createprofile()
4206 PRTDBG(("do_createprofile: profile_name = %s\n", pbuf)); in do_createprofile()
4241 PRTDBG(("do_setprofparam(%d, 0x%x)\n", argc, argv)); in do_setprofparam()
4281 PRTDBG(("do_getprofparam(%d, 0x%x)\n", argc, argv)); in do_getprofparam()
4472 PRTDBG(("do_set(%d, 0x%x)\n", argc, argv)); in do_set()
4504 PRTDBG(("do_set: param = \"%s\", value = \"%s\"\n", in do_set()
4562 PRTDBG(("do_get(%d, 0x%x)\n", argc, argv)); in do_get()
4696 PRTDBG(("main(%d, 0x%x)\n", argc, argv)); in main()
4697 PRTDBG(("uid=%d\n", getuid())); in main()
4698 PRTDBG(("euid=%d\n", geteuid())); in main()
4716 PRTDBG(("main: priviledge init error\n")); in main()
4756 PRTDBG(("%d\t\t\"%s\"\n", i, argv[i])); in main()
4903 PRTDBG(("Command %s failed\n", argv[0])); in main()