Lines Matching refs:ntx

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
589 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
591 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
593 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, ch); in phy_fill_limit_20m_be()
595 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_20m_be()
600 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_40m_be() argument
603 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch - 2); in phy_fill_limit_40m_be()
605 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_40m_be()
608 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, pri_ch); in phy_fill_limit_40m_be()
611 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_40m_be()
613 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_40m_be()
615 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_40m_be()
620 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_80m_be() argument
623 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, pri_ch); in phy_fill_limit_80m_be()
626 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_80m_be()
628 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_80m_be()
630 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_80m_be()
632 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_80m_be()
634 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_80m_be()
636 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_80m_be()
638 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_80m_be()
641 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_80m_be()
647 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_160m_be() argument
650 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, pri_ch); in phy_fill_limit_160m_be()
653 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_160m_be()
655 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); in phy_fill_limit_160m_be()
657 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_160m_be()
659 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_160m_be()
661 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_160m_be()
663 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_160m_be()
665 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_160m_be()
667 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_160m_be()
670 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 12); in phy_fill_limit_160m_be()
672 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_160m_be()
674 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_160m_be()
676 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_160m_be()
679 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_160m_be()
681 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_160m_be()
684 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_160m_be()
687 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_160m_be()
690 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_160m_be()
696 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_320m_be() argument
699 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, pri_ch); in phy_fill_limit_320m_be()
702 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 30); in phy_fill_limit_320m_be()
704 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 26); in phy_fill_limit_320m_be()
706 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 22); in phy_fill_limit_320m_be()
708 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 18); in phy_fill_limit_320m_be()
710 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_320m_be()
712 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); in phy_fill_limit_320m_be()
714 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_320m_be()
716 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_320m_be()
718 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_320m_be()
720 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_320m_be()
722 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_320m_be()
724 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_320m_be()
726 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 18); in phy_fill_limit_320m_be()
728 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 22); in phy_fill_limit_320m_be()
730 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 26); in phy_fill_limit_320m_be()
732 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 30); in phy_fill_limit_320m_be()
735 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 28); in phy_fill_limit_320m_be()
737 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 20); in phy_fill_limit_320m_be()
739 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 12); in phy_fill_limit_320m_be()
741 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_320m_be()
743 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_320m_be()
745 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_320m_be()
747 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 20); in phy_fill_limit_320m_be()
749 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 28); in phy_fill_limit_320m_be()
752 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 24); in phy_fill_limit_320m_be()
754 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_320m_be()
756 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_320m_be()
758 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 24); in phy_fill_limit_320m_be()
761 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch - 16); in phy_fill_limit_320m_be()
763 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch + 16); in phy_fill_limit_320m_be()
766 RTW89_CHANNEL_WIDTH_320, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_320m_be()
769 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_320m_be()
772 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_320m_be()
775 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_320m_be()
778 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, in phy_fill_limit_320m_be()
785 u8 ntx) in rtw89_phy_fill_limit_be() argument
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()
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()
926 u8 ntx) in rtw89_phy_fill_limit_ru_be() argument
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()