Lines Matching refs:printf
53 printf(" [no frame]"); in print_frame()
59 printf(" [invalid frame: "); in print_frame()
64 printf(" %s -> ", macbuf); in print_frame()
66 printf("%s", macbuf); in print_frame()
73 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
81 printf(" status: %d: %s", tmp, get_status_str(tmp)); in print_frame()
87 printf(" reason %d: %s", tmp, get_reason_str(tmp)); in print_frame()
94 printf(" [frame:"); in print_frame()
98 printf(" %.02x", frame[i]); in print_frame()
99 printf("]"); in print_frame()
112 printf("CQM event: "); in parse_cqm_event()
116 printf("missing data!\n"); in parse_cqm_event()
128 printf("RSSI went above threshold\n"); in parse_cqm_event()
132 printf("RSSI went below threshold\n"); in parse_cqm_event()
136 printf("Beacon loss detected\n"); in parse_cqm_event()
142 printf("Unknown event type: %i\n", rssi_event); in parse_cqm_event()
150 printf("peer %s didn't ACK %d packets\n", buf, frames); in parse_cqm_event()
152 printf("PKT-LOSS-EVENT did not have MAC attribute!\n"); in parse_cqm_event()
155 printf("beacon loss\n"); in parse_cqm_event()
157 printf("unknown event\n"); in parse_cqm_event()
179 printf("Michael MIC failure event:"); in parse_mic_failure()
184 printf(" source MAC address %s", addr); in parse_mic_failure()
190 printf(" seq=%02x%02x%02x%02x%02x%02x", in parse_mic_failure()
196 printf(" Key Type %s", key_type_str(key_type)); in parse_mic_failure()
201 printf(" Key Id %d", key_id); in parse_mic_failure()
204 printf("\n"); in parse_mic_failure()
212 printf("WoWLAN wakeup\n"); in parse_wowlan_wake_event()
214 printf("\twakeup not due to WoWLAN\n"); in parse_wowlan_wake_event()
223 printf("\t* was disconnected\n"); in parse_wowlan_wake_event()
225 printf("\t* magic packet received\n"); in parse_wowlan_wake_event()
227 printf("\t* pattern index: %u\n", in parse_wowlan_wake_event()
230 printf("\t* GTK rekey failure\n"); in parse_wowlan_wake_event()
232 printf("\t* EAP identity request\n"); in parse_wowlan_wake_event()
234 printf("\t* 4-way handshake\n"); in parse_wowlan_wake_event()
236 printf("\t* RF-kill released\n"); in parse_wowlan_wake_event()
241 printf("\t* network detected\n"); in parse_wowlan_wake_event()
248 printf("\t\tSSID: \""); in parse_wowlan_wake_event()
251 printf("\""); in parse_wowlan_wake_event()
253 printf(" freq(s):"); in parse_wowlan_wake_event()
257 printf(" %d", nla_get_u32(freq)); in parse_wowlan_wake_event()
259 printf("\n"); in parse_wowlan_wake_event()
266 printf("\t* packet (might be truncated): "); in parse_wowlan_wake_event()
269 printf(":"); in parse_wowlan_wake_event()
270 printf("%.2x", d[i]); in parse_wowlan_wake_event()
272 printf("\n"); in parse_wowlan_wake_event()
278 printf("\t* packet (might be truncated): "); in parse_wowlan_wake_event()
281 printf(":"); in parse_wowlan_wake_event()
282 printf("%.2x", d[i]); in parse_wowlan_wake_event()
284 printf("\n"); in parse_wowlan_wake_event()
287 printf("\t* TCP connection wakeup received\n"); in parse_wowlan_wake_event()
289 printf("\t* TCP connection lost\n"); in parse_wowlan_wake_event()
291 printf("\t* TCP connection ran out of tokens\n"); in parse_wowlan_wake_event()
320 printf("%llu.%06llu: ", usecs/1000000, usecs % 1000000); in print_event()
328 printf("%s (phy #%d): ", ifname, nla_get_u32(tb[NL80211_ATTR_WIPHY])); in print_event()
330 printf("wdev 0x%llx (phy #%d): ", in print_event()
335 printf("%s: ", ifname); in print_event()
337 printf("wdev 0x%llx: ", (unsigned long long)nla_get_u64(tb[NL80211_ATTR_WDEV])); in print_event()
339 printf("phy #%d: ", nla_get_u32(tb[NL80211_ATTR_WIPHY])); in print_event()
344 printf("renamed to %s\n", nla_get_string(tb[NL80211_ATTR_WIPHY_NAME])); in print_event()
347 printf("scan started\n"); in print_event()
350 printf("scan finished:"); in print_event()
353 printf("scan aborted:"); in print_event()
356 printf(" %d", nla_get_u32(nst)); in print_event()
357 printf(","); in print_event()
361 printf(" \""); in print_event()
363 printf("\""); in print_event()
366 printf("\n"); in print_event()
369 printf("scheduled scan started\n"); in print_event()
372 printf("sched scan stopped\n"); in print_event()
375 printf("got scheduled scan results\n"); in print_event()
378 printf("regulatory domain change: "); in print_event()
384 printf("set to %s by %s request", in print_event()
388 printf(" on phy%d", nla_get_u32(tb[NL80211_ATTR_WIPHY])); in print_event()
391 printf("set to world roaming by %s request", in print_event()
395 printf("custom world roaming rules in place on phy%d by %s request", in print_event()
400 printf("intersection used due to a request made by %s", in print_event()
403 printf(" on phy%d", nla_get_u32(tb[NL80211_ATTR_WIPHY])); in print_event()
406 printf("unknown source (upgrade this utility)"); in print_event()
410 printf("\n"); in print_event()
430 printf("beacon hint:\n"); in print_event()
432 printf("phy%d %d MHz [%d]:\n", in print_event()
439 printf("\to Initiating radiation enabled\n"); in print_event()
441 printf("\to active scan enabled\n"); in print_event()
443 printf("\to ibss enabled\n"); in print_event()
449 printf("new station %s\n", macbuf); in print_event()
453 printf("del station %s\n", macbuf); in print_event()
457 printf("IBSS %s joined\n", macbuf); in print_event()
460 printf("auth"); in print_event()
464 printf(": timed out"); in print_event()
466 printf(": unknown event"); in print_event()
467 printf("\n"); in print_event()
470 printf("assoc"); in print_event()
474 printf(": timed out"); in print_event()
476 printf(": unknown event"); in print_event()
477 printf("\n"); in print_event()
480 printf("deauth"); in print_event()
482 printf("\n"); in print_event()
485 printf("disassoc"); in print_event()
487 printf("\n"); in print_event()
490 printf("unprotected deauth"); in print_event()
492 printf("\n"); in print_event()
495 printf("unprotected disassoc"); in print_event()
497 printf("\n"); in print_event()
502 printf("unknown connect status"); in print_event()
504 printf("connected"); in print_event()
507 printf("failed to connect"); in print_event()
511 printf(" to %s", macbuf); in print_event()
514 printf(", status: %d: %s", status, get_status_str(status)); in print_event()
515 printf("\n"); in print_event()
518 printf("roamed"); in print_event()
521 printf(" to %s", macbuf); in print_event()
523 printf("\n"); in print_event()
526 printf("disconnected"); in print_event()
528 printf(" (by AP)"); in print_event()
530 printf(" (local request)"); in print_event()
532 printf(" reason: %d: %s", nla_get_u16(tb[NL80211_ATTR_REASON_CODE]), in print_event()
534 printf("\n"); in print_event()
537 printf("remain on freq %d (%dms, cookie %llx)\n", in print_event()
543 printf("done with remain on freq %d (cookie %llx)\n", in print_event()
554 printf("mgmt TX status (cookie %llx): %s\n", in print_event()
559 printf("PMKSA candidate found\n"); in print_event()
569 printf("probe client %s (cookie %llx): %s\n", in print_event()
575 printf("vendor event %.6x:%d\n", in print_event()
584 printf("radar event "); in print_event()
588 printf("(radar detected)"); in print_event()
591 printf("(cac finished)"); in print_event()
594 printf("(cac aborted)"); in print_event()
597 printf("(nop finished)"); in print_event()
600 printf("(unknown)"); in print_event()
604 printf("(unknown)"); in print_event()
606 printf("\n"); in print_event()
609 printf("delete wiphy\n"); in print_event()
612 printf("unknown event %d (%s)\n", in print_event()