Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/wireless/mediatek/mt76/
Dmt792x.h317 mt792x_get_status_freq_info(struct mt76_rx_status *status, u8 chfreq) in mt792x_get_status_freq_info() argument
319 if (chfreq > 180) { in mt792x_get_status_freq_info()
321 chfreq = (chfreq - 181) * 4 + 1; in mt792x_get_status_freq_info()
322 } else if (chfreq > 14) { in mt792x_get_status_freq_info()
327 status->freq = ieee80211_channel_to_frequency(chfreq, status->band); in mt792x_get_status_freq_info()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7615/
Dmac.c203 struct mt76_rx_status *status, u8 chfreq) in mt7615_get_status_freq_info() argument
213 status->band = chfreq <= 14 ? NL80211_BAND_2GHZ : NL80211_BAND_5GHZ; in mt7615_get_status_freq_info()
214 status->freq = ieee80211_channel_to_frequency(chfreq, status->band); in mt7615_get_status_freq_info()
351 u8 chfreq, amsdu_info, qos_ctl = 0; in mt7615_mac_fill_rx() local
357 chfreq = FIELD_GET(MT_RXD1_NORMAL_CH_FREQ, rxd1); in mt7615_mac_fill_rx()
362 else if (phy2->chfreq == phy->chfreq) in mt7615_mac_fill_rx()
364 else if (phy->chfreq == chfreq) in mt7615_mac_fill_rx()
366 else if (phy2->chfreq == chfreq) in mt7615_mac_fill_rx()
510 if (!mt7615_firmware_offload(dev) && chfreq != phy->chfreq) in mt7615_mac_fill_rx()
513 mt7615_get_status_freq_info(dev, mphy, status, chfreq); in mt7615_mac_fill_rx()
Dmt7615.h179 u8 chfreq; member
Dmain.c320 phy->chfreq = mt76_rr(dev, MT_CHFREQ(ext_phy)); in mt7615_set_channel()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7921/
Dmac.c173 u8 chfreq, qos_ctl = 0, remove_pad, amsdu_info; in mt7921_mac_fill_rx() local
211 chfreq = FIELD_GET(MT_RXD3_NORMAL_CH_FREQ, rxd3); in mt7921_mac_fill_rx()
226 mt792x_get_status_freq_info(status, chfreq); in mt7921_mac_fill_rx()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7925/
Dmac.c358 u8 chfreq, qos_ctl = 0, remove_pad, amsdu_info; in mt7925_mac_fill_rx() local
391 chfreq = FIELD_GET(MT_RXD3_NORMAL_CH_FREQ, rxd3); in mt7925_mac_fill_rx()
405 mt792x_get_status_freq_info(status, chfreq); in mt7925_mac_fill_rx()