Lines Matching +full:filt +full:- +full:disable
2 * Copyright (c) 2007-2008 Bruno Randolf <bruno@thinktube.com>
21 * Copyright (c) 2002-2005 Sam Leffler, Errno Consulting
22 * Copyright (c) 2004-2005 Atheros Communications, Inc.
39 * 3. Neither the names of the above-listed copyright holders nor the names
157 struct ath5k_hw *ah = seq->private; in reg_show()
159 seq_printf(seq, "%-25s0x%08x\n", r->name, in reg_show()
160 ath5k_hw_reg_read(ah, r->addr)); in reg_show()
178 struct ath5k_hw *ah = file->private_data; in read_file_beacon()
185 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
186 "%-24s0x%08x\tintval: %d\tTIM: 0x%x\n", in read_file_beacon()
190 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n", in read_file_beacon()
193 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\n\n", in read_file_beacon()
197 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
201 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
205 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
209 len += scnprintf(buf + len, sizeof(buf) - len, "%-24s0x%08x\tTU: %08x\n", in read_file_beacon()
213 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_beacon()
227 struct ath5k_hw *ah = file->private_data; in write_file_beacon()
230 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_beacon()
232 return -EFAULT; in write_file_beacon()
235 if (strncmp(buf, "disable", 7) == 0) { in write_file_beacon()
237 pr_info("debugfs disable beacons\n"); in write_file_beacon()
260 struct ath5k_hw *ah = file->private_data; in write_file_reset()
262 ieee80211_queue_work(ah->hw, &ah->reset_work); in write_file_reset()
299 struct ath5k_hw *ah = file->private_data; in read_file_debug()
304 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug()
305 "DEBUG LEVEL: 0x%08x\n\n", ah->debug.level); in read_file_debug()
307 for (i = 0; i < ARRAY_SIZE(dbg_info) - 1; i++) { in read_file_debug()
308 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug()
309 "%10s %c 0x%08x - %s\n", dbg_info[i].name, in read_file_debug()
310 ah->debug.level & dbg_info[i].level ? '+' : ' ', in read_file_debug()
313 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_debug()
314 "%10s %c 0x%08x - %s\n", dbg_info[i].name, in read_file_debug()
315 ah->debug.level == dbg_info[i].level ? '+' : ' ', in read_file_debug()
328 struct ath5k_hw *ah = file->private_data; in write_file_debug()
332 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_debug()
334 return -EFAULT; in write_file_debug()
340 ah->debug.level ^= dbg_info[i].level; /* toggle bit */ in write_file_debug()
361 struct ath5k_hw *ah = file->private_data; in read_file_antenna()
367 len += scnprintf(buf + len, sizeof(buf) - len, "antenna mode\t%d\n", in read_file_antenna()
368 ah->ah_ant_mode); in read_file_antenna()
369 len += scnprintf(buf + len, sizeof(buf) - len, "default antenna\t%d\n", in read_file_antenna()
370 ah->ah_def_ant); in read_file_antenna()
371 len += scnprintf(buf + len, sizeof(buf) - len, "tx antenna\t%d\n", in read_file_antenna()
372 ah->ah_tx_ant); in read_file_antenna()
374 len += scnprintf(buf + len, sizeof(buf) - len, "\nANTENNA\t\tRX\tTX\n"); in read_file_antenna()
375 for (i = 1; i < ARRAY_SIZE(ah->stats.antenna_rx); i++) { in read_file_antenna()
376 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
378 i, ah->stats.antenna_rx[i], ah->stats.antenna_tx[i]); in read_file_antenna()
380 len += scnprintf(buf + len, sizeof(buf) - len, "[invalid]\t%d\t%d\n", in read_file_antenna()
381 ah->stats.antenna_rx[0], ah->stats.antenna_tx[0]); in read_file_antenna()
384 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
388 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
391 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
394 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
397 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
402 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
407 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
412 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
417 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
420 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_antenna()
433 struct ath5k_hw *ah = file->private_data; in write_file_antenna()
437 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_antenna()
439 return -EFAULT; in write_file_antenna()
445 } else if (strncmp(buf, "fixed-a", 7) == 0) { in write_file_antenna()
448 } else if (strncmp(buf, "fixed-b", 7) == 0) { in write_file_antenna()
452 for (i = 0; i < ARRAY_SIZE(ah->stats.antenna_rx); i++) { in write_file_antenna()
453 ah->stats.antenna_rx[i] = 0; in write_file_antenna()
454 ah->stats.antenna_tx[i] = 0; in write_file_antenna()
474 struct ath5k_hw *ah = file->private_data; in read_file_misc()
477 u32 filt = ath5k_hw_get_rx_filter(ah); in read_file_misc() local
479 len += scnprintf(buf + len, sizeof(buf) - len, "bssid-mask: %pM\n", in read_file_misc()
480 ah->bssidmask); in read_file_misc()
481 len += scnprintf(buf + len, sizeof(buf) - len, "filter-flags: 0x%x ", in read_file_misc()
482 filt); in read_file_misc()
483 if (filt & AR5K_RX_FILTER_UCAST) in read_file_misc()
484 len += scnprintf(buf + len, sizeof(buf) - len, " UCAST"); in read_file_misc()
485 if (filt & AR5K_RX_FILTER_MCAST) in read_file_misc()
486 len += scnprintf(buf + len, sizeof(buf) - len, " MCAST"); in read_file_misc()
487 if (filt & AR5K_RX_FILTER_BCAST) in read_file_misc()
488 len += scnprintf(buf + len, sizeof(buf) - len, " BCAST"); in read_file_misc()
489 if (filt & AR5K_RX_FILTER_CONTROL) in read_file_misc()
490 len += scnprintf(buf + len, sizeof(buf) - len, " CONTROL"); in read_file_misc()
491 if (filt & AR5K_RX_FILTER_BEACON) in read_file_misc()
492 len += scnprintf(buf + len, sizeof(buf) - len, " BEACON"); in read_file_misc()
493 if (filt & AR5K_RX_FILTER_PROM) in read_file_misc()
494 len += scnprintf(buf + len, sizeof(buf) - len, " PROM"); in read_file_misc()
495 if (filt & AR5K_RX_FILTER_XRPOLL) in read_file_misc()
496 len += scnprintf(buf + len, sizeof(buf) - len, " XRPOLL"); in read_file_misc()
497 if (filt & AR5K_RX_FILTER_PROBEREQ) in read_file_misc()
498 len += scnprintf(buf + len, sizeof(buf) - len, " PROBEREQ"); in read_file_misc()
499 if (filt & AR5K_RX_FILTER_PHYERR_5212) in read_file_misc()
500 len += scnprintf(buf + len, sizeof(buf) - len, " PHYERR-5212"); in read_file_misc()
501 if (filt & AR5K_RX_FILTER_RADARERR_5212) in read_file_misc()
502 len += scnprintf(buf + len, sizeof(buf) - len, " RADARERR-5212"); in read_file_misc()
503 if (filt & AR5K_RX_FILTER_PHYERR_5211) in read_file_misc()
504 snprintf(buf + len, sizeof(buf) - len, " PHYERR-5211"); in read_file_misc()
505 if (filt & AR5K_RX_FILTER_RADARERR_5211) in read_file_misc()
506 len += scnprintf(buf + len, sizeof(buf) - len, " RADARERR-5211"); in read_file_misc()
508 len += scnprintf(buf + len, sizeof(buf) - len, "\nopmode: %s (%d)\n", in read_file_misc()
509 ath_opmode_to_string(ah->opmode), ah->opmode); in read_file_misc()
529 struct ath5k_hw *ah = file->private_data; in read_file_frameerrors()
530 struct ath5k_statistics *st = &ah->stats; in read_file_frameerrors()
535 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_frameerrors()
536 "RX\n---------------------\n"); in read_file_frameerrors()
537 len += scnprintf(buf + len, sizeof(buf) - len, "CRC\t%u\t(%u%%)\n", in read_file_frameerrors()
538 st->rxerr_crc, in read_file_frameerrors()
539 st->rx_all_count > 0 ? in read_file_frameerrors()
540 st->rxerr_crc * 100 / st->rx_all_count : 0); in read_file_frameerrors()
541 len += scnprintf(buf + len, sizeof(buf) - len, "PHY\t%u\t(%u%%)\n", in read_file_frameerrors()
542 st->rxerr_phy, in read_file_frameerrors()
543 st->rx_all_count > 0 ? in read_file_frameerrors()
544 st->rxerr_phy * 100 / st->rx_all_count : 0); in read_file_frameerrors()
546 if (st->rxerr_phy_code[i]) in read_file_frameerrors()
547 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_frameerrors()
549 i, st->rxerr_phy_code[i]); in read_file_frameerrors()
552 len += scnprintf(buf + len, sizeof(buf) - len, "FIFO\t%u\t(%u%%)\n", in read_file_frameerrors()
553 st->rxerr_fifo, in read_file_frameerrors()
554 st->rx_all_count > 0 ? in read_file_frameerrors()
555 st->rxerr_fifo * 100 / st->rx_all_count : 0); in read_file_frameerrors()
556 len += scnprintf(buf + len, sizeof(buf) - len, "decrypt\t%u\t(%u%%)\n", in read_file_frameerrors()
557 st->rxerr_decrypt, in read_file_frameerrors()
558 st->rx_all_count > 0 ? in read_file_frameerrors()
559 st->rxerr_decrypt * 100 / st->rx_all_count : 0); in read_file_frameerrors()
560 len += scnprintf(buf + len, sizeof(buf) - len, "MIC\t%u\t(%u%%)\n", in read_file_frameerrors()
561 st->rxerr_mic, in read_file_frameerrors()
562 st->rx_all_count > 0 ? in read_file_frameerrors()
563 st->rxerr_mic * 100 / st->rx_all_count : 0); in read_file_frameerrors()
564 len += scnprintf(buf + len, sizeof(buf) - len, "process\t%u\t(%u%%)\n", in read_file_frameerrors()
565 st->rxerr_proc, in read_file_frameerrors()
566 st->rx_all_count > 0 ? in read_file_frameerrors()
567 st->rxerr_proc * 100 / st->rx_all_count : 0); in read_file_frameerrors()
568 len += scnprintf(buf + len, sizeof(buf) - len, "jumbo\t%u\t(%u%%)\n", in read_file_frameerrors()
569 st->rxerr_jumbo, in read_file_frameerrors()
570 st->rx_all_count > 0 ? in read_file_frameerrors()
571 st->rxerr_jumbo * 100 / st->rx_all_count : 0); in read_file_frameerrors()
572 len += scnprintf(buf + len, sizeof(buf) - len, "[RX all\t%u]\n", in read_file_frameerrors()
573 st->rx_all_count); in read_file_frameerrors()
574 len += scnprintf(buf + len, sizeof(buf) - len, "RX-all-bytes\t%u\n", in read_file_frameerrors()
575 st->rx_bytes_count); in read_file_frameerrors()
577 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_frameerrors()
578 "\nTX\n---------------------\n"); in read_file_frameerrors()
579 len += scnprintf(buf + len, sizeof(buf) - len, "retry\t%u\t(%u%%)\n", in read_file_frameerrors()
580 st->txerr_retry, in read_file_frameerrors()
581 st->tx_all_count > 0 ? in read_file_frameerrors()
582 st->txerr_retry * 100 / st->tx_all_count : 0); in read_file_frameerrors()
583 len += scnprintf(buf + len, sizeof(buf) - len, "FIFO\t%u\t(%u%%)\n", in read_file_frameerrors()
584 st->txerr_fifo, in read_file_frameerrors()
585 st->tx_all_count > 0 ? in read_file_frameerrors()
586 st->txerr_fifo * 100 / st->tx_all_count : 0); in read_file_frameerrors()
587 len += scnprintf(buf + len, sizeof(buf) - len, "filter\t%u\t(%u%%)\n", in read_file_frameerrors()
588 st->txerr_filt, in read_file_frameerrors()
589 st->tx_all_count > 0 ? in read_file_frameerrors()
590 st->txerr_filt * 100 / st->tx_all_count : 0); in read_file_frameerrors()
591 len += scnprintf(buf + len, sizeof(buf) - len, "[TX all\t%u]\n", in read_file_frameerrors()
592 st->tx_all_count); in read_file_frameerrors()
593 len += scnprintf(buf + len, sizeof(buf) - len, "TX-all-bytes\t%u\n", in read_file_frameerrors()
594 st->tx_bytes_count); in read_file_frameerrors()
606 struct ath5k_hw *ah = file->private_data; in write_file_frameerrors()
607 struct ath5k_statistics *st = &ah->stats; in write_file_frameerrors()
610 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_frameerrors()
612 return -EFAULT; in write_file_frameerrors()
616 st->rxerr_crc = 0; in write_file_frameerrors()
617 st->rxerr_phy = 0; in write_file_frameerrors()
618 st->rxerr_fifo = 0; in write_file_frameerrors()
619 st->rxerr_decrypt = 0; in write_file_frameerrors()
620 st->rxerr_mic = 0; in write_file_frameerrors()
621 st->rxerr_proc = 0; in write_file_frameerrors()
622 st->rxerr_jumbo = 0; in write_file_frameerrors()
623 st->rx_all_count = 0; in write_file_frameerrors()
624 st->txerr_retry = 0; in write_file_frameerrors()
625 st->txerr_fifo = 0; in write_file_frameerrors()
626 st->txerr_filt = 0; in write_file_frameerrors()
627 st->tx_all_count = 0; in write_file_frameerrors()
647 struct ath5k_hw *ah = file->private_data; in read_file_ani()
648 struct ath5k_statistics *st = &ah->stats; in read_file_ani()
649 struct ath5k_ani_state *as = &ah->ani_state; in read_file_ani()
654 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
656 ah->ah_capabilities.cap_has_phyerr_counters ? in read_file_ani()
658 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
660 as->max_spur_level); in read_file_ani()
661 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
662 "\nANI state\n--------------------------------------------\n"); in read_file_ani()
663 len += scnprintf(buf + len, sizeof(buf) - len, "operating mode:\t\t\t"); in read_file_ani()
664 switch (as->ani_mode) { in read_file_ani()
666 len += scnprintf(buf + len, sizeof(buf) - len, "OFF\n"); in read_file_ani()
669 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
673 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
677 len += scnprintf(buf + len, sizeof(buf) - len, "AUTO\n"); in read_file_ani()
680 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
684 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
686 as->noise_imm_level); in read_file_ani()
687 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
689 as->spur_level); in read_file_ani()
690 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
692 as->firstep_level); in read_file_ani()
693 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
695 as->ofdm_weak_sig ? "on" : "off"); in read_file_ani()
696 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
698 as->cck_weak_sig ? "on" : "off"); in read_file_ani()
700 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
702 st->mib_intr); in read_file_ani()
703 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
705 (int)ewma_beacon_rssi_read(&ah->ah_beacon_rssi_avg)); in read_file_ani()
712 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
714 CC_PRINT(as->last_cc, tx_frame)); in read_file_ani()
715 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
717 CC_PRINT(as->last_cc, rx_frame)); in read_file_ani()
718 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
720 CC_PRINT(as->last_cc, rx_busy)); in read_file_ani()
722 len += scnprintf(buf + len, sizeof(buf) - len, "profcnt cycles\t\t%u\n", in read_file_ani()
723 as->last_cc.cycles); in read_file_ani()
724 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
726 as->listen_time, as->last_listen); in read_file_ani()
727 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
729 as->ofdm_errors, as->last_ofdm_errors, in read_file_ani()
730 as->sum_ofdm_errors); in read_file_ani()
731 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
733 as->cck_errors, as->last_cck_errors, in read_file_ani()
734 as->sum_cck_errors); in read_file_ani()
735 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
738 ATH5K_ANI_OFDM_TRIG_HIGH - (ATH5K_PHYERR_CNT_MAX - in read_file_ani()
740 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_ani()
743 ATH5K_ANI_CCK_TRIG_HIGH - (ATH5K_PHYERR_CNT_MAX - in read_file_ani()
756 struct ath5k_hw *ah = file->private_data; in write_file_ani()
759 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_ani()
761 return -EFAULT; in write_file_ani()
764 if (strncmp(buf, "sens-low", 8) == 0) { in write_file_ani()
766 } else if (strncmp(buf, "sens-high", 9) == 0) { in write_file_ani()
768 } else if (strncmp(buf, "ani-off", 7) == 0) { in write_file_ani()
770 } else if (strncmp(buf, "ani-on", 6) == 0) { in write_file_ani()
772 } else if (strncmp(buf, "noise-low", 9) == 0) { in write_file_ani()
774 } else if (strncmp(buf, "noise-high", 10) == 0) { in write_file_ani()
777 } else if (strncmp(buf, "spur-low", 8) == 0) { in write_file_ani()
779 } else if (strncmp(buf, "spur-high", 9) == 0) { in write_file_ani()
781 ah->ani_state.max_spur_level); in write_file_ani()
782 } else if (strncmp(buf, "fir-low", 7) == 0) { in write_file_ani()
784 } else if (strncmp(buf, "fir-high", 8) == 0) { in write_file_ani()
786 } else if (strncmp(buf, "ofdm-off", 8) == 0) { in write_file_ani()
788 } else if (strncmp(buf, "ofdm-on", 7) == 0) { in write_file_ani()
790 } else if (strncmp(buf, "cck-off", 7) == 0) { in write_file_ani()
792 } else if (strncmp(buf, "cck-on", 6) == 0) { in write_file_ani()
812 struct ath5k_hw *ah = file->private_data; in read_file_queue()
820 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_queue()
821 "available txbuffers: %d\n", ah->txbuf_len); in read_file_queue()
823 for (i = 0; i < ARRAY_SIZE(ah->txqs); i++) { in read_file_queue()
824 txq = &ah->txqs[i]; in read_file_queue()
826 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_queue()
827 "%02d: %ssetup\n", i, txq->setup ? "" : "not "); in read_file_queue()
829 if (!txq->setup) in read_file_queue()
833 spin_lock_bh(&txq->lock); in read_file_queue()
834 list_for_each_entry_safe(bf, bf0, &txq->q, list) in read_file_queue()
836 spin_unlock_bh(&txq->lock); in read_file_queue()
838 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_queue()
839 " len: %d bufs: %d\n", txq->txq_len, n); in read_file_queue()
840 len += scnprintf(buf + len, sizeof(buf) - len, in read_file_queue()
841 " stuck: %d\n", txq->txq_stuck); in read_file_queue()
854 struct ath5k_hw *ah = file->private_data; in write_file_queue()
857 count = min_t(size_t, count, sizeof(buf) - 1); in write_file_queue()
859 return -EFAULT; in write_file_queue()
863 ieee80211_wake_queues(ah->hw); in write_file_queue()
865 ieee80211_stop_queues(ah->hw); in write_file_queue()
889 struct ath5k_hw *ah = inode->i_private; in open_file_eeprom()
892 u32 eesize; /* NB: in 16-bit words */ in open_file_eeprom()
899 return -EACCES; in open_file_eeprom()
911 return -EINVAL; in open_file_eeprom()
917 ret = -ENOMEM; in open_file_eeprom()
923 ret = -EIO; in open_file_eeprom()
933 ret = -ENOMEM; in open_file_eeprom()
937 ep->buf = buf; in open_file_eeprom()
938 ep->len = eesize * 2; in open_file_eeprom()
940 file->private_data = (void *)ep; in open_file_eeprom()
954 struct eeprom_private *ep = file->private_data; in read_file_eeprom()
956 return simple_read_from_buffer(user_buf, count, ppos, ep->buf, ep->len); in read_file_eeprom()
961 struct eeprom_private *ep = file->private_data; in release_file_eeprom()
963 vfree(ep->buf); in release_file_eeprom()
982 ah->debug.level = ath5k_debug; in ath5k_debug_init_device()
984 phydir = debugfs_create_dir("ath5k", ah->hw->wiphy->debugfsdir); in ath5k_debug_init_device()
997 &ah->ah_use_32khz_clock); in ath5k_debug_init_device()
1007 if (likely(!(ah->debug.level & ATH5K_DEBUG_DUMPBANDS))) in ath5k_debug_dump_bands()
1011 struct ieee80211_supported_band *band = &ah->sbands[b]; in ath5k_debug_dump_bands()
1013 switch (band->band) { in ath5k_debug_dump_bands()
1022 band->band); in ath5k_debug_dump_bands()
1026 band->n_channels, band->n_bitrates); in ath5k_debug_dump_bands()
1028 for (i = 0; i < band->n_channels; i++) in ath5k_debug_dump_bands()
1031 band->channels[i].center_freq), in ath5k_debug_dump_bands()
1032 band->channels[i].center_freq, in ath5k_debug_dump_bands()
1033 band->channels[i].hw_value, in ath5k_debug_dump_bands()
1034 band->channels[i].flags); in ath5k_debug_dump_bands()
1036 for (i = 0; i < band->n_bitrates; i++) in ath5k_debug_dump_bands()
1038 band->bitrates[i].bitrate, in ath5k_debug_dump_bands()
1039 band->bitrates[i].hw_value, in ath5k_debug_dump_bands()
1040 band->bitrates[i].flags, in ath5k_debug_dump_bands()
1041 band->bitrates[i].hw_value_short); in ath5k_debug_dump_bands()
1049 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printrxbuf()
1050 struct ath5k_hw_all_rx_desc *rd = &ds->ud.ds_rx; in ath5k_debug_printrxbuf()
1053 ds, (unsigned long long)bf->daddr, in ath5k_debug_printrxbuf()
1054 ds->ds_link, ds->ds_data, in ath5k_debug_printrxbuf()
1055 rd->rx_ctl.rx_control_0, rd->rx_ctl.rx_control_1, in ath5k_debug_printrxbuf()
1056 rd->rx_stat.rx_status_0, rd->rx_stat.rx_status_1, in ath5k_debug_printrxbuf()
1057 !done ? ' ' : (rs->rs_status == 0) ? '*' : '!'); in ath5k_debug_printrxbuf()
1068 if (likely(!(ah->debug.level & ATH5K_DEBUG_DESC))) in ath5k_debug_printrxbuffs()
1072 ath5k_hw_get_rxdp(ah), ah->rxlink); in ath5k_debug_printrxbuffs()
1074 spin_lock_bh(&ah->rxbuflock); in ath5k_debug_printrxbuffs()
1075 list_for_each_entry(bf, &ah->rxbuf, list) { in ath5k_debug_printrxbuffs()
1076 ds = bf->desc; in ath5k_debug_printrxbuffs()
1077 status = ah->ah_proc_rx_desc(ah, ds, &rs); in ath5k_debug_printrxbuffs()
1081 spin_unlock_bh(&ah->rxbuflock); in ath5k_debug_printrxbuffs()
1087 struct ath5k_desc *ds = bf->desc; in ath5k_debug_printtxbuf()
1088 struct ath5k_hw_5212_tx_desc *td = &ds->ud.ds_tx5212; in ath5k_debug_printtxbuf()
1092 if (likely(!(ah->debug.level & ATH5K_DEBUG_DESC))) in ath5k_debug_printtxbuf()
1095 done = ah->ah_proc_tx_desc(ah, bf->desc, &ts); in ath5k_debug_printtxbuf()
1098 "%08x %c\n", ds, (unsigned long long)bf->daddr, ds->ds_link, in ath5k_debug_printtxbuf()
1099 ds->ds_data, td->tx_ctl.tx_control_0, td->tx_ctl.tx_control_1, in ath5k_debug_printtxbuf()
1100 td->tx_ctl.tx_control_2, td->tx_ctl.tx_control_3, in ath5k_debug_printtxbuf()
1101 td->tx_stat.tx_status_0, td->tx_stat.tx_status_1, in ath5k_debug_printtxbuf()