| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/ |
| H A D | halrf_pwr_table.c | 291 u8 channelIndex; in halrf_get_ch_idx_to_limit_array() local 294 channelIndex = channel - 1; in halrf_get_ch_idx_to_limit_array() 296 channelIndex = (channel - 36) / 2; in halrf_get_ch_idx_to_limit_array() 298 channelIndex = ((channel - 100) / 2) + 15; in halrf_get_ch_idx_to_limit_array() 300 channelIndex = ((channel - 149) / 2) + 38; in halrf_get_ch_idx_to_limit_array() 302 channelIndex = 0; in halrf_get_ch_idx_to_limit_array() 304 return channelIndex; in halrf_get_ch_idx_to_limit_array() 309 u8 channelIndex; in halrf_get_limit_ch_idx_to_ch_idx() local 313 channelIndex = channel + 1; in halrf_get_limit_ch_idx_to_ch_idx() 315 channelIndex = 0; in halrf_get_limit_ch_idx_to_ch_idx() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/ |
| H A D | halrf_pwr_table.c | 291 u8 channelIndex; in halrf_get_ch_idx_to_limit_array() local 294 channelIndex = channel - 1; in halrf_get_ch_idx_to_limit_array() 296 channelIndex = (channel - 36) / 2; in halrf_get_ch_idx_to_limit_array() 298 channelIndex = ((channel - 100) / 2) + 15; in halrf_get_ch_idx_to_limit_array() 300 channelIndex = ((channel - 149) / 2) + 38; in halrf_get_ch_idx_to_limit_array() 302 channelIndex = 0; in halrf_get_ch_idx_to_limit_array() 304 return channelIndex; in halrf_get_ch_idx_to_limit_array() 309 u8 channelIndex; in halrf_get_limit_ch_idx_to_ch_idx() local 313 channelIndex = channel + 1; in halrf_get_limit_ch_idx_to_ch_idx() 315 channelIndex = 0; in halrf_get_limit_ch_idx_to_ch_idx() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/ |
| H A D | hal_com_phycfg.c | 1589 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 1598 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 1602 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 1607 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 1610 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 1954 s8 powerLimit = 0, prevPowerLimit, channelIndex; in PHY_SetTxPowerLimit() local 2010 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in PHY_SetTxPowerLimit() 2012 if (channelIndex == -1) in PHY_SetTxPowerLimit() 2015 …prevPowerLimit = pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][ODM_R… in PHY_SetTxPowerLimit() 2018 …pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][ODM_RF_PATH_A] = power… in PHY_SetTxPowerLimit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_tssi_8852b.c | 56 u8 channelIndex; in _halrf_ch_to_idx() local 59 channelIndex = channel - 1; in _halrf_ch_to_idx() 61 channelIndex = (channel - 36) / 2 + 14; in _halrf_ch_to_idx() 63 channelIndex = ((channel - 100) / 2) + 15 + 14; in _halrf_ch_to_idx() 65 channelIndex = ((channel - 149) / 2) + 38 + 14; in _halrf_ch_to_idx() 67 channelIndex = 0; in _halrf_ch_to_idx() 69 return channelIndex; in _halrf_ch_to_idx() 74 u8 channelIndex; in _halrf_idx_to_ch() local 77 channelIndex = idx + 1; in _halrf_idx_to_ch() 79 channelIndex = (idx - 14) * 2 + 36; in _halrf_idx_to_ch() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/hal_g6/phy/rf/halrf_8852b/ |
| H A D | halrf_tssi_8852b.c | 56 u8 channelIndex; in _halrf_ch_to_idx() local 59 channelIndex = channel - 1; in _halrf_ch_to_idx() 61 channelIndex = (channel - 36) / 2 + 14; in _halrf_ch_to_idx() 63 channelIndex = ((channel - 100) / 2) + 15 + 14; in _halrf_ch_to_idx() 65 channelIndex = ((channel - 149) / 2) + 38 + 14; in _halrf_ch_to_idx() 67 channelIndex = 0; in _halrf_ch_to_idx() 69 return channelIndex; in _halrf_ch_to_idx() 74 u8 channelIndex; in _halrf_idx_to_ch() local 77 channelIndex = idx + 1; in _halrf_idx_to_ch() 79 channelIndex = (idx - 14) * 2 + 36; in _halrf_idx_to_ch() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/ |
| H A D | hal_com_phycfg.c | 1707 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 1711 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 1715 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 1721 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 1724 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 2123 s8 powerLimit = 0, prevPowerLimit, channelIndex; in PHY_SetTxPowerLimit() local 2188 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in PHY_SetTxPowerLimit() 2190 if (channelIndex == -1) { in PHY_SetTxPowerLimit() 2200 …prevPowerLimit = pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PA… in PHY_SetTxPowerLimit() 2207 …pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PATH_A] = powerLimi… in PHY_SetTxPowerLimit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/ |
| H A D | hal_com_phycfg.c | 1847 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 1851 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 1855 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 1860 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 1863 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 2677 s8 powerLimit = 0, prevPowerLimit, channelIndex; in PHY_SetTxPowerLimit() local 2742 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in PHY_SetTxPowerLimit() 2744 if (channelIndex == -1) { in PHY_SetTxPowerLimit() 2754 …prevPowerLimit = pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PA… in PHY_SetTxPowerLimit() 2761 …pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][RF_PATH_A] = powerLimi… in PHY_SetTxPowerLimit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/ |
| H A D | hal_com_phycfg.c | 1785 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 1793 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 1800 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 1808 if ( channelIndex == -1 ) in phy_GetChannelIndexOfTxPowerLimit() 1811 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 2248 s8 powerLimit = 0, prevPowerLimit, channelIndex; in PHY_SetTxPowerLimit() local 2300 channelIndex = phy_GetChannelIndexOfTxPowerLimit( BAND_ON_2_4G, channel ); in PHY_SetTxPowerLimit() 2302 if ( channelIndex == -1 ) in PHY_SetTxPowerLimit() 2308 …prevPowerLimit = pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][ODM_R… in PHY_SetTxPowerLimit() 2311 …pHalData->TxPwrLimit_2_4G[regulation][bandwidth][rateSection][channelIndex][ODM_RF_PATH_A] = power… in PHY_SetTxPowerLimit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/ |
| H A D | hal_com_phycfg.c | 2903 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2907 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2911 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2916 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2919 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3615 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3680 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3682 if (channelIndex == -1) { in phy_set_tx_power_limit() 3692 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3697 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 2904 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2908 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2912 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2917 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2920 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3616 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3681 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3683 if (channelIndex == -1) { in phy_set_tx_power_limit() 3693 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3698 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/ |
| H A D | hal_com_phycfg.c | 2903 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2907 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2911 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2916 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2919 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3615 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3680 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3682 if (channelIndex == -1) { in phy_set_tx_power_limit() 3692 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3697 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/ |
| H A D | hal_com_phycfg.c | 2840 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2844 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2848 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2853 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2856 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3591 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3656 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3658 if (channelIndex == -1) { in phy_set_tx_power_limit() 3668 …add(adapter_to_rfctl(Adapter), lmt_name, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3673 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 2815 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2819 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2823 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2828 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2831 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3554 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3619 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3621 if (channelIndex == -1) { in phy_set_tx_power_limit() 3631 …add(adapter_to_rfctl(Adapter), lmt_name, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3636 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/ |
| H A D | hal_com_phycfg.c | 2840 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2844 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2848 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2853 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2856 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3591 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3656 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3658 if (channelIndex == -1) { in phy_set_tx_power_limit() 3668 …add(adapter_to_rfctl(Adapter), lmt_name, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3673 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/ |
| H A D | hal_com_phycfg.c | 2816 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2820 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2824 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2829 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2832 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3555 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3620 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3622 if (channelIndex == -1) { in phy_set_tx_power_limit() 3632 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3637 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/ |
| H A D | hal_com_phycfg.c | 2817 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2821 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2825 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2830 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2833 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3556 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3621 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3623 if (channelIndex == -1) { in phy_set_tx_power_limit() 3633 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3638 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/ |
| H A D | hal_com_phycfg.c | 2743 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2747 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2751 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2756 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2759 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3393 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3449 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3451 if (channelIndex == -1) { in phy_set_tx_power_limit() 3461 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3466 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/ |
| H A D | hal_com_phycfg.c | 2884 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2888 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2892 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2897 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2900 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3607 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3672 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3674 if (channelIndex == -1) { in phy_set_tx_power_limit() 3684 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3689 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/ |
| H A D | hal_com_phycfg.c | 2874 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2878 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2882 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2887 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2890 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3597 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3662 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3664 if (channelIndex == -1) { in phy_set_tx_power_limit() 3674 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3679 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/ |
| H A D | hal_com_phycfg.c | 2926 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2930 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2934 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2939 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2942 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3649 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3714 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3716 if (channelIndex == -1) { in phy_set_tx_power_limit() 3726 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3731 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/ |
| H A D | hal_com_phycfg.c | 2894 s8 channelIndex = -1; in phy_GetChannelIndexOfTxPowerLimit() local 2898 channelIndex = Channel - 1; in phy_GetChannelIndexOfTxPowerLimit() 2902 channelIndex = i; in phy_GetChannelIndexOfTxPowerLimit() 2907 if (channelIndex == -1) in phy_GetChannelIndexOfTxPowerLimit() 2910 return channelIndex; in phy_GetChannelIndexOfTxPowerLimit() 3606 s8 powerLimit = 0, prevPowerLimit, channelIndex; in phy_set_tx_power_limit() local 3671 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_2_4G, channel); in phy_set_tx_power_limit() 3673 if (channelIndex == -1) { in phy_set_tx_power_limit() 3683 …d(adapter_to_rfctl(Adapter), Regulation, band, bandwidth, tlrs, ntx_idx, channelIndex, powerLimit); in phy_set_tx_power_limit() 3688 channelIndex = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G, channel); in phy_set_tx_power_limit() [all …]
|