| /OK3568_Linux_fs/kernel/drivers/staging/rtl8188eu/include/ |
| H A D | rtl8188e_hal.h | 227 u8 TxPwrLevelCck[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 229 u8 TxPwrLevelHT40_1S[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 231 u8 TxPwrLevelHT40_2S[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 233 u8 TxPwrHt20Diff[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 235 u8 TxPwrLegacyHtDiff[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 237 u8 PwrGroupHT20[RF_PATH_MAX][CHANNEL_MAX_NUMBER]; 238 u8 PwrGroupHT40[RF_PATH_MAX][CHANNEL_MAX_NUMBER];
|
| H A D | hal8188e_phy_cfg.h | 51 #define RF_PATH_MAX 2 macro 52 #define MAX_RF_PATH RF_PATH_MAX
|
| H A D | odm_hwconfig.h | 59 struct phy_rx_agc_info path_agc[RF_PATH_MAX];
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_rf.c | 640 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 649 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 660 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 680 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 697 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_rftype() 739 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 756 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1025 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1158 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1206 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| H A D | rtw_rm_util.c | 381 s8 max_pwr[RF_PATH_MAX], pwr; in rm_get_path_a_max_tx_power() 388 for (path = 0; path < RF_PATH_MAX; path++) { in rm_get_path_a_max_tx_power()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_rf.c | 1161 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1170 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1181 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1201 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1217 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1265 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1282 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1553 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1686 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1734 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| H A D | rtw_rm_util.c | 388 s8 max_pwr[RF_PATH_MAX], pwr; in rm_get_path_a_max_tx_power() 395 for (path = 0; path < RF_PATH_MAX; path++) { in rm_get_path_a_max_tx_power()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_rf.c | 1160 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1169 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1180 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1200 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1216 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1264 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1281 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1553 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1686 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1734 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| H A D | rtw_rm_util.c | 387 s8 max_pwr[RF_PATH_MAX], pwr; in rm_get_path_a_max_tx_power() 394 for (path = 0; path < RF_PATH_MAX; path++) { in rm_get_path_a_max_tx_power()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_rf.c | 1160 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1169 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1180 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1200 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1216 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1264 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1281 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1552 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1685 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1733 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| H A D | rtw_rm_util.c | 387 s8 max_pwr[RF_PATH_MAX], pwr; in rm_get_path_a_max_tx_power() 394 for (path = 0; path < RF_PATH_MAX; path++) { in rm_get_path_a_max_tx_power()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_rf.c | 1467 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1476 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1487 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1507 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1523 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1571 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1588 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1860 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1993 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 2041 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_rf.c | 1467 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1476 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1487 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1507 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1523 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1571 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1588 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1844 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_lmt_num); in dump_txpwr_lmt() 1977 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 2025 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_rf.c | 1468 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1477 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1488 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1508 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1524 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1572 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1589 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1861 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1994 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 2042 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_rf.c | 1569 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1578 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1589 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1609 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1625 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1673 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1690 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1946 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_lmt_num); in dump_txpwr_lmt() 2079 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 2127 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/ |
| H A D | rtw_rf.c | 1533 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1542 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1553 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1573 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1589 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_trx_num_lmt() 1637 for (j = 0; j < RF_PATH_MAX; j++) { in tx_path_nss_set_default() 1654 for (i = 0; i < RF_PATH_MAX; i++) in tx_path_nss_set_full_tx() 1910 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_lmt_num); in dump_txpwr_lmt() 2043 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 2091 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_rf.c | 758 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 891 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 969 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 984 *(lmt_idx + i * RF_PATH_MAX + path) = hal_spec->txgi_max; in dump_txpwr_lmt() 987 *(lmt_idx + i * RF_PATH_MAX + path) = lmt_offset + base; in dump_txpwr_lmt() 1003 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1006 …if (*(lmt_idx + i * RF_PATH_MAX + path) != *(lmt_idx + i * RF_PATH_MAX + ((path + 1) % rfpath_num)… in dump_txpwr_lmt() 1025 rtw_mfree(lmt_idx, sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_rf.c | 757 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 890 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 968 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 983 *(lmt_idx + i * RF_PATH_MAX + path) = hal_spec->txgi_max; in dump_txpwr_lmt() 986 *(lmt_idx + i * RF_PATH_MAX + path) = lmt_offset + base; in dump_txpwr_lmt() 1002 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1005 …if (*(lmt_idx + i * RF_PATH_MAX + path) != *(lmt_idx + i * RF_PATH_MAX + ((path + 1) % rfpath_num)… in dump_txpwr_lmt() 1024 rtw_mfree(lmt_idx, sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_rf.c | 758 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 891 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 969 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 984 *(lmt_idx + i * RF_PATH_MAX + path) = hal_spec->txgi_max; in dump_txpwr_lmt() 987 *(lmt_idx + i * RF_PATH_MAX + path) = lmt_offset + base; in dump_txpwr_lmt() 1003 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1006 …if (*(lmt_idx + i * RF_PATH_MAX + path) != *(lmt_idx + i * RF_PATH_MAX + ((path + 1) % rfpath_num)… in dump_txpwr_lmt() 1025 rtw_mfree(lmt_idx, sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bs/core/ |
| H A D | rtw_rf.c | 1209 lmt_idx = rtw_malloc(sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt() 1341 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1409 for (path = RF_PATH_A; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1424 *(lmt_idx + i * RF_PATH_MAX + path) = MAX_POWER_INDEX; in dump_txpwr_lmt() 1427 *(lmt_idx + i * RF_PATH_MAX + path) = lmt_offset + base; in dump_txpwr_lmt() 1443 for (path = 0; path < RF_PATH_MAX; path++) { in dump_txpwr_lmt() 1446 …if (*(lmt_idx + i * RF_PATH_MAX + path) != *(lmt_idx + i * RF_PATH_MAX + ((path + 1) % rfpath_num)… in dump_txpwr_lmt() 1465 rtw_mfree(lmt_idx, sizeof(s8) * RF_PATH_MAX * rfctl->txpwr_regd_num); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_rf.c | 1426 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1435 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1446 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1466 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1483 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_rftype()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_rf.c | 1426 static const u8 _trx_num_to_rf_type[RF_PATH_MAX][RF_PATH_MAX] = { 1435 if (tx_num > 0 && tx_num <= RF_PATH_MAX && rx_num > 0 && rx_num <= RF_PATH_MAX) in trx_num_to_rf_type() 1446 for (i = 0; i < RF_PATH_MAX; i++) { in trx_bmp_to_rf_type() 1466 for (i = RF_PATH_MAX - 1; *bmp_bit_cnt > bit_cnt_lmt && i >= 0; i--) { in rtw_path_bmp_limit_from_higher() 1483 for (i = 0; i < RF_PATH_MAX; i++) { in rtw_restrict_trx_path_bmp_by_rftype()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723bu/include/ |
| H A D | hal_data.h | 183 s8 bb_gain[BB_GAIN_NUM][RF_PATH_MAX]; 186 s8 pa_bias_5g[RF_PATH_MAX]; 187 s8 pad_bias_5g[RF_PATH_MAX];
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189es/include/ |
| H A D | hal_data.h | 181 s8 bb_gain[BB_GAIN_NUM][RF_PATH_MAX]; 183 s8 pa_bias_5g[RF_PATH_MAX]; 184 s8 pad_bias_5g[RF_PATH_MAX];
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822be/include/ |
| H A D | hal_data.h | 183 s8 bb_gain[BB_GAIN_NUM][RF_PATH_MAX]; 186 s8 pa_bias_5g[RF_PATH_MAX]; 187 s8 pad_bias_5g[RF_PATH_MAX];
|