Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dusb_phy.c14 bool is_5ghz = chan->band == NL80211_BAND_5GHZ; in mt76x2u_phy_channel_calibrate() local
25 if (is_5ghz) in mt76x2u_phy_channel_calibrate()
28 mt76x02_mcu_calibrate(dev, MCU_CAL_TX_LOFT, is_5ghz); in mt76x2u_phy_channel_calibrate()
29 mt76x02_mcu_calibrate(dev, MCU_CAL_TXIQ, is_5ghz); in mt76x2u_phy_channel_calibrate()
30 mt76x02_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, is_5ghz); in mt76x2u_phy_channel_calibrate()
H A Dpci_phy.c39 bool is_5ghz = chan->band == NL80211_BAND_5GHZ; in mt76x2_phy_channel_calibrate() local
53 if (is_5ghz) in mt76x2_phy_channel_calibrate()
56 mt76x02_mcu_calibrate(dev, MCU_CAL_TX_LOFT, is_5ghz); in mt76x2_phy_channel_calibrate()
57 mt76x02_mcu_calibrate(dev, MCU_CAL_TXIQ, is_5ghz); in mt76x2_phy_channel_calibrate()
58 mt76x02_mcu_calibrate(dev, MCU_CAL_RXIQC_FI, is_5ghz); in mt76x2_phy_channel_calibrate()
H A Deeprom.c295 bool is_5ghz; in mt76x2_get_rate_power() local
298 is_5ghz = chan->band == NL80211_BAND_5GHZ; in mt76x2_get_rate_power()
306 if (is_5ghz) in mt76x2_get_rate_power()
313 if (is_5ghz) in mt76x2_get_rate_power()
337 if (!is_5ghz) in mt76x2_get_rate_power()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A Dphy.c864 int is_5ghz = (chan->band == NL80211_BAND_5GHZ) ? 1 : 0; in mt76x0_phy_calibrate() local
892 if (is_5ghz) { in mt76x0_phy_calibrate()
904 mt76x02_mcu_calibrate(dev, MCU_CAL_LC, is_5ghz); in mt76x0_phy_calibrate()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/
H A Dmac.c54 bool is_5ghz = dev->mphy.chandef.chan->band == NL80211_BAND_5GHZ; in mt7603_mac_set_timing() local
58 if (is_5ghz) in mt7603_mac_set_timing()
75 if (dev->slottime < 20 || is_5ghz) in mt7603_mac_set_timing()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7615/
H A Dmac.c148 bool is_5ghz = phy->mt76->chandef.chan->band == NL80211_BAND_5GHZ; in mt7615_mac_set_timing() local
153 if (is_5ghz) in mt7615_mac_set_timing()
186 if (phy->slottime < 20 || is_5ghz) in mt7615_mac_set_timing()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dxmit.c1187 bool is_2ghz, is_5ghz, use_stbc; in ath_get_rate_txpower() local
1197 is_5ghz = info->band == NL80211_BAND_5GHZ; in ath_get_rate_txpower()
1202 rateidx += is_5ghz ? ATH9K_PWRTBL_11NA_HT_SHIFT in ath_get_rate_txpower()
/openbmc/linux/net/mac80211/
H A Dmlme.c4832 bool is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ; in ieee80211_prep_channel() local
4870 if (!sband->vht_cap.vht_supported && is_5ghz) { in ieee80211_prep_channel()
7280 bool is_5ghz, is_6ghz; in ieee80211_setup_assoc_link() local
7296 is_5ghz = cbss->channel->band == NL80211_BAND_5GHZ; in ieee80211_setup_assoc_link()
7325 } else if (is_5ghz) { in ieee80211_setup_assoc_link()