| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/core/ |
| H A D | rtw_rf.c | 935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 937 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 941 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 954 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 956 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 958 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 960 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 964 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/core/ |
| H A D | rtw_rf.c | 934 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 936 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 938 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 940 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 944 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 953 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 955 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 957 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 959 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 963 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/core/ |
| H A D | rtw_rf.c | 935 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 937 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 939 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 941 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 945 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 954 } else if (lmt > -hal_spec->txgi_pdbm && lmt < 0) { /* -0.xx */ in dump_txpwr_lmt() 956 …f(tmp_str, TMP_STR_LEN, fmt, "", (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in dump_txpwr_lmt() 958 } else if (lmt % hal_spec->txgi_pdbm) { /* d.xx */ in dump_txpwr_lmt() 960 …str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm, (rtw_abs(lmt) % hal_spec->txgi_pdbm) * 100 / hal… in dump_txpwr_lmt() 964 snprintf(tmp_str, TMP_STR_LEN, fmt, lmt / hal_spec->txgi_pdbm); in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/hal/ |
| H A D | hal_com_phycfg.c | 1683 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 3493 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3494 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3495 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3496 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3498 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3522 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3523 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3524 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3525 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/hal/ |
| H A D | hal_com_phycfg.c | 1683 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 3493 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3494 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3495 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3496 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3498 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3522 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3523 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3524 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3525 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/ |
| H A D | hal_com_phycfg.c | 1737 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 2682 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm() 3469 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3470 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3471 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3472 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3474 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3498 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3499 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3500 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 1712 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 2657 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm() 3432 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3433 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3434 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3435 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3437 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3461 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3462 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3463 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/ |
| H A D | hal_com_phycfg.c | 1737 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 2682 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm() 3469 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3470 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3471 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3472 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3474 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3498 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3499 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3500 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/ |
| H A D | hal_com_phycfg.c | 1713 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 2658 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm() 3433 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3434 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3435 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3436 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3438 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3462 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3463 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3464 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/ |
| H A D | hal_com_phycfg.c | 1714 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 2659 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm() 3434 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3435 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3436 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3437 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3439 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3463 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3464 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3465 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/hal/ |
| H A D | hal_com_phycfg.c | 1684 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 3494 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3495 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3496 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3497 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3499 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3523 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3524 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3525 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3526 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/hal/ |
| H A D | hal_com_phycfg.c | 1683 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_store_target_tx_power() 3484 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3485 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3486 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3487 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3489 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3513 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3514 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3515 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3516 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/ |
| H A D | rtw_rf.c | 783 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 790 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 792 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 793 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 795 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 798 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 1198 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 1202 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188fu/hal/ |
| H A D | hal_com_phycfg.c | 1623 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_StoreTxPowerByRateBase() 3485 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3486 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3487 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3488 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3490 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3514 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3515 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3516 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3517 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8188eu/hal/ |
| H A D | hal_com_phycfg.c | 1623 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_StoreTxPowerByRateBase() 3475 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3476 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3477 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3478 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3480 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3504 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3505 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3506 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3507 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8189fs/hal/ |
| H A D | hal_com_phycfg.c | 1631 base = hal_spec->txgi_pdbm * rtw_regsty_get_target_tx_power(pAdapter, band, path, rs); in phy_StoreTxPowerByRateBase() 3527 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3528 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3529 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3530 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() 3532 _RTW_PRINT_SEL(RTW_DBGDUMP, "%2d ", lmt[bw_pos] / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3556 else if (lmt[bw_pos] > -hal_spec->txgi_pdbm && lmt[bw_pos] < 0) /* -1 < value < 0 */ in phy_txpwr_limit_bandwidth_chk() 3557 …EL(RTW_DBGDUMP, "-0.%d", (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 / hal_spec->txgi_pdbm); in phy_txpwr_limit_bandwidth_chk() 3558 else if (lmt[bw_pos] % hal_spec->txgi_pdbm) in phy_txpwr_limit_bandwidth_chk() 3559 …"%2d.%d ", lmt[bw_pos] / hal_spec->txgi_pdbm, (rtw_abs(lmt[bw_pos]) % hal_spec->txgi_pdbm) * 100 /… in phy_txpwr_limit_bandwidth_chk() [all …]
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/ |
| H A D | rtw_rf.c | 1520 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1527 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1529 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1530 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1532 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1535 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/ |
| H A D | rtw_rf.c | 1520 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1527 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1529 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1530 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1532 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1535 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/ |
| H A D | rtw_rf.c | 1311 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1318 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1320 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1321 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1323 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1326 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 1726 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 1730 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/ |
| H A D | rtw_rf.c | 1311 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1318 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1320 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1321 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1323 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1326 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 1726 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 1730 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/ |
| H A D | rtw_rf.c | 1310 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1317 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1319 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1320 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1322 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1325 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 1725 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 1729 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/ |
| H A D | rtw_rf.c | 1618 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1625 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1627 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1628 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1630 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1633 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 2033 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 2037 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/ |
| H A D | rtw_rf.c | 1602 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1609 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1611 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1612 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1614 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1617 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 2017 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->name), tmp_str, TM… in dump_txpwr_lmt() 2021 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(txpwr_lmt_str(TXPWR_LMT… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/ |
| H A D | rtw_rf.c | 1619 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1626 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1628 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1629 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1631 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1634 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 2034 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->regd_name), tmp_st… in dump_txpwr_lmt() 2038 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(regd_str(TXPWR_LMT_WW))… in dump_txpwr_lmt()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/ |
| H A D | rtw_rf.c | 1704 void txpwr_idx_get_dbm_str(s8 idx, u8 txgi_max, u8 txgi_pdbm, SIZE_T cwidth, char dbm_str[], u8 dbm… in txpwr_idx_get_dbm_str() argument 1711 } else if (idx > -txgi_pdbm && idx < 0) { /* -0.xx */ in txpwr_idx_get_dbm_str() 1713 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1714 } else if (idx % txgi_pdbm) { /* d.xx */ in txpwr_idx_get_dbm_str() 1716 …snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm, (rtw_abs(idx) % txgi_pdbm) * 100 / txgi_pdbm); in txpwr_idx_get_dbm_str() 1719 snprintf(dbm_str, dbm_str_len, fmt, idx / txgi_pdbm); in txpwr_idx_get_dbm_str() 2119 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(ent->name), tmp_str, TM… in dump_txpwr_lmt() 2123 …txpwr_idx_get_dbm_str(lmt, hal_spec->txgi_max, hal_spec->txgi_pdbm, strlen(txpwr_lmt_str(TXPWR_LMT… in dump_txpwr_lmt()
|