Lines Matching full:ch
566 u8 band, u8 bw, u8 ntx, u8 rs, u8 ch) in fill_limit_nonbf_bf() argument
572 rs, bf, ch); in fill_limit_nonbf_bf()
592 u8 band, u8 ntx, u8 ch) in phy_fill_limit_20m_be() argument
595 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
597 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_20m_be()
599 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_OFDM, ch); in phy_fill_limit_20m_be()
601 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_20m_be()
606 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_40m_be() argument
609 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_CCK, ch - 2); in phy_fill_limit_40m_be()
611 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_CCK, ch); in phy_fill_limit_40m_be()
617 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_40m_be()
619 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_40m_be()
621 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_40m_be()
626 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_80m_be() argument
632 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 6); in phy_fill_limit_80m_be()
634 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 2); in phy_fill_limit_80m_be()
636 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_80m_be()
638 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_80m_be()
640 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_80m_be()
642 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_80m_be()
644 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_80m_be()
648 ch - 4, ch + 4); in phy_fill_limit_80m_be()
653 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_160m_be() argument
659 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_160m_be()
661 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); 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 - 2); in phy_fill_limit_160m_be()
667 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_160m_be()
669 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_160m_be()
671 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_160m_be()
673 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_160m_be()
676 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 12); in phy_fill_limit_160m_be()
678 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 4); in phy_fill_limit_160m_be()
680 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_160m_be()
682 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_160m_be()
685 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_160m_be()
687 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_160m_be()
690 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_160m_be()
694 ch - 12, ch - 4); in phy_fill_limit_160m_be()
697 ch + 4, ch + 12); in phy_fill_limit_160m_be()
702 u8 band, u8 ntx, u8 ch, u8 pri_ch) in phy_fill_limit_320m_be() argument
708 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 30); in phy_fill_limit_320m_be()
710 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 26); in phy_fill_limit_320m_be()
712 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 22); in phy_fill_limit_320m_be()
714 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 18); in phy_fill_limit_320m_be()
716 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 14); in phy_fill_limit_320m_be()
718 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch - 10); 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 - 2); in phy_fill_limit_320m_be()
724 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 2); in phy_fill_limit_320m_be()
726 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 6); in phy_fill_limit_320m_be()
728 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 10); in phy_fill_limit_320m_be()
730 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 14); in phy_fill_limit_320m_be()
732 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 18); in phy_fill_limit_320m_be()
734 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 22); in phy_fill_limit_320m_be()
736 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 26); in phy_fill_limit_320m_be()
738 RTW89_CHANNEL_WIDTH_20, ntx, RTW89_RS_MCS, ch + 30); in phy_fill_limit_320m_be()
741 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 28); in phy_fill_limit_320m_be()
743 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch - 20); 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 - 4); in phy_fill_limit_320m_be()
749 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 4); in phy_fill_limit_320m_be()
751 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 12); in phy_fill_limit_320m_be()
753 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 20); in phy_fill_limit_320m_be()
755 RTW89_CHANNEL_WIDTH_40, ntx, RTW89_RS_MCS, ch + 28); in phy_fill_limit_320m_be()
758 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 24); in phy_fill_limit_320m_be()
760 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch - 8); in phy_fill_limit_320m_be()
762 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 8); in phy_fill_limit_320m_be()
764 RTW89_CHANNEL_WIDTH_80, ntx, RTW89_RS_MCS, ch + 24); in phy_fill_limit_320m_be()
767 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch - 16); in phy_fill_limit_320m_be()
769 RTW89_CHANNEL_WIDTH_160, ntx, RTW89_RS_MCS, ch + 16); in phy_fill_limit_320m_be()
772 RTW89_CHANNEL_WIDTH_320, ntx, RTW89_RS_MCS, ch); in phy_fill_limit_320m_be()
776 ch - 28, ch - 20); in phy_fill_limit_320m_be()
779 ch - 12, ch - 4); in phy_fill_limit_320m_be()
782 ch + 4, ch + 12); in phy_fill_limit_320m_be()
785 ch + 20, ch + 28); in phy_fill_limit_320m_be()
795 u8 ch = chan->channel; in rtw89_phy_fill_limit_be() local
802 phy_fill_limit_20m_be(rtwdev, lmt, band, ntx, ch); in rtw89_phy_fill_limit_be()
805 phy_fill_limit_40m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
808 phy_fill_limit_80m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
811 phy_fill_limit_160m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
814 phy_fill_limit_320m_be(rtwdev, lmt, band, ntx, ch, pri_ch); in rtw89_phy_fill_limit_be()
854 u8 band, u8 ntx, u8 ch) in fill_limit_ru_each() argument
857 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU26, ntx, ch); in fill_limit_ru_each()
859 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52, ntx, ch); in fill_limit_ru_each()
861 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106, ntx, ch); in fill_limit_ru_each()
863 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU52_26, ntx, ch); in fill_limit_ru_each()
865 rtw89_phy_read_txpwr_limit_ru(rtwdev, band, RTW89_RU106_26, ntx, ch); in fill_limit_ru_each()
870 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_20m_be() argument
872 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch); in phy_fill_limit_ru_20m_be()
877 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_40m_be() argument
879 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_40m_be()
880 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_40m_be()
885 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_80m_be() argument
887 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_80m_be()
888 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_80m_be()
889 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_80m_be()
890 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_80m_be()
895 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_160m_be() argument
897 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_160m_be()
898 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_160m_be()
899 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_160m_be()
900 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_160m_be()
901 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_160m_be()
902 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_160m_be()
903 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_160m_be()
904 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_160m_be()
909 u8 band, u8 ntx, u8 ch) in phy_fill_limit_ru_320m_be() argument
911 fill_limit_ru_each(rtwdev, 0, lmt_ru, band, ntx, ch - 30); in phy_fill_limit_ru_320m_be()
912 fill_limit_ru_each(rtwdev, 1, lmt_ru, band, ntx, ch - 26); in phy_fill_limit_ru_320m_be()
913 fill_limit_ru_each(rtwdev, 2, lmt_ru, band, ntx, ch - 22); in phy_fill_limit_ru_320m_be()
914 fill_limit_ru_each(rtwdev, 3, lmt_ru, band, ntx, ch - 18); in phy_fill_limit_ru_320m_be()
915 fill_limit_ru_each(rtwdev, 4, lmt_ru, band, ntx, ch - 14); in phy_fill_limit_ru_320m_be()
916 fill_limit_ru_each(rtwdev, 5, lmt_ru, band, ntx, ch - 10); in phy_fill_limit_ru_320m_be()
917 fill_limit_ru_each(rtwdev, 6, lmt_ru, band, ntx, ch - 6); in phy_fill_limit_ru_320m_be()
918 fill_limit_ru_each(rtwdev, 7, lmt_ru, band, ntx, ch - 2); in phy_fill_limit_ru_320m_be()
919 fill_limit_ru_each(rtwdev, 8, lmt_ru, band, ntx, ch + 2); in phy_fill_limit_ru_320m_be()
920 fill_limit_ru_each(rtwdev, 9, lmt_ru, band, ntx, ch + 6); in phy_fill_limit_ru_320m_be()
921 fill_limit_ru_each(rtwdev, 10, lmt_ru, band, ntx, ch + 10); in phy_fill_limit_ru_320m_be()
922 fill_limit_ru_each(rtwdev, 11, lmt_ru, band, ntx, ch + 14); in phy_fill_limit_ru_320m_be()
923 fill_limit_ru_each(rtwdev, 12, lmt_ru, band, ntx, ch + 18); in phy_fill_limit_ru_320m_be()
924 fill_limit_ru_each(rtwdev, 13, lmt_ru, band, ntx, ch + 22); in phy_fill_limit_ru_320m_be()
925 fill_limit_ru_each(rtwdev, 14, lmt_ru, band, ntx, ch + 26); in phy_fill_limit_ru_320m_be()
926 fill_limit_ru_each(rtwdev, 15, lmt_ru, band, ntx, ch + 30); in phy_fill_limit_ru_320m_be()
935 u8 ch = chan->channel; in rtw89_phy_fill_limit_ru_be() local
942 phy_fill_limit_ru_20m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
945 phy_fill_limit_ru_40m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
948 phy_fill_limit_ru_80m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
951 phy_fill_limit_ru_160m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()
954 phy_fill_limit_ru_320m_be(rtwdev, lmt_ru, band, ntx, ch); in rtw89_phy_fill_limit_ru_be()