Home
last modified time | relevance | path

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

/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300eep.h145 #define FREQ2FBIN(freq,is_2ghz) \ argument
146 (u_int8_t)((is_2ghz) ? ((freq) - 2300) : (((freq) - 4800) / 5))
147 #define FBIN2FREQ(freq,is_2ghz) \ argument
148 ((is_2ghz) ? (2300 + freq) : (4800 + 5 * freq))
606 fbin2freq(u_int8_t fbin, HAL_BOOL is_2ghz) in fbin2freq() argument
617 return (u_int16_t)((is_2ghz) ? (2300 + fbin) : (4800 + 5 * fbin)); in fbin2freq()
655 …om_get_legacy_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
656 …prom_get_ht20_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
657 …prom_get_ht40_trgt_pwr(struct ath_hal *ah, u_int16_t rate_index, u_int16_t freq, HAL_BOOL is_2ghz);
664 extern HAL_BOOL ar9300_xpa_timing_control_apply(struct ath_hal *ah, HAL_BOOL is_2ghz);
[all …]
H A Dar9300_eeprom.c48 int spur_chan, HAL_BOOL is_2ghz);
685 u_int16_t freq, HAL_BOOL is_2ghz) in ar9300_eeprom_get_legacy_trgt_pwr() argument
694 if (is_2ghz) { in ar9300_eeprom_get_legacy_trgt_pwr()
709 freq_array[i] = FBIN2FREQ(p_freq_bin[i], is_2ghz); in ar9300_eeprom_get_legacy_trgt_pwr()
721 u_int16_t freq, HAL_BOOL is_2ghz) in ar9300_eeprom_get_ht20_trgt_pwr() argument
730 if (is_2ghz) { in ar9300_eeprom_get_ht20_trgt_pwr()
745 freq_array[i] = FBIN2FREQ(p_freq_bin[i], is_2ghz); in ar9300_eeprom_get_ht20_trgt_pwr()
757 u_int16_t freq, HAL_BOOL is_2ghz) in ar9300_eeprom_get_ht40_trgt_pwr() argument
766 if (is_2ghz) { in ar9300_eeprom_get_ht40_trgt_pwr()
781 freq_array[i] = FBIN2FREQ(p_freq_bin[i], is_2ghz); in ar9300_eeprom_get_ht40_trgt_pwr()
[all …]
H A Dar9300.h1242 extern u_int32_t ar9300_ant_ctrl_common_get(struct ath_hal *ah, HAL_BOOL is_2ghz);
1604 extern u_int8_t *ar9300_eeprom_get_spur_chans_ptr(struct ath_hal *ah, HAL_BOOL is_2ghz);
/freebsd/sys/contrib/dev/mediatek/mt76/
H A Dmt792x_mac.c47 bool is_2ghz = phy->mt76->chandef.chan->band == NL80211_BAND_2GHZ; in mt792x_mac_set_timeing() local
48 int sifs = is_2ghz ? 10 : 16, offset; in mt792x_mac_set_timeing()
69 if (phy->slottime < 20 || !is_2ghz) in mt792x_mac_set_timeing()
/freebsd/sys/dev/otus/
H A Dif_otus.c2120 int is_2ghz; in otus_rate_to_hw_rate() local
2122 is_2ghz = !! (IEEE80211_IS_CHAN_2GHZ(sc->sc_ic.ic_curchan)); in otus_rate_to_hw_rate()
2160 if (is_2ghz) in otus_rate_to_hw_rate()
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/
H A Dmcu.c728 bool is_2ghz = phy->mt76->chandef.chan->band == NL80211_BAND_2GHZ; in mt7996_mcu_bss_ifs_timing_tlv() local
741 ifs_time->eifs_time = cpu_to_le16(is_2ghz ? 78 : 84); in mt7996_mcu_bss_ifs_timing_tlv()
743 if (is_2ghz) { in mt7996_mcu_bss_ifs_timing_tlv()