Lines Matching full:band

473 void __phy_set_txpwr_byrate_be(struct rtw89_dev *rtwdev, u8 band, u8 bw,  in __phy_set_txpwr_byrate_be()  argument
494 v[pos] = rtw89_phy_read_txpwr_byrate(rtwdev, band, bw, in __phy_set_txpwr_byrate_be()
516 u8 band = chan->band_type; in rtw89_phy_set_txpwr_byrate_be() local
520 "[TXPWR] set txpwr byrate on band %d\n", band); in rtw89_phy_set_txpwr_byrate_be()
524 __phy_set_txpwr_byrate_be(rtwdev, band, bw, nss, in rtw89_phy_set_txpwr_byrate_be()
536 u8 band = chan->band_type; in rtw89_phy_set_txpwr_offset_be() local
541 "[TXPWR] set txpwr offset on band %d\n", band); in rtw89_phy_set_txpwr_offset_be()
544 v[desc.idx] = rtw89_phy_read_txpwr_byrate(rtwdev, band, 0, &desc); in rtw89_phy_set_txpwr_offset_be()
560 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch) in fill_limit_nonbf_bf() argument
565 (*ptr)[bf] = rtw89_phy_read_txpwr_limit(rtwdev, band, bw, ntx, in fill_limit_nonbf_bf()
571 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch1, u8 ch2) in fill_limit_nonbf_bf_min() argument
577 fill_limit_nonbf_bf(rtwdev, &v1, band, bw, ntx, rs, ch1); in fill_limit_nonbf_bf_min()
578 fill_limit_nonbf_bf(rtwdev, &v2, band, bw, ntx, rs, ch2); in fill_limit_nonbf_bf_min()
586 u8 band, u8 ntx, u8 ch) in phy_fill_limit_20m_be() argument
588 fill_limit_nonbf_bf(rtwdev, &lmt->cck_20m, band, in phy_fill_limit_20m_be()
590 fill_limit_nonbf_bf(rtwdev, &lmt->cck_40m, band, in phy_fill_limit_20m_be()
592 fill_limit_nonbf_bf(rtwdev, &lmt->ofdm, band, in phy_fill_limit_20m_be()
594 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[0], band, in phy_fill_limit_20m_be()
600 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_40m_be() argument
602 fill_limit_nonbf_bf(rtwdev, &lmt->cck_20m, band, in phy_fill_limit_40m_be()
604 fill_limit_nonbf_bf(rtwdev, &lmt->cck_40m, band, in phy_fill_limit_40m_be()
607 fill_limit_nonbf_bf(rtwdev, &lmt->ofdm, band, in phy_fill_limit_40m_be()
610 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[0], band, in phy_fill_limit_40m_be()
612 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[1], band, in phy_fill_limit_40m_be()
614 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[0], band, in phy_fill_limit_40m_be()
620 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_80m_be() argument
622 fill_limit_nonbf_bf(rtwdev, &lmt->ofdm, band, in phy_fill_limit_80m_be()
625 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[0], band, in phy_fill_limit_80m_be()
627 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[1], band, in phy_fill_limit_80m_be()
629 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[2], band, in phy_fill_limit_80m_be()
631 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[3], band, in phy_fill_limit_80m_be()
633 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[0], band, in phy_fill_limit_80m_be()
635 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[1], band, in phy_fill_limit_80m_be()
637 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[0], band, in phy_fill_limit_80m_be()
640 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_0p5, band, in phy_fill_limit_80m_be()
647 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_160m_be() argument
649 fill_limit_nonbf_bf(rtwdev, &lmt->ofdm, band, in phy_fill_limit_160m_be()
652 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[0], band, in phy_fill_limit_160m_be()
654 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[1], band, in phy_fill_limit_160m_be()
656 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[2], band, in phy_fill_limit_160m_be()
658 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[3], band, in phy_fill_limit_160m_be()
660 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[4], band, in phy_fill_limit_160m_be()
662 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[5], band, in phy_fill_limit_160m_be()
664 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[6], band, in phy_fill_limit_160m_be()
666 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[7], band, in phy_fill_limit_160m_be()
669 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[0], band, in phy_fill_limit_160m_be()
671 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[1], band, in phy_fill_limit_160m_be()
673 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[2], band, in phy_fill_limit_160m_be()
675 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[3], band, in phy_fill_limit_160m_be()
678 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[0], band, in phy_fill_limit_160m_be()
680 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[1], band, in phy_fill_limit_160m_be()
683 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_160m[0], band, in phy_fill_limit_160m_be()
686 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_0p5, band, in phy_fill_limit_160m_be()
689 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_2p5, band, in phy_fill_limit_160m_be()
696 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_320m_be() argument
698 fill_limit_nonbf_bf(rtwdev, &lmt->ofdm, band, in phy_fill_limit_320m_be()
701 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[0], band, in phy_fill_limit_320m_be()
703 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[1], band, in phy_fill_limit_320m_be()
705 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[2], band, in phy_fill_limit_320m_be()
707 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[3], band, in phy_fill_limit_320m_be()
709 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[4], band, in phy_fill_limit_320m_be()
711 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[5], band, in phy_fill_limit_320m_be()
713 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[6], band, in phy_fill_limit_320m_be()
715 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[7], band, in phy_fill_limit_320m_be()
717 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[8], band, in phy_fill_limit_320m_be()
719 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[9], band, in phy_fill_limit_320m_be()
721 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[10], band, in phy_fill_limit_320m_be()
723 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[11], band, in phy_fill_limit_320m_be()
725 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[12], band, in phy_fill_limit_320m_be()
727 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[13], band, in phy_fill_limit_320m_be()
729 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[14], band, in phy_fill_limit_320m_be()
731 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_20m[15], band, in phy_fill_limit_320m_be()
734 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[0], band, in phy_fill_limit_320m_be()
736 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[1], band, in phy_fill_limit_320m_be()
738 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[2], band, in phy_fill_limit_320m_be()
740 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[3], band, in phy_fill_limit_320m_be()
742 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[4], band, in phy_fill_limit_320m_be()
744 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[5], band, in phy_fill_limit_320m_be()
746 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[6], band, in phy_fill_limit_320m_be()
748 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_40m[7], band, in phy_fill_limit_320m_be()
751 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[0], band, in phy_fill_limit_320m_be()
753 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[1], band, in phy_fill_limit_320m_be()
755 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[2], band, in phy_fill_limit_320m_be()
757 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_80m[3], band, in phy_fill_limit_320m_be()
760 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_160m[0], band, in phy_fill_limit_320m_be()
762 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_160m[1], band, in phy_fill_limit_320m_be()
765 fill_limit_nonbf_bf(rtwdev, &lmt->mcs_320m, band, in phy_fill_limit_320m_be()
768 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_0p5, band, in phy_fill_limit_320m_be()
771 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_2p5, band, in phy_fill_limit_320m_be()
774 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_4p5, band, in phy_fill_limit_320m_be()
777 fill_limit_nonbf_bf_min(rtwdev, &lmt->mcs_40m_6p5, band, in phy_fill_limit_320m_be()
787 u8 band = chan->band_type; in rtw89_phy_fill_limit_be() local
796 phy_fill_limit_20m_be(rtwdev, lmt, band, ntx, ch); in rtw89_phy_fill_limit_be()
799 phy_fill_limit_40m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
802 phy_fill_limit_80m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
805 phy_fill_limit_160m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
808 phy_fill_limit_320m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
826 "[TXPWR] set txpwr limit on band %d bw %d\n", in rtw89_phy_set_txpwr_limit_be()
848 u8 band, u8 ntx, u8 ch) in fill_limit_ru_each() argument
851 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU26, ntx, ch); in fill_limit_ru_each()
853 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52, ntx, ch); in fill_limit_ru_each()
855 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106, ntx, ch); in fill_limit_ru_each()
857 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52_26, ntx, ch); in fill_limit_ru_each()
859 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106_26, ntx, ch); in fill_limit_ru_each()
864 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_20m_be() argument
866 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch); in phy_fill_limit_ru_20m_be()
871 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_40m_be() argument
873 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_40m_be()
874 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_40m_be()
879 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_80m_be() argument
881 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_80m_be()
882 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_80m_be()
883 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_80m_be()
884 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_80m_be()
889 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_160m_be() argument
891 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_160m_be()
892 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_160m_be()
893 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_160m_be()
894 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_160m_be()
895 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_160m_be()
896 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_160m_be()
897 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_160m_be()
898 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_160m_be()
903 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_320m_be() argument
905 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 30); in phy_fill_limit_ru_320m_be()
906 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 26); in phy_fill_limit_ru_320m_be()
907 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 22); in phy_fill_limit_ru_320m_be()
908 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 18); in phy_fill_limit_ru_320m_be()
909 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_320m_be()
910 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_320m_be()
911 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_320m_be()
912 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_320m_be()
913 fill_limit_ru_each(rtwdev, 8, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_320m_be()
914 fill_limit_ru_each(rtwdev, 9, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_320m_be()
915 fill_limit_ru_each(rtwdev, 10, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_320m_be()
916 fill_limit_ru_each(rtwdev, 11, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_320m_be()
917 fill_limit_ru_each(rtwdev, 12, lmt_ru, band, ntx, ch + 18); in phy_fill_limit_ru_320m_be()
918 fill_limit_ru_each(rtwdev, 13, lmt_ru, band, ntx, ch + 22); in phy_fill_limit_ru_320m_be()
919 fill_limit_ru_each(rtwdev, 14, lmt_ru, band, ntx, ch + 26); in phy_fill_limit_ru_320m_be()
920 fill_limit_ru_each(rtwdev, 15, lmt_ru, band, ntx, ch + 30); in phy_fill_limit_ru_320m_be()
928 u8 band = chan->band_type; in rtw89_phy_fill_limit_ru_be() local
936 phy_fill_limit_ru_20m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
939 phy_fill_limit_ru_40m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
942 phy_fill_limit_ru_80m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
945 phy_fill_limit_ru_160m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
948 phy_fill_limit_ru_320m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
966 "[TXPWR] set txpwr limit ru on band %d bw %d\n", in rtw89_phy_set_txpwr_limit_ru_be()