/openbmc/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8852a.c | 512 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852a_efuse_parsing_tssi() local 516 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852a_efuse_parsing_tssi() 517 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852a_efuse_parsing_tssi() 520 memcpy(tssi->tssi_cck[i], ofst[i]->cck_tssi, in rtw8852a_efuse_parsing_tssi() 526 i, j, tssi->tssi_cck[i][j]); in rtw8852a_efuse_parsing_tssi() 528 memcpy(tssi->tssi_mcs[i], ofst[i]->bw40_tssi, in rtw8852a_efuse_parsing_tssi() 536 i, j, tssi->tssi_mcs[i][j]); in rtw8852a_efuse_parsing_tssi() 566 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852a_phycap_parsing_tssi() local 577 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852a_phycap_parsing_tssi() 585 memset(tssi->tssi_trim, 0, sizeof(tssi->tssi_trim)); in rtw8852a_phycap_parsing_tssi() [all …]
|
H A D | rtw8852c.c | 364 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852c_efuse_parsing_tssi() local 369 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852c_efuse_parsing_tssi() 370 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852c_efuse_parsing_tssi() 379 i, j, tssi->tssi_cck[i][j]); in rtw8852c_efuse_parsing_tssi() 386 sizeof(tssi->tssi_6g_mcs[i])); in rtw8852c_efuse_parsing_tssi() 391 i, j, tssi->tssi_mcs[i][j]); in rtw8852c_efuse_parsing_tssi() 457 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852c_phycap_parsing_tssi() local 469 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852c_phycap_parsing_tssi() 486 memset(tssi->tssi_trim, 0, sizeof(tssi->tssi_trim)); in rtw8852c_phycap_parsing_tssi() 487 memset(tssi->tssi_trim_6g, 0, sizeof(tssi->tssi_trim_6g)); in rtw8852c_phycap_parsing_tssi() [all …]
|
H A D | rtw8851b.c | 441 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8851b_efuse_parsing_tssi() local 445 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8851b_efuse_parsing_tssi() 448 memcpy(tssi->tssi_cck[i], ofst[i]->cck_tssi, in rtw8851b_efuse_parsing_tssi() 454 i, j, tssi->tssi_cck[i][j]); in rtw8851b_efuse_parsing_tssi() 456 memcpy(tssi->tssi_mcs[i], ofst[i]->bw40_tssi, in rtw8851b_efuse_parsing_tssi() 458 memcpy(tssi->tssi_mcs[i] + TSSI_MCS_2G_CH_GROUP_NUM, in rtw8851b_efuse_parsing_tssi() 464 i, j, tssi->tssi_mcs[i][j]); in rtw8851b_efuse_parsing_tssi() 530 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8851b_phycap_parsing_tssi() local 541 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8851b_phycap_parsing_tssi() 549 memset(tssi->tssi_trim, 0, sizeof(tssi->tssi_trim)); in rtw8851b_phycap_parsing_tssi() [all …]
|
H A D | rtw8852b.c | 578 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852b_efuse_parsing_tssi() local 582 tssi->thermal[RF_PATH_A] = map->path_a_therm; in rtw8852b_efuse_parsing_tssi() 583 tssi->thermal[RF_PATH_B] = map->path_b_therm; in rtw8852b_efuse_parsing_tssi() 586 memcpy(tssi->tssi_cck[i], ofst[i]->cck_tssi, in rtw8852b_efuse_parsing_tssi() 592 i, j, tssi->tssi_cck[i][j]); in rtw8852b_efuse_parsing_tssi() 594 memcpy(tssi->tssi_mcs[i], ofst[i]->bw40_tssi, in rtw8852b_efuse_parsing_tssi() 602 i, j, tssi->tssi_mcs[i][j]); in rtw8852b_efuse_parsing_tssi() 678 struct rtw89_tssi_info *tssi = &rtwdev->tssi; in rtw8852b_phycap_parsing_tssi() local 689 tssi->tssi_trim[i][j] = phycap_map[ofst]; in rtw8852b_phycap_parsing_tssi() 697 memset(tssi->tssi_trim, 0, sizeof(tssi->tssi_trim)); in rtw8852b_phycap_parsing_tssi() [all …]
|
H A D | rtw8852a_rfk.c | 2716 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _dpk_track() 2885 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_tmeter_tbl() 3111 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_enable() 3257 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_de() 3295 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_trim_de() 3334 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_efuse_to_de() 3401 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_track() 3463 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_high_power() 3510 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_pre_tx() 3784 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in rtw8852a_tssi_default_txagc()
|
H A D | rtw8852b_rfk.c | 2793 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_tmeter_tbl() 3235 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_de() 3271 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_trim_de() 3308 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_efuse_to_de() 3387 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_alimentk_done() 3575 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_alimentk() 3859 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in rtw8852b_tssi_scan()
|
H A D | rtw8852c_rfk.c | 2968 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_tmeter_tbl() 3218 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_enable() 3571 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_de() 3635 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_trim_de() 3700 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_efuse_to_de() 4312 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in rtw8852c_tssi_default_txagc()
|
H A D | rtw8851b_rfk.c | 2666 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_tmeter_tbl() 2949 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_de() 2985 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_get_ofdm_trim_de() 3022 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_set_efuse_to_de() 3101 struct rtw89_tssi_info *tssi_info = &rtwdev->tssi; in _tssi_alimentk_done()
|
H A D | core.h | 4423 struct rtw89_tssi_info tssi; member
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mcu.c | 344 u8 tssi; in mt7603_mcu_set_tx_power() member 355 .tssi = EEP_VAL(MT_EE_NIC_CONF_1 + 1), in mt7603_mcu_set_tx_power()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
H A D | phy_lcn.c | 2210 s32 wlc_lcnphy_tssi2dbm(s32 tssi, s32 a1, s32 b0, s32 b1) in wlc_lcnphy_tssi2dbm() argument 2214 a = 32768 + (a1 * tssi); in wlc_lcnphy_tssi2dbm() 2215 b = (1024 * b0) + (64 * b1 * tssi); in wlc_lcnphy_tssi2dbm() 3013 s32 tssi, pwr, mintargetpwr; in wlc_lcnphy_tx_pwr_ctrl_init() local 3057 for (tssi = 0; tssi < 128; tssi++) { in wlc_lcnphy_tx_pwr_ctrl_init() 3058 pwr = wlc_lcnphy_tssi2dbm(tssi, a1, b0, b1); in wlc_lcnphy_tx_pwr_ctrl_init() 4138 s32 tssi, pwr, mintargetpwr; in wlc_lcnphy_periodic_cal() local 4176 for (tssi = 0; tssi < 128; tssi++) { in wlc_lcnphy_periodic_cal() 4177 pwr = wlc_lcnphy_tssi2dbm(tssi, a1, b0, b1); in wlc_lcnphy_periodic_cal()
|
H A D | phy_int.h | 1018 s32 wlc_lcnphy_tssi2dbm(s32 tssi, s32 a1, s32 b0, s32 b1);
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | phy.c | 1727 static s8 b43legacy_phy_estimate_power_out(struct b43legacy_wldev *dev, s8 tssi) in b43legacy_phy_estimate_power_out() argument 1734 tmp += tssi; in b43legacy_phy_estimate_power_out()
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | phy_g.c | 2752 static s8 b43_gphy_estimate_power_out(struct b43_wldev *dev, s8 tssi) in b43_gphy_estimate_power_out() argument 2758 tmp = (gphy->tgt_idle_tssi - gphy->cur_idle_tssi + tssi); in b43_gphy_estimate_power_out()
|