| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/hal/ |
| H A D | hal_com_phycfg.c | 87 if ( Band == BAND_ON_2_4G ) in PHY_GetTxPowerByRateBase() 189 if ( Band == BAND_ON_2_4G ) in phy_SetTxPowerByRateBase() 282 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_A, CCK, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 286 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_A, OFDM, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 290 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_A, HT_MCS0_MCS7, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 294 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_A, HT_MCS8_MCS15, RF_2TX, base ); in phy_StoreTxPowerByRateBaseOld() 298 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_B, CCK, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 302 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_B, OFDM, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 306 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_B, HT_MCS0_MCS7, RF_1TX, base ); in phy_StoreTxPowerByRateBaseOld() 310 phy_SetTxPowerByRateBase( pAdapter, BAND_ON_2_4G, ODM_RF_PATH_B, HT_MCS8_MCS15, RF_2TX, base ); in phy_StoreTxPowerByRateBaseOld() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/staging/rtl8723bs/hal/ |
| H A D | hal_com_phycfg.c | 25 if (Band == BAND_ON_2_4G) { in PHY_GetTxPowerByRateBase() 119 if (Band == BAND_ON_2_4G) { in phy_SetTxPowerByRateBase() 204 base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_11M); in phy_StoreTxPowerByRateBase() 205 phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, CCK, RF_1TX, base); in phy_StoreTxPowerByRateBase() 208 base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_54M); in phy_StoreTxPowerByRateBase() 209 phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, OFDM, RF_1TX, base); in phy_StoreTxPowerByRateBase() 212 base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_1TX, MGN_MCS7); in phy_StoreTxPowerByRateBase() 213 phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, HT_MCS0_MCS7, RF_1TX, base); in phy_StoreTxPowerByRateBase() 216 base = PHY_GetTxPowerByRate(padapter, BAND_ON_2_4G, path, RF_2TX, MGN_MCS15); in phy_StoreTxPowerByRateBase() 217 phy_SetTxPowerByRateBase(padapter, BAND_ON_2_4G, path, HT_MCS8_MCS15, RF_2TX, base); in phy_StoreTxPowerByRateBase() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/ |
| H A D | phy.c | 453 if (band == BAND_ON_2_4G) { in phy_get_tx_swing_8812A() 494 if (band == BAND_ON_2_4G) { in phy_get_tx_swing_8812A() 534 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 540 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 546 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 552 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 560 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 566 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 572 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() 578 if (band == BAND_ON_2_4G) in phy_get_tx_swing_8812A() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/hal/ |
| H A D | hal_com_phycfg.c | 47 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 62 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in rtw_regsty_get_target_tx_power() 66 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 83 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 134 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in PHY_GetTxPowerByRateBase() 143 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath, TxNum); in PHY_GetTxPowerByRateBase() 147 if (Band == BAND_ON_2_4G) in PHY_GetTxPowerByRateBase() 172 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_SetTxPowerByRateBase() 181 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath, TxNum); in phy_SetTxPowerByRateBase() 185 if (Band == BAND_ON_2_4G) in phy_SetTxPowerByRateBase() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_rf.c | 512 band = BAND_ON_2_4G; in rtw_get_ch_group() 567 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 577 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 721 {81, BAND_ON_2_4G, OPC_BW20, 0x00001FFF}, 723 {82, BAND_ON_2_4G, OPC_BW20, 0x00002000}, 725 {83, BAND_ON_2_4G, OPC_BW40PLUS, 0x000001FF}, 726 {84, BAND_ON_2_4G, OPC_BW40MINUS, 0x00001FF0}, 755 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_ch() 765 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_cid() 832 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 720 {81, BAND_ON_2_4G, OPC_BW20, 0x00001FFF}, 722 {82, BAND_ON_2_4G, OPC_BW20, 0x00002000}, 724 {83, BAND_ON_2_4G, OPC_BW40PLUS, 0x000001FF}, 725 {84, BAND_ON_2_4G, OPC_BW40MINUS, 0x00001FF0}, 754 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_ch() 764 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_cid() 831 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 720 {81, BAND_ON_2_4G, OPC_BW20, 0x00001FFF}, 722 {82, BAND_ON_2_4G, OPC_BW20, 0x00002000}, 724 {83, BAND_ON_2_4G, OPC_BW40PLUS, 0x000001FF}, 725 {84, BAND_ON_2_4G, OPC_BW40MINUS, 0x00001FF0}, 754 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_ch() 764 if (global_op_class[gid].band == BAND_ON_2_4G) in global_op_class_get_cid() 831 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/hal/ |
| H A D | hal_com_phycfg.c | 45 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 60 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in rtw_regsty_get_target_tx_power() 64 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 81 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 132 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in PHY_GetTxPowerByRateBase() 141 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath, TxNum); in PHY_GetTxPowerByRateBase() 145 if (Band == BAND_ON_2_4G) in PHY_GetTxPowerByRateBase() 170 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_SetTxPowerByRateBase() 179 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath, TxNum); in phy_SetTxPowerByRateBase() 183 if (Band == BAND_ON_2_4G) in phy_SetTxPowerByRateBase() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_rf.c | 358 band = BAND_ON_2_4G; in rtw_get_ch_group() 413 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 423 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 773 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in dump_txpwr_lmt() 777 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt() 783 if (band == BAND_ON_2_4G && bw >= CHANNEL_WIDTH_80) in dump_txpwr_lmt() 786 if (band == BAND_ON_2_4G) in dump_txpwr_lmt() 798 if (band == BAND_ON_2_4G && tlrs == TXPWR_LMT_RS_VHT) in dump_txpwr_lmt() 818 if (band == BAND_ON_2_4G in dump_txpwr_lmt() 825 if (band == BAND_ON_2_4G in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_rf.c | 358 band = BAND_ON_2_4G; in rtw_get_ch_group() 413 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 423 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 772 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in dump_txpwr_lmt() 776 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt() 782 if (band == BAND_ON_2_4G && bw >= CHANNEL_WIDTH_80) in dump_txpwr_lmt() 785 if (band == BAND_ON_2_4G) in dump_txpwr_lmt() 797 if (band == BAND_ON_2_4G && tlrs == TXPWR_LMT_RS_VHT) in dump_txpwr_lmt() 817 if (band == BAND_ON_2_4G in dump_txpwr_lmt() 824 if (band == BAND_ON_2_4G in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_rf.c | 358 band = BAND_ON_2_4G; in rtw_get_ch_group() 413 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 423 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 773 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in dump_txpwr_lmt() 777 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt() 783 if (band == BAND_ON_2_4G && bw >= CHANNEL_WIDTH_80) in dump_txpwr_lmt() 786 if (band == BAND_ON_2_4G) in dump_txpwr_lmt() 798 if (band == BAND_ON_2_4G && tlrs == TXPWR_LMT_RS_VHT) in dump_txpwr_lmt() 818 if (band == BAND_ON_2_4G in dump_txpwr_lmt() 825 if (band == BAND_ON_2_4G in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 646 return BAND_ON_2_4G; in rtw_freq2band() 669 case BAND_ON_2_4G: in rtw_freq_consecutive() 748 [BAND_ON_2_4G] = "2.4G", 757 [BAND_ON_2_4G] = BAND_CAP_2G, 801 OP_CLASS_ENT(81, BAND_ON_2_4G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 803 OP_CLASS_ENT(82, BAND_ON_2_4G, OPC_BW20, 1, 14), 805 OP_CLASS_ENT(83, BAND_ON_2_4G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 646 return BAND_ON_2_4G; in rtw_freq2band() 669 case BAND_ON_2_4G: in rtw_freq_consecutive() 748 [BAND_ON_2_4G] = "2.4G", 757 [BAND_ON_2_4G] = BAND_CAP_2G, 801 OP_CLASS_ENT(81, BAND_ON_2_4G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 803 OP_CLASS_ENT(82, BAND_ON_2_4G, OPC_BW20, 1, 14), 805 OP_CLASS_ENT(83, BAND_ON_2_4G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8723be/ |
| H A D | phy.c | 246 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; ++band) in _rtl8723be_phy_init_tx_power_by_rate() 292 if (band == BAND_ON_2_4G) { in _rtl8723be_phy_set_txpower_by_rate_base() 334 if (band == BAND_ON_2_4G) { in _rtl8723be_phy_get_txpower_by_rate_base() 373 [BAND_ON_2_4G][path][RF_1TX][3] >> 24) & 0xFF; in _rtl8723be_phy_store_txpower_by_rate_base() 376 BAND_ON_2_4G, path, CCK, RF_1TX, base); in _rtl8723be_phy_store_txpower_by_rate_base() 379 [BAND_ON_2_4G][path][RF_1TX][3] >> 0) & 0xFF; in _rtl8723be_phy_store_txpower_by_rate_base() 382 BAND_ON_2_4G, in _rtl8723be_phy_store_txpower_by_rate_base() 387 [BAND_ON_2_4G][path][RF_1TX][1] >> 24) & 0xFF; in _rtl8723be_phy_store_txpower_by_rate_base() 389 _rtl8723be_phy_set_txpower_by_rate_base(hw, BAND_ON_2_4G, in _rtl8723be_phy_store_txpower_by_rate_base() 394 [BAND_ON_2_4G][path][RF_1TX][5] >> 24) & 0xFF; in _rtl8723be_phy_store_txpower_by_rate_base() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_rf.c | 358 band = BAND_ON_2_4G; in rtw_get_ch_group() 413 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 423 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 1223 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in dump_txpwr_lmt() 1227 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt() 1233 if (band == BAND_ON_2_4G && bw >= CHANNEL_WIDTH_80) in dump_txpwr_lmt() 1236 if (band == BAND_ON_2_4G) in dump_txpwr_lmt() 1248 if (band == BAND_ON_2_4G && tlrs == TXPWR_LMT_RS_VHT) in dump_txpwr_lmt() 1268 if (band == BAND_ON_2_4G in dump_txpwr_lmt() 1275 if (band == BAND_ON_2_4G in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_rf.c | 377 band = BAND_ON_2_4G; in rtw_get_ch_group() 432 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 442 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 1040 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in dump_txpwr_lmt() 1044 rfpath_num = (band == BAND_ON_2_4G ? hal_spec->rfpath_num_2g : hal_spec->rfpath_num_5g); in dump_txpwr_lmt() 1050 if (band == BAND_ON_2_4G && bw >= CHANNEL_WIDTH_80) in dump_txpwr_lmt() 1053 if (band == BAND_ON_2_4G) in dump_txpwr_lmt() 1065 if (band == BAND_ON_2_4G && tlrs == TXPWR_LMT_RS_VHT) in dump_txpwr_lmt() 1085 if (band == BAND_ON_2_4G in dump_txpwr_lmt() 1092 if (band == BAND_ON_2_4G in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 735 OP_CLASS_ENT(81, BAND_ON_2_4G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 737 OP_CLASS_ENT(82, BAND_ON_2_4G, OPC_BW20, 1, 14), 739 OP_CLASS_ENT(83, BAND_ON_2_4G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), 740 OP_CLASS_ENT(84, BAND_ON_2_4G, OPC_BW40MINUS, 9, 5, 6, 7, 8, 9, 10, 11, 12, 13), 958 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() 1096 …bw_bmp[BAND_ON_2_4G] = (ch_width_to_bw_cap(REGSTY_BW_2G(regsty) + 1) - 1) & (GET_HAL_SPEC(adapter)… in op_class_pref_init() 1108 RTW_INFO("bw_bmp[2G]:0x%x\n", bw_bmp[BAND_ON_2_4G]); in op_class_pref_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_rf.c | 511 band = BAND_ON_2_4G; in rtw_get_ch_group() 566 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 576 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 735 OP_CLASS_ENT(81, BAND_ON_2_4G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 737 OP_CLASS_ENT(82, BAND_ON_2_4G, OPC_BW20, 1, 14), 739 OP_CLASS_ENT(83, BAND_ON_2_4G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), 740 OP_CLASS_ENT(84, BAND_ON_2_4G, OPC_BW40MINUS, 9, 5, 6, 7, 8, 9, 10, 11, 12, 13), 958 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() 1096 …bw_bmp[BAND_ON_2_4G] = (ch_width_to_bw_cap(REGSTY_BW_2G(regsty) + 1) - 1) & (GET_HAL_SPEC(adapter)… in op_class_pref_init() 1108 RTW_INFO("bw_bmp[2G]:0x%x\n", bw_bmp[BAND_ON_2_4G]); in op_class_pref_init() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_rf.c | 512 band = BAND_ON_2_4G; in rtw_get_ch_group() 567 || (band == BAND_ON_2_4G && cck_gp == -1) in rtw_get_ch_group() 577 if (cck_group && band == BAND_ON_2_4G) in rtw_get_ch_group() 736 OP_CLASS_ENT(81, BAND_ON_2_4G, OPC_BW20, 13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13), 738 OP_CLASS_ENT(82, BAND_ON_2_4G, OPC_BW20, 1, 14), 740 OP_CLASS_ENT(83, BAND_ON_2_4G, OPC_BW40PLUS, 9, 1, 2, 3, 4, 5, 6, 7, 8, 9), 741 OP_CLASS_ENT(84, BAND_ON_2_4G, OPC_BW40MINUS, 9, 5, 6, 7, 8, 9, 10, 11, 12, 13), 959 band = BAND_ON_2_4G; in rtw_get_op_class_by_chbw() 1097 …bw_bmp[BAND_ON_2_4G] = (ch_width_to_bw_cap(REGSTY_BW_2G(regsty) + 1) - 1) & (GET_HAL_SPEC(adapter)… in op_class_pref_init() 1109 RTW_INFO("bw_bmp[2G]:0x%x\n", bw_bmp[BAND_ON_2_4G]); in op_class_pref_init() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/ |
| H A D | hal_com_phycfg.c | 1160 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1434 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1453 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1469 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1520 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1533 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1556 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1565 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1569 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1606 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 1161 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1435 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1454 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1470 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1521 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1534 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1557 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1566 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1570 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1607 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/ |
| H A D | hal_com_phycfg.c | 1160 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1434 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1453 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1469 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1520 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1533 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1556 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1565 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1569 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1606 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/ |
| H A D | hal_com_phycfg.c | 1160 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1434 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1453 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1469 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1520 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1533 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1556 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1565 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1569 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1606 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/ |
| H A D | hal_com_phycfg.c | 1211 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1485 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1504 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1520 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1571 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1584 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1607 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1616 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1620 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1657 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 1186 if (rtw_get_ch_group(ch_idx + 1, &group, &cck_group) != BAND_ON_2_4G) in hal_load_txpwr_info() 1460 if (Band != BAND_ON_2_4G in rtw_regsty_get_target_tx_power() 1479 if (Band == BAND_ON_2_4G) in rtw_regsty_get_target_tx_power() 1495 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) { in rtw_regsty_chk_target_tx_power_valid() 1546 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_get_target_txpwr() 1559 if (Band == BAND_ON_2_4G) in phy_get_target_txpwr() 1582 if (Band != BAND_ON_2_4G && Band != BAND_ON_5G) { in phy_set_target_txpwr() 1591 , RateSection, (Band == BAND_ON_2_4G) ? "2.4" : "5", RfPath); in phy_set_target_txpwr() 1595 if (Band == BAND_ON_2_4G) in phy_set_target_txpwr() 1632 for (band = BAND_ON_2_4G; band <= BAND_ON_5G; band++) in phy_txpwr_by_rate_chk_for_path_dup() [all …]
|