Home
last modified time | relevance | path

Searched refs:tssi_db (Results 1 – 1 of 1) sorted by relevance

/drivers/net/wireless/mediatek/mt7601u/
Dphy.c633 mt7601u_set_initial_tssi(struct mt7601u_dev *dev, s16 tssi_db, s16 tssi_hvga_db) in mt7601u_set_initial_tssi() argument
638 init_offset = -((tssi_db * d->slope + d->offset[1]) / 4096) + 10; in mt7601u_set_initial_tssi()
884 s16 tssi_m_dc, tssi_db; in mt7601u_tssi_cal() local
902 tssi_db = lin2dBd(tssi_m_dc); in mt7601u_tssi_cal()
904 tssi_m_dc, tssi_db, hvga); in mt7601u_tssi_cal()
914 tssi_db -= dev->tssi_init_hvga_offset_db; in mt7601u_tssi_cal()
916 curr_pwr = tssi_db * dev->ee->tssi_data.slope + (tssi_offset << 9); in mt7601u_tssi_cal()