• Home
  • Raw
  • Download

Lines Matching refs:printf

482 		printf("\t");  in tab_on_first()
489 printf(" "); in print_ssid()
491 printf("\n"); in print_ssid()
501 printf(" "); in print_supprates()
507 printf("VHT"); in print_supprates()
509 printf("HT"); in print_supprates()
511 printf("%d.%d", r/2, 5*(r&1)); in print_supprates()
513 printf("%s ", data[i] & 0x80 ? "*" : ""); in print_supprates()
515 printf("\n"); in print_supprates()
520 printf(" channel %d\n", data[0]); in print_ds()
539 printf(" %.*s", 2, data); in print_country()
541 printf("\tEnvironment: %s\n", country_env_str(data[2])); in print_country()
547 printf("\t\tNo country IE triplets present\n"); in print_country()
556 printf("\t\tExtension ID: %d Regulatory Class: %d Coverage class: %d (up to %dm)\n", in print_country()
573printf("\t\tChannels [%d - %d] @ %d dBm\n", triplet->chans.first_channel, end_channel, triplet->ch… in print_country()
584 printf(" %d dB\n", data[0]); in print_powerconstraint()
589 printf(" TX power: %d dBm\n", data[0]); in print_tpcreport()
596 printf(" <no flags>"); in print_erp()
598 printf(" NonERP_Present"); in print_erp()
600 printf(" Use_Protection"); in print_erp()
602 printf(" Barker_Preamble_Mode"); in print_erp()
603 printf("\n"); in print_erp()
611 printf("Use group cipher suite"); in print_cipher()
614 printf("WEP-40"); in print_cipher()
617 printf("TKIP"); in print_cipher()
620 printf("CCMP"); in print_cipher()
623 printf("WEP-104"); in print_cipher()
626 printf("%.02x-%.02x-%.02x:%d", in print_cipher()
633 printf("Use group cipher suite"); in print_cipher()
636 printf("WEP-40"); in print_cipher()
639 printf("TKIP"); in print_cipher()
642 printf("CCMP"); in print_cipher()
645 printf("WEP-104"); in print_cipher()
648 printf("AES-128-CMAC"); in print_cipher()
651 printf("NO-GROUP"); in print_cipher()
654 printf("GCMP"); in print_cipher()
657 printf("%.02x-%.02x-%.02x:%d", in print_cipher()
662 printf("%.02x-%.02x-%.02x:%d", in print_cipher()
671 printf("IEEE 802.1X"); in print_auth()
674 printf("PSK"); in print_auth()
677 printf("%.02x-%.02x-%.02x:%d", in print_auth()
684 printf("IEEE 802.1X"); in print_auth()
687 printf("PSK"); in print_auth()
690 printf("FT/IEEE 802.1X"); in print_auth()
693 printf("FT/PSK"); in print_auth()
696 printf("IEEE 802.1X/SHA-256"); in print_auth()
699 printf("PSK/SHA-256"); in print_auth()
702 printf("TDLS/TPK"); in print_auth()
705 printf("%.02x-%.02x-%.02x:%d", in print_auth()
712 printf("OSEN"); in print_auth()
715 printf("%.02x-%.02x-%.02x:%d", in print_auth()
720 printf("%.02x-%.02x-%.02x:%d", in print_auth()
735 printf("\t * Version: %d\n", version); in _print_rsn_ie()
743 printf("\t * Group cipher: %s\n", defcipher); in _print_rsn_ie()
744 printf("\t * Pairwise ciphers: %s\n", defcipher); in _print_rsn_ie()
749 printf("\t * Group cipher: "); in _print_rsn_ie()
751 printf("\n"); in _print_rsn_ie()
758 printf("\t * Pairwise ciphers: %s\n", defcipher); in _print_rsn_ie()
767 printf("\t * Pairwise ciphers:"); in _print_rsn_ie()
769 printf(" "); in _print_rsn_ie()
772 printf("\n"); in _print_rsn_ie()
779 printf("\t * Authentication suites: %s\n", defauth); in _print_rsn_ie()
788 printf("\t * Authentication suites:"); in _print_rsn_ie()
790 printf(" "); in _print_rsn_ie()
793 printf("\n"); in _print_rsn_ie()
801 printf("\t * Capabilities:"); in _print_rsn_ie()
803 printf(" PreAuth"); in _print_rsn_ie()
805 printf(" NoPairwise"); in _print_rsn_ie()
808 printf(" 1-PTKSA-RC"); in _print_rsn_ie()
811 printf(" 2-PTKSA-RC"); in _print_rsn_ie()
814 printf(" 4-PTKSA-RC"); in _print_rsn_ie()
817 printf(" 16-PTKSA-RC"); in _print_rsn_ie()
822 printf(" 1-GTKSA-RC"); in _print_rsn_ie()
825 printf(" 2-GTKSA-RC"); in _print_rsn_ie()
828 printf(" 4-GTKSA-RC"); in _print_rsn_ie()
831 printf(" 16-GTKSA-RC"); in _print_rsn_ie()
835 printf(" MFP-required"); in _print_rsn_ie()
837 printf(" MFP-capable"); in _print_rsn_ie()
839 printf(" Peerkey-enabled"); in _print_rsn_ie()
841 printf(" SPP-AMSDU-capable"); in _print_rsn_ie()
843 printf(" SPP-AMSDU-required"); in _print_rsn_ie()
844 printf(" (0x%.4x)\n", capa); in _print_rsn_ie()
854 printf("\t * %d PMKIDs\n", pmkid_count); in _print_rsn_ie()
864 printf("\t * Group mgmt cipher suite: "); in _print_rsn_ie()
866 printf("\n"); in _print_rsn_ie()
873 printf("\t\t * bogus tail data (%d):", len); in _print_rsn_ie()
875 printf(" %.2x", *data); in _print_rsn_ie()
879 printf("\n"); in _print_rsn_ie()
892 printf("\n\t"); in print_osen_ie()
903 printf("\n"); in print_ht_capa()
947 printf("\n"); in print_interworking()
950 printf("\t\tNetwork Options: 0x%hx\n", (unsigned short)(ano)); in print_interworking()
951 printf("\t\t\tNetwork Type: %i (%s)\n", in print_interworking()
954 printf("\t\t\tInternet\n"); in print_interworking()
956 printf("\t\t\tASRA\n"); in print_interworking()
958 printf("\t\t\tESR\n"); in print_interworking()
960 printf("\t\t\tUESA\n"); in print_interworking()
963 printf("\t\tVenue Group: %i (%s)\n", in print_interworking()
965 printf("\t\tVenue Type: %i\n", (int)(data[2])); in print_interworking()
968 printf("\t\tHESSID: %02hx:%02hx:%02hx:%02hx:%02hx:%02hx\n", in print_interworking()
971 printf("\t\tHESSID: %02hx:%02hx:%02hx:%02hx:%02hx:%02hx\n", in print_interworking()
980 printf("\n"); in print_11u_advert()
984 printf("\t\tQuery Response Info: 0x%hx\n", (unsigned short)(qri)); in print_11u_advert()
985 printf("\t\t\tQuery Response Length Limit: %i\n", in print_11u_advert()
988 printf("\t\t\tPAME-BI\n"); in print_11u_advert()
991 printf("\t\t\tANQP\n"); break; in print_11u_advert()
993 printf("\t\t\tMIH Information Service\n"); break; in print_11u_advert()
995 printf("\t\t\tMIH Command and Event Services Capability Discovery\n"); break; in print_11u_advert()
997 printf("\t\t\tEmergency Alert System (EAS)\n"); break; in print_11u_advert()
999 printf("\t\t\tVendor Specific\n"); break; in print_11u_advert()
1001 printf("\t\t\tReserved: %i\n", proto_id); break; in print_11u_advert()
1014 printf("\n"); in print_11u_rcon()
1019 printf("\t\tANQP OIs: %i\n", data[0]); in print_11u_rcon()
1022 printf("\t\tOI 1: "); in print_11u_rcon()
1024 printf("Invalid IE length.\n"); in print_11u_rcon()
1027 printf("%02hx", data[2 + idx]); in print_11u_rcon()
1029 printf("\n"); in print_11u_rcon()
1034 printf("\t\tOI 2: "); in print_11u_rcon()
1036 printf("Invalid IE length.\n"); in print_11u_rcon()
1039 printf("%02hx", data[2 + ln0 + idx]); in print_11u_rcon()
1041 printf("\n"); in print_11u_rcon()
1046 printf("\t\tOI 3: "); in print_11u_rcon()
1048 printf("Invalid IE length.\n"); in print_11u_rcon()
1051 printf("%02hx", data[2 + ln0 + ln1 + idx]); in print_11u_rcon()
1053 printf("\n"); in print_11u_rcon()
1078 printf("\n"); in print_ht_op()
1079 printf("\t\t * primary channel: %d\n", data[0]); in print_ht_op()
1080 printf("\t\t * secondary channel offset: %s\n", in print_ht_op()
1082 printf("\t\t * STA channel width: %s\n", sta_chan_width[(data[1] & 0x4)>>2]); in print_ht_op()
1083 printf("\t\t * RIFS: %d\n", (data[1] & 0x8)>>3); in print_ht_op()
1084 printf("\t\t * HT protection: %s\n", protection[data[2] & 0x3]); in print_ht_op()
1085 printf("\t\t * non-GF present: %d\n", (data[2] & 0x4) >> 2); in print_ht_op()
1086 printf("\t\t * OBSS non-GF present: %d\n", (data[2] & 0x10) >> 4); in print_ht_op()
1087 printf("\t\t * dual beacon: %d\n", (data[4] & 0x40) >> 6); in print_ht_op()
1088 printf("\t\t * dual CTS protection: %d\n", (data[4] & 0x80) >> 7); in print_ht_op()
1089 printf("\t\t * STBC beacon: %d\n", data[5] & 0x1); in print_ht_op()
1090 printf("\t\t * L-SIG TXOP Prot: %d\n", (data[5] & 0x2) >> 1); in print_ht_op()
1091 printf("\t\t * PCO active: %d\n", (data[5] & 0x4) >> 2); in print_ht_op()
1092 printf("\t\t * PCO phase: %d\n", (data[5] & 0x8) >> 3); in print_ht_op()
1109 printf(","); in print_capabilities()
1113 #define CAPA(bit, name) case bit: printf(" " name); break in print_capabilities()
1163 printf(" %d", bit); in print_capabilities()
1170 printf("\n"); in print_capabilities()
1175 printf(" DTIM Count %u DTIM Period %u Bitmap Control 0x%x " in print_tim()
1179 printf(" (+ %u octet%s)", len - 4, len - 4 == 1 ? "" : "s"); in print_tim()
1180 printf("\n"); in print_tim()
1185 printf(" %d TUs", (data[1] << 8) + data[0]); in print_ibssatim()
1190 printf("\n"); in print_vht_capa()
1205 printf("\n"); in print_vht_oper()
1206 printf("\t\t * channel width: %d (%s)\n", data[0], in print_vht_oper()
1208 printf("\t\t * center freq segment 1: %d\n", data[1]); in print_vht_oper()
1209 printf("\t\t * center freq segment 2: %d\n", data[2]); in print_vht_oper()
1210 printf("\t\t * VHT basic MCS set: 0x%.2x%.2x\n", data[4], data[3]); in print_vht_oper()
1215 printf("\n"); in print_obss_scan_params()
1216 printf("\t\t * passive dwell: %d TUs\n", (data[1] << 8) | data[0]); in print_obss_scan_params()
1217 printf("\t\t * active dwell: %d TUs\n", (data[3] << 8) | data[2]); in print_obss_scan_params()
1218 printf("\t\t * channel width trigger scan interval: %d s\n", (data[5] << 8) | data[4]); in print_obss_scan_params()
1219 printf("\t\t * scan passive total per channel: %d TUs\n", (data[7] << 8) | data[6]); in print_obss_scan_params()
1220 printf("\t\t * scan active total per channel: %d TUs\n", (data[9] << 8) | data[8]); in print_obss_scan_params()
1221 printf("\t\t * BSS width channel transition delay factor: %d\n", (data[11] << 8) | data[10]); in print_obss_scan_params()
1222 printf("\t\t * OBSS Scan Activity Threshold: %d.%02d %%\n", in print_obss_scan_params()
1229 printf(" %s (%d)\n", ht_secondary_offset[data[0]], data[0]); in print_secchan_offs()
1231 printf(" %d\n", data[0]); in print_secchan_offs()
1236 printf("\n"); in print_bss_load()
1237 printf("\t\t * station count: %d\n", (data[1] << 8) | data[0]); in print_bss_load()
1238 printf("\t\t * channel utilisation: %d/255\n", data[2]); in print_bss_load()
1239 printf("\t\t * available admission capacity: %d [*32us]\n", (data[4] << 8) | data[3]); in print_bss_load()
1244 printf("\n"); in print_mesh_conf()
1245 printf("\t\t * Active Path Selection Protocol ID: %d\n", data[0]); in print_mesh_conf()
1246 printf("\t\t * Active Path Selection Metric ID: %d\n", data[1]); in print_mesh_conf()
1247 printf("\t\t * Congestion Control Mode ID: %d\n", data[2]); in print_mesh_conf()
1248 printf("\t\t * Synchronization Method ID: %d\n", data[3]); in print_mesh_conf()
1249 printf("\t\t * Authentication Protocol ID: %d\n", data[4]); in print_mesh_conf()
1250 printf("\t\t * Mesh Formation Info:\n"); in print_mesh_conf()
1251 printf("\t\t\t Number of Peerings: %d\n", (data[5] & 0x7E) >> 1); in print_mesh_conf()
1253 printf("\t\t\t Connected to Mesh Gate\n"); in print_mesh_conf()
1255 printf("\t\t\t Connected to AS\n"); in print_mesh_conf()
1256 printf("\t\t * Mesh Capability\n"); in print_mesh_conf()
1258 printf("\t\t\t Accepting Additional Mesh Peerings\n"); in print_mesh_conf()
1260 printf("\t\t\t MCCA Supported\n"); in print_mesh_conf()
1262 printf("\t\t\t MCCA Enabled\n"); in print_mesh_conf()
1264 printf("\t\t\t Forwarding\n"); in print_mesh_conf()
1266 printf("\t\t\t MBCA Supported\n"); in print_mesh_conf()
1268 printf("\t\t\t TBTT Adjusting\n"); in print_mesh_conf()
1270 printf("\t\t\t Mesh Power Save Level\n"); in print_mesh_conf()
1288 printf("\t%s:", p->name); in print_ie()
1291 printf(" <invalid: %d bytes:", len); in print_ie()
1293 printf(" %.02x", data[i]); in print_ie()
1294 printf(">\n"); in print_ie()
1296 printf(" <invalid: 1 byte: %.02x>\n", data[0]); in print_ie()
1298 printf(" <invalid: no data>\n"); in print_ie()
1359 printf("Parameter: not version 1: "); in print_wifi_wmm_param()
1363 printf("\t * Parameter version 1"); in print_wifi_wmm_param()
1368 printf("\n\t\t * u-APSD"); in print_wifi_wmm_param()
1373 printf("\n\t\t * %s:", aci_tbl[(data[0] >> 5) & 3]); in print_wifi_wmm_param()
1375 printf(" acm"); in print_wifi_wmm_param()
1376 printf(" CW %d-%d", (1 << (data[1] & 0xf)) - 1, in print_wifi_wmm_param()
1378 printf(", AIFSN %d", data[0] & 0xf); in print_wifi_wmm_param()
1380 printf(", TXOP %d usec", (data[2] + (data[3] << 8)) * 32); in print_wifi_wmm_param()
1384 printf("\n"); in print_wifi_wmm_param()
1388 printf("invalid: "); in print_wifi_wmm_param()
1398 printf(" information:"); in print_wifi_wmm()
1405 printf(" type %d:", data[0]); in print_wifi_wmm()
1410 printf(" %.02x", data[i]); in print_wifi_wmm()
1411 printf("\n"); in print_wifi_wmm()
1448 printf("\t * Version: %d.%d\n", data[4] >> 4, data[4] & 0xF); in print_wifi_wps()
1452 printf("\t * Device name: %.*s\n", sublen, data + 4); in print_wifi_wps()
1458 printf("\t * Device Password ID: (invalid " in print_wifi_wps()
1463 printf("\t * Device Password ID: %u (%s)\n", in print_wifi_wps()
1469 printf("\t * Manufacturer: %.*s\n", sublen, data + 4); in print_wifi_wps()
1473 printf("\t * Model: %.*s\n", sublen, data + 4); in print_wifi_wps()
1477 printf("\t * Model Number: %.*s\n", sublen, data + 4); in print_wifi_wps()
1482 printf("\t * Response Type: %d%s\n", in print_wifi_wps()
1489 printf("\t * RF Bands: 0x%x\n", val); in print_wifi_wps()
1495 printf("\t * Selected Registrar: 0x%x\n", val); in print_wifi_wps()
1500 printf("\t * Serial Number: %.*s\n", sublen, data + 4); in print_wifi_wps()
1505 printf("\t * Wi-Fi Protected Setup State: %d%s%s\n", in print_wifi_wps()
1513 printf("\t * UUID: "); in print_wifi_wps()
1515 printf("(invalid, length=%d)\n", sublen); in print_wifi_wps()
1518 printf("%02x%02x%02x%02x-%02x%02x-%02x%02x-" in print_wifi_wps()
1528 printf("\t * Primary Device Type: (invalid " in print_wifi_wps()
1532 printf("\t * Primary Device Type: " in print_wifi_wps()
1542 printf("\t * AP setup locked: 0x%.2x\n", val); in print_wifi_wps()
1550 printf("\t * %sConfig methods:", in print_wifi_wps()
1555 printf(","); \ in print_wifi_wps()
1557 printf(" " name); \ in print_wifi_wps()
1568 printf("\n"); in print_wifi_wps()
1577 printf("\t * Unknown TLV (%#.4x, %d bytes):", in print_wifi_wps()
1580 printf(" %.2x", *subdata); in print_wifi_wps()
1584 printf("\n"); in print_wifi_wps()
1594 printf("\t\t * bogus tail data (%d):", len); in print_wifi_wps()
1596 printf(" %.2x", *data); in print_wifi_wps()
1600 printf("\n"); in print_wifi_wps()
1627 printf("\t * malformed capability\n"); in print_p2p()
1630 printf("\t * Group capa: 0x%.2x, Device capa: 0x%.2x\n", in print_p2p()
1635 printf("\t * malformed device info\n"); in print_p2p()
1662 printf("\t * Unknown TLV (%#.2x, %d bytes):", in print_p2p()
1665 printf(" %.2x", *subdata); in print_p2p()
1669 printf("\n"); in print_p2p()
1680 printf("\t * bogus tail data (%d):", len); in print_p2p()
1682 printf(" %.2x", *data); in print_p2p()
1686 printf("\n"); in print_p2p()
1693 printf("\n"); in print_hs20_ind()
1695 printf("\t\tDGAF: %i\n", (int)(data[0] & 0x1)); in print_hs20_ind()
1697 printf("\t\tUnexpected length: %i\n", len); in print_hs20_ind()
1712 printf("\tVendor specific: <too short> data:"); in print_vendor()
1714 printf(" %.02x", data[i]); in print_vendor()
1715 printf("\n"); in print_vendor()
1728 printf("\tMS/WiFi %#.2x, data:", data[3]); in print_vendor()
1730 printf(" %.02x", data[i + 4]); in print_vendor()
1731 printf("\n"); in print_vendor()
1744 printf("\tWFA %#.2x, data:", data[3]); in print_vendor()
1746 printf(" %.02x", data[i + 4]); in print_vendor()
1747 printf("\n"); in print_vendor()
1754 printf("\tVendor specific: OUI %.2x:%.2x:%.2x, data:", in print_vendor()
1757 printf(" %.2x", data[i]); in print_vendor()
1758 printf("\n"); in print_vendor()
1774 printf("\tUnknown IE (%d):", ie[0]); in print_ies()
1776 printf(" %.2x", ie[2+i]); in print_ies()
1777 printf("\n"); in print_ies()
1788 printf(" DMG_ESS"); in print_capa_dmg()
1791 printf(" DMG_PCP"); in print_capa_dmg()
1794 printf(" DMG_IBSS"); in print_capa_dmg()
1799 printf(" CBAP_Only"); in print_capa_dmg()
1801 printf(" CBAP_Src"); in print_capa_dmg()
1803 printf(" Privacy"); in print_capa_dmg()
1805 printf(" ECPAC"); in print_capa_dmg()
1807 printf(" SpectrumMgmt"); in print_capa_dmg()
1809 printf(" RadioMeasure"); in print_capa_dmg()
1815 printf(" ESS"); in print_capa_non_dmg()
1817 printf(" IBSS"); in print_capa_non_dmg()
1819 printf(" CfPollable"); in print_capa_non_dmg()
1821 printf(" CfPollReq"); in print_capa_non_dmg()
1823 printf(" Privacy"); in print_capa_non_dmg()
1825 printf(" ShortPreamble"); in print_capa_non_dmg()
1827 printf(" PBCC"); in print_capa_non_dmg()
1829 printf(" ChannelAgility"); in print_capa_non_dmg()
1831 printf(" SpectrumMgmt"); in print_capa_non_dmg()
1833 printf(" QoS"); in print_capa_non_dmg()
1835 printf(" ShortSlotTime"); in print_capa_non_dmg()
1837 printf(" APSD"); in print_capa_non_dmg()
1839 printf(" RadioMeasure"); in print_capa_non_dmg()
1841 printf(" DSSS-OFDM"); in print_capa_non_dmg()
1843 printf(" DelayedBACK"); in print_capa_non_dmg()
1845 printf(" ImmediateBACK"); in print_capa_non_dmg()
1889 printf("BSS %s", mac_addr); in print_bss_handler()
1892 printf("(on %s)", dev); in print_bss_handler()
1898 printf(" -- authenticated"); in print_bss_handler()
1901 printf(" -- associated"); in print_bss_handler()
1904 printf(" -- joined"); in print_bss_handler()
1907 printf(" -- unknown status: %d", in print_bss_handler()
1912 printf("\n"); in print_bss_handler()
1917 printf("\tTSF: %llu usec (%llud, %.2lld:%.2llu:%.2llu)\n", in print_bss_handler()
1923 printf("\tfreq: %d\n", freq); in print_bss_handler()
1928 printf("\tbeacon interval: %d TUs\n", in print_bss_handler()
1932 printf("\tcapability:"); in print_bss_handler()
1937 printf(" (0x%.4x)\n", capa); in print_bss_handler()
1941 printf("\tsignal: %d.%.2d dBm\n", s/100, s%100); in print_bss_handler()
1945 printf("\tsignal: %d/100\n", s); in print_bss_handler()
1949 printf("\tlast seen: %d ms ago\n", age); in print_bss_handler()
1954 printf("\tInformation elements from Probe Response " in print_bss_handler()
1961 printf("\tInformation elements from Beacon frame:\n"); in print_bss_handler()
2064 printf("scan aborted!\n"); in handle_scan_combined()