Home
last modified time | relevance | path

Searched refs:MBM_PDBM (Results 1 – 25 of 60) sorted by relevance

123

/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/core/
H A Drtw_rf.c1550 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1552 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1553 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1555 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1558 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/core/
H A Drtw_rf.c1550 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1552 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1553 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1555 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1558 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/core/
H A Drtw_rf.c813 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
815 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
816 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
818 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
821 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/os_dep/linux/
H A Dwifi_regd.c207 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
210 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/os_dep/linux/
H A Dwifi_regd.c208 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
211 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/os_dep/linux/
H A Dwifi_regd.c207 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
210 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723ds/core/
H A Drtw_rf.c1341 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1343 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1344 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1346 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1349 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8189fs/core/
H A Drtw_rf.c1341 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1343 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1344 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1346 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1349 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8188fu/core/
H A Drtw_rf.c1340 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1342 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1343 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1345 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1348 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/core/
H A Drtw_rf.c1648 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1650 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1651 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1653 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1656 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/core/
H A Drtw_rf.c1632 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1634 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1635 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1637 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1640 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/core/
H A Drtw_rf.c1649 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1651 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1652 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1654 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1657 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/core/
H A Drtw_rf.c1734 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1736 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1737 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1739 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1742 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/core/
H A Drtw_rf.c1698 } else if (mbm > -MBM_PDBM && mbm < 0) { /* -0.xx */ in txpwr_mbm_get_dbm_str()
1700 snprintf(dbm_str, dbm_str_len, fmt, "", (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1701 } else if (mbm % MBM_PDBM) { /* d.xx */ in txpwr_mbm_get_dbm_str()
1703 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM, (rtw_abs(mbm) % MBM_PDBM) * 100 / MBM_PDBM); in txpwr_mbm_get_dbm_str()
1706 snprintf(dbm_str, dbm_str_len, fmt, mbm / MBM_PDBM); in txpwr_mbm_get_dbm_str()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/os_dep/linux/
H A Dwifi_regd.c433 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
436 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/os_dep/linux/
H A Dwifi_regd.c433 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
436 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/os_dep/linux/
H A Dwifi_regd.c433 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
436 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/os_dep/linux/
H A Dwifi_regd.c433 mbm = rtw_min(mbm, ch->max_reg_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
436 mbm = rtw_min(mbm, ch->max_power * MBM_PDBM); in rtw_os_get_total_txpwr_regd_lmt_mbm()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8822cs/hal/
H A Dhal_com_phycfg.c2682 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm()
4123 rlmt = ((tic.rlimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4127 lmt = ((tic.limit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4131 ulmt = ((tic.ulimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4132 tpc = (tic.tpc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4135 byr = ((tic.by_rate * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4136 btc = (tic.btc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4137 extra = (tic.extra * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4141 utgt = ((tic.utarget * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
5839 lmt = (total_mbm - mb_of_ntx(ntx_idx + 1) - rfctl->antenna_gain) * hal_spec->txgi_pdbm / MBM_PDBM; in phy_get_txpwr_regd_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8723ds/hal/
H A Dhal_com_phycfg.c2657 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm()
4086 rlmt = ((tic.rlimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4090 lmt = ((tic.limit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4094 ulmt = ((tic.ulimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4095 tpc = (tic.tpc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4098 byr = ((tic.by_rate * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4099 btc = (tic.btc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4100 extra = (tic.extra * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4104 utgt = ((tic.utarget * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
5802 lmt = (total_mbm - mb_of_ntx(ntx_idx + 1) - rfctl->antenna_gain) * hal_spec->txgi_pdbm / MBM_PDBM; in phy_get_txpwr_regd_lmt()
[all …]
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8821cs/hal/
H A Dhal_com_phycfg.c2682 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm()
4123 rlmt = ((tic.rlimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4127 lmt = ((tic.limit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4131 ulmt = ((tic.ulimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4132 tpc = (tic.tpc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4135 byr = ((tic.by_rate * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4136 btc = (tic.btc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4137 extra = (tic.extra * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4141 utgt = ((tic.utarget * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
5839 lmt = (total_mbm - mb_of_ntx(ntx_idx + 1) - rfctl->antenna_gain) * hal_spec->txgi_pdbm / MBM_PDBM; in phy_get_txpwr_regd_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8723cs/hal/
H A Dhal_com_phycfg.c2658 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm()
4087 rlmt = ((tic.rlimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4091 lmt = ((tic.limit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4095 ulmt = ((tic.ulimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4096 tpc = (tic.tpc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4099 byr = ((tic.by_rate * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4100 btc = (tic.btc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4101 extra = (tic.extra * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4105 utgt = ((tic.utarget * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
5803 lmt = (total_mbm - mb_of_ntx(ntx_idx + 1) - rfctl->antenna_gain) * hal_spec->txgi_pdbm / MBM_PDBM; in phy_get_txpwr_regd_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8821cs/hal/
H A Dhal_com_phycfg.c2659 val = (val * MBM_PDBM) / hal_spec->txgi_pdbm; in phy_get_txpwr_by_rate_single_mbm()
4088 rlmt = ((tic.rlimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4092 lmt = ((tic.limit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4096 ulmt = ((tic.ulimit * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4097 tpc = (tic.tpc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4100 byr = ((tic.by_rate * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
4101 btc = (tic.btc * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4102 extra = (tic.extra * MBM_PDBM) / hal_spec->txgi_pdbm; in dump_txpwr_total_dbm_by_rs()
4106 utgt = ((tic.utarget * MBM_PDBM) / hal_spec->txgi_pdbm) + mb_of_ntx(tx_num); in dump_txpwr_total_dbm_by_rs()
5804 lmt = (total_mbm - mb_of_ntx(ntx_idx + 1) - rfctl->antenna_gain) * hal_spec->txgi_pdbm / MBM_PDBM; in phy_get_txpwr_regd_lmt()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rtl8822bs/include/
H A Drtw_rf.h194 #define MBM_PDBM 100 macro
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/include/
H A Drtw_rf.h237 #define MBM_PDBM 100 macro

123