Lines Matching full:printf
17 printf(" ("); in print_flag()
19 printf(", "); in print_flag()
20 printf("%s", name); in print_flag()
130 printf("Wiphy %s\n", nla_get_string(tb_msg[NL80211_ATTR_WIPHY_NAME])); in print_phy_handler()
136 printf("\tBand %d:\n", nl_band->nla_type + 1); in print_phy_handler()
166 printf("\t\tFrequencies:\n"); in print_phy_handler()
176 printf("\t\t\t* %d MHz [%d]", freq, ieee80211_frequency_to_channel(freq)); in print_phy_handler()
180 printf(" (%.1f dBm)", 0.01 * nla_get_u32(tb_freq[NL80211_FREQUENCY_ATTR_MAX_TX_POWER])); in print_phy_handler()
201 printf(")"); in print_phy_handler()
202 printf("\n"); in print_phy_handler()
208 printf("\t\t\t DFS state: %s", dfs_state_name(state)); in print_phy_handler()
211 printf(" (for %lu sec)", time/1000); in print_phy_handler()
213 printf("\n"); in print_phy_handler()
215 printf("\t\t\t DFS CAC time: %u ms\n", in print_phy_handler()
223 printf("\t\tBitrates (non-HT):\n"); in print_phy_handler()
229 printf("\t\t\t* %2.1f Mbps", 0.1 * nla_get_u32(tb_rate[NL80211_BITRATE_ATTR_RATE])); in print_phy_handler()
234 printf(")"); in print_phy_handler()
235 printf("\n"); in print_phy_handler()
242 printf("\tmax # scan SSIDs: %d\n", in print_phy_handler()
245 printf("\tmax scan IEs length: %d bytes\n", in print_phy_handler()
248 printf("\tmax # sched scan SSIDs: %d\n", in print_phy_handler()
251 printf("\tmax # match sets: %d\n", in print_phy_handler()
259 printf("\tFragmentation threshold: %d\n", frag); in print_phy_handler()
267 printf("\tRTS threshold: %d\n", rts); in print_phy_handler()
279 printf("\tRetry short long limit: %d\n", retry_short); in print_phy_handler()
281 printf("\tRetry short limit: %d\n", retry_short); in print_phy_handler()
282 printf("\tRetry long limit: %d\n", retry_long); in print_phy_handler()
291 printf("\tCoverage class: %d (up to %dm)\n", coverage, 450 * coverage); in print_phy_handler()
299 printf("\tSupported Ciphers:\n"); in print_phy_handler()
301 printf("\t\t* %s\n", in print_phy_handler()
308 printf("\tAvailable Antennas: TX %#x RX %#x\n", in print_phy_handler()
314 printf("\tConfigured Antennas: TX %#x RX %#x\n", in print_phy_handler()
319 printf("\tSupported interface modes:\n"); in print_phy_handler()
321 printf("\t\t * %s\n", iftype_name(nla_type(nl_mode))); in print_phy_handler()
325 printf("\tsoftware interface modes (can always be added):\n"); in print_phy_handler()
327 printf("\t\t * %s\n", iftype_name(nla_type(nl_mode))); in print_phy_handler()
354 printf("\tvalid interface combinations:\n"); in print_phy_handler()
358 printf("\t\t * "); in print_phy_handler()
365 printf(" <failed to parse>\n"); in print_phy_handler()
375 printf("<failed to parse>\n"); in print_phy_handler()
380 printf(", "); in print_phy_handler()
382 printf("#{"); in print_phy_handler()
385 printf("%s %s", ift_comma ? "," : "", in print_phy_handler()
389 printf(" } <= %u", nla_get_u32(tb_limit[NL80211_IFACE_LIMIT_MAX])); in print_phy_handler()
391 printf(",\n\t\t "); in print_phy_handler()
393 printf("total <= %d, #channels <= %d%s", in print_phy_handler()
405 printf(", radar detect widths: {"); in print_phy_handler()
408 printf("%s %s", in print_phy_handler()
413 printf(" }\n"); in print_phy_handler()
416 printf("\n"); in print_phy_handler()
422 printf("\tinterface combinations are not supported\n"); in print_phy_handler()
426 printf("\tSupported commands:\n"); in print_phy_handler()
428 printf("\t\t * %s\n", command_name(nla_get_u32(nl_cmd))); in print_phy_handler()
432 printf("\tSupported TX frame types:\n"); in print_phy_handler()
437 printf("\t\t * %s:", iftype_name(nla_type(nl_if))); in print_phy_handler()
439 printf(" 0x%.2x", nla_get_u16(nl_ftype)); in print_phy_handler()
442 printf("\n"); in print_phy_handler()
447 printf("\tSupported RX frame types:\n"); in print_phy_handler()
452 printf("\t\t * %s:", iftype_name(nla_type(nl_if))); in print_phy_handler()
454 printf(" 0x%.2x", nla_get_u16(nl_ftype)); in print_phy_handler()
457 printf("\n"); in print_phy_handler()
462 printf("\tDevice supports RSN-IBSS.\n"); in print_phy_handler()
485 printf("\tWoWLAN support:"); in print_phy_handler()
487 printf(" <failed to parse>\n"); in print_phy_handler()
489 printf("\n"); in print_phy_handler()
491 printf("\t\t * wake up on anything (device continues operating normally)\n"); in print_phy_handler()
493 printf("\t\t * wake up on disconnect\n"); in print_phy_handler()
495 printf("\t\t * wake up on magic packet\n"); in print_phy_handler()
498 printf("\t\t * wake up on pattern match, up to %u patterns of %u-%u bytes,\n" in print_phy_handler()
505 printf("\t\t * can do GTK rekeying\n"); in print_phy_handler()
507 printf("\t\t * wake up on GTK rekey failure\n"); in print_phy_handler()
509 printf("\t\t * wake up on EAP identity request\n"); in print_phy_handler()
511 printf("\t\t * wake up on 4-way handshake\n"); in print_phy_handler()
513 printf("\t\t * wake up on rfkill release\n"); in print_phy_handler()
515 printf("\t\t * wake up on network detection, up to %d match sets\n", in print_phy_handler()
518 printf("\t\t * wake up on TCP connection\n"); in print_phy_handler()
523 printf("\tDevice supports roaming.\n"); in print_phy_handler()
526 printf("\tDevice supports AP-side u-APSD.\n"); in print_phy_handler()
530 printf("\tHT Capability overrides:\n"); in print_phy_handler()
533 printf("\t\t * MCS: %02hhx %02hhx %02hhx %02hhx %02hhx %02hhx" in print_phy_handler()
541 printf("\t\t * maximum A-MSDU length\n"); in print_phy_handler()
543 printf("\t\t * supported channel width\n"); in print_phy_handler()
545 printf("\t\t * short GI for 40 MHz\n"); in print_phy_handler()
547 printf("\t\t * max A-MPDU length exponent\n"); in print_phy_handler()
549 printf("\t\t * min MPDU start spacing\n"); in print_phy_handler()
551 printf("\tERROR: capabilities mask is too short, expected: %d, received: %d\n", in print_phy_handler()
561 printf("\tDevice supports TX status socket option.\n"); in print_phy_handler()
563 printf("\tDevice supports HT-IBSS.\n"); in print_phy_handler()
565 printf("\tDevice has client inactivity timer.\n"); in print_phy_handler()
567 printf("\tDevice accepts cell base station regulatory hints.\n"); in print_phy_handler()
569 printf("\tP2P Device uses a channel (of the concurrent ones)\n"); in print_phy_handler()
571 printf("\tDevice supports SAE with AUTHENTICATE command\n"); in print_phy_handler()
573 printf("\tDevice supports low priority scan.\n"); in print_phy_handler()
575 printf("\tDevice supports scan flush.\n"); in print_phy_handler()
577 printf("\tDevice supports AP scan.\n"); in print_phy_handler()
579 printf("\tDevice supports per-vif TX power setting\n"); in print_phy_handler()
581 printf("\tUserspace should do OBSS scan and generate 20/40 coex reports\n"); in print_phy_handler()
583 printf("\tP2P GO supports CT window setting\n"); in print_phy_handler()
585 printf("\tP2P GO supports opportunistic powersave setting\n"); in print_phy_handler()
587 printf("\tDriver supports full state transitions for AP/GO clients\n"); in print_phy_handler()
589 printf("\tDriver supports a userspace MPM\n"); in print_phy_handler()
591 printf("\tDevice supports active monitor (which will ACK incoming frames)\n"); in print_phy_handler()
593 printf("\tDriver/device bandwidth changes during BSS lifetime (AP/GO mode)\n"); in print_phy_handler()
595 printf("\tDevice adds DS IE to probe requests\n"); in print_phy_handler()
597 printf("\tDevice adds WFA TPC Report IE to probe requests\n"); in print_phy_handler()
599 printf("\tDevice supports quiet requests from AP\n"); in print_phy_handler()
601 printf("\tDevice can update TPC Report IE\n"); in print_phy_handler()
603 printf("\tDevice supports ACK timeout estimation.\n"); in print_phy_handler()
605 printf("\tDevice supports static SMPS\n"); in print_phy_handler()
607 printf("\tDevice supports dynamic SMPS\n"); in print_phy_handler()
609 printf("\tDevice supports WMM-AC admission (TSPECs)\n"); in print_phy_handler()
611 printf("\tDevice supports configuring vdev MAC-addr on create.\n"); in print_phy_handler()
613 printf("\tDevice supports TDLS channel switching\n"); in print_phy_handler()
621 printf("\tDevice supports VHT-IBSS.\n"); in print_phy_handler()
625 printf("\tDevice supports T-DLS.\n"); in print_phy_handler()
631 printf("\tCoalesce support:\n"); in print_phy_handler()
634 printf("\t\t * Maximum %u coalesce rules supported\n" in print_phy_handler()
678 printf("%d (0x%x): %s\n", i, i, command_name(i)); in handle_commands()
690 #define maybe_printf(...) do { if (print) printf(__VA_ARGS__); } while (0) in print_feature_handler()