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