Lines Matching refs:bw
252 int bw = MT76_GET(MT_RXWI_RATE_BW, rate); in mt7601u_phy_get_rssi() local
261 val -= lna[aux_lna][bw][lna_id]; in mt7601u_phy_get_rssi()
284 if (dev->bw != MT_BW_20) in mt7601u_set_bw_filter()
302 t = &bbp_mode_table[dev->temp_mode][dev->bw]; in mt7601u_load_bbp_temp_table_bw()
325 t[dev->bw].regs, t[dev->bw].n); in mt7601u_bbp_temp()
332 if (hw_chan != 14 || dev->bw != MT_BW_20) { in mt7601u_apply_ch14_fixup()
383 u8 bw; in __mt7601u_phy_set_channel() local
386 bw = MT_BW_20; in __mt7601u_phy_set_channel()
391 bw = MT_BW_40; in __mt7601u_phy_set_channel()
401 if (bw != dev->bw || chan_ext_below != dev->chan_ext_below) { in __mt7601u_phy_set_channel()
403 bw, chan_ext_below); in __mt7601u_phy_set_channel()
405 mt7601u_bbp_set_bw(dev, bw); in __mt7601u_phy_set_channel()
429 mt7601u_bbp_set_bw(dev, bw); in __mt7601u_phy_set_channel()
842 if (dev->bw == MT_BW_20) in mt7601u_tssi_params_get()
1173 int mt7601u_bbp_set_bw(struct mt7601u_dev *dev, int bw) in mt7601u_bbp_set_bw() argument
1177 if (bw == dev->bw) { in mt7601u_bbp_set_bw()
1179 mt7601u_bbp_rmc(dev, 4, 0x18, bw == MT_BW_20 ? 0 : 0x10); in mt7601u_bbp_set_bw()
1183 dev->bw = bw; in mt7601u_bbp_set_bw()
1192 mt7601u_bbp_rmc(dev, 4, 0x18, bw == MT_BW_20 ? 0 : 0x10); in mt7601u_bbp_set_bw()