/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_phy.c | 46 const HAL_RATE_TABLE *rt, u_int8_t rates_array[], u_int8_t chainmask); 49 u_int8_t chainmask); 53 int rt_ts_offset, u_int8_t chainmask); 57 int rt_ts_offset, u_int8_t chainmask); 62 int rt_ts_offset, u_int8_t chainmask); 397 u_int8_t chainmask, u_int8_t xmit_mode) in ar9300_get_rate_txpower() argument 400 int num_chains = ar9300_get_ntxchains(chainmask); in ar9300_get_rate_txpower() 513 u_int8_t power_per_rate[], u_int8_t chainmask) in ar9300_init_rate_txpower() argument 524 AR9300_11A_RT_OFDM_OFFSET, chainmask); in ar9300_init_rate_txpower() 530 AR9300_11NA_RT_OFDM_OFFSET, chainmask); in ar9300_init_rate_txpower() [all …]
|
H A D | ar9300.h | 304 #define AR9300_NUM_CHAINS(chainmask) \ argument 305 (((chainmask >> 2) & 1) + ((chainmask >> 1) & 1) + (chainmask & 1)) 1427 u_int8_t rate_index, u_int8_t chainmask, u_int8_t mimo_mode); 1431 u_int8_t chainmask);
|
H A D | ar9300_reset.c | 293 u_int8_t chainmask; in ar9300_upload_noise_floor() local 313 chainmask = 0x01; in ar9300_upload_noise_floor() 315 chainmask = 0x03; in ar9300_upload_noise_floor() 317 chainmask = 0x07; in ar9300_upload_noise_floor() 324 if (!((chainmask >> chain) & 0x1)) { in ar9300_upload_noise_floor() 2256 u_int8_t chainmask; in ar9300_load_nf() local 2263 chainmask = 0x9; in ar9300_load_nf() 2265 chainmask = 0x1b; in ar9300_load_nf() 2267 chainmask = 0x3F; in ar9300_load_nf() 2275 if (chainmask & (1 << i)) { in ar9300_load_nf() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7615/ |
H A D | init.c | 428 if (dev->chainmask == 0xf) in mt7615_cap_dbdc_enable() 429 dev->mphy.antenna_mask = dev->chainmask >> 2; in mt7615_cap_dbdc_enable() 431 dev->mphy.antenna_mask = dev->chainmask >> 1; in mt7615_cap_dbdc_enable() 432 dev->mphy.chainmask = dev->mphy.antenna_mask; in mt7615_cap_dbdc_enable() 433 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable() 434 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7615_cap_dbdc_enable() 444 dev->mphy.antenna_mask = dev->chainmask; in mt7615_cap_dbdc_disable() 445 dev->mphy.chainmask = dev->chainmask; in mt7615_cap_dbdc_disable() 446 dev->mphy.hw->wiphy->available_antennas_rx = dev->chainmask; in mt7615_cap_dbdc_disable() 447 dev->mphy.hw->wiphy->available_antennas_tx = dev->chainmask; in mt7615_cap_dbdc_disable() [all …]
|
H A D | eeprom.c | 175 dev->chainmask = BIT(tx_mask) - 1; in mt7615_eeprom_parse_hw_cap() 176 dev->mphy.antenna_mask = dev->chainmask; in mt7615_eeprom_parse_hw_cap() 177 dev->mphy.chainmask = dev->chainmask; in mt7615_eeprom_parse_hw_cap()
|
H A D | testmode.c | 183 mask = phy->mt76->chainmask; in mt7615_tm_set_tx_antenna() 310 if (td->tx_antenna_mask & ~mphy->chainmask) in mt7615_tm_set_params()
|
H A D | mt7615.h | 251 u16 chainmask; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | mcu.c | 24 __le16 chainmask; in mt76x2_mcu_set_channel() member 32 .chainmask = cpu_to_le16(dev->mphy.chainmask), in mt76x2_mcu_set_channel()
|
H A D | pci_main.c | 123 dev->mphy.chainmask = (tx_ant == 3) ? 0x202 : 0x101; in mt76x2_set_antenna()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | eeprom.c | 183 mphy->chainmask = (BIT(path) - 1) << dev->chainshift[band_idx]; in mt7996_eeprom_parse_hw_cap() 184 dev->chainmask |= mphy->chainmask; in mt7996_eeprom_parse_hw_cap() 187 hweight16(mphy->chainmask); in mt7996_eeprom_parse_hw_cap()
|
H A D | main.c | 953 phy->mt76->chainmask = ((dev->chainmask >> shift) & in mt7996_set_antenna() 956 phy->mt76->chainmask = (dev->chainmask >> shift) << shift; in mt7996_set_antenna() 958 phy->mt76->chainmask = tx_ant << shift; in mt7996_set_antenna()
|
H A D | init.c | 505 sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_vht_txbf_caps() 529 int sts = hweight16(phy->mt76->chainmask); in mt7996_set_stream_he_txbf_caps() 733 int sts = hweight16(phy->mt76->chainmask); in mt7996_init_eht_caps()
|
H A D | mt7996.h | 197 u16 chainmask; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | eeprom.c | 231 mphy->chainmask = BIT(path) - 1; in mt7915_eeprom_parse_hw_cap() 233 mphy->chainmask <<= dev->chainshift; in mt7915_eeprom_parse_hw_cap() 235 dev->chainmask |= mphy->chainmask; in mt7915_eeprom_parse_hw_cap() 236 dev->chainshift = hweight8(dev->mphy.chainmask); in mt7915_eeprom_parse_hw_cap()
|
H A D | testmode.c | 696 u32 chainmask = mphy->chainmask, changed = 0; in mt7915_tm_set_params() local 706 chainmask = ext_phy ? chainmask >> dev->chainshift : chainmask; in mt7915_tm_set_params() 707 if (td->tx_antenna_mask > chainmask) in mt7915_tm_set_params()
|
H A D | mcu.c | 1020 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_is_ebf_supported() 1083 bf->nrow = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_ht() 1096 u8 tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_vht() 1191 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfer_tlv() 1260 int tx_ant = hweight8(phy->mt76->chainmask) - 1; in mt7915_mcu_sta_bfee_tlv() 2717 .tx_path_num = hweight16(phy->mt76->chainmask), in mt7915_mcu_set_chan_info() 2718 .rx_path = phy->mt76->chainmask >> (dev->chainshift * band), in mt7915_mcu_set_chan_info()
|
H A D | main.c | 1050 phy->mt76->chainmask = (dev->chainmask >> chainshift) << chainshift; in mt7915_set_antenna() 1052 phy->mt76->chainmask = tx_ant << (chainshift * band); in mt7915_set_antenna()
|
H A D | init.c | 862 sts = hweight8(phy->mt76->chainmask); in mt7915_set_stream_vht_txbf_caps() 889 int sts = hweight8(phy->mt76->chainmask); in mt7915_set_stream_he_txbf_caps()
|
H A D | mt7915.h | 264 u16 chainmask; member
|
/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_cal.c | 600 uint8_t chainmask; in ar5416LoadNF() local 608 chainmask = 0x9; in ar5416LoadNF() 611 chainmask = 0x1B; in ar5416LoadNF() 613 chainmask = 0x3F; in ar5416LoadNF() 628 if (chainmask & (1 << i)) { in ar5416LoadNF() 678 if (chainmask & (1 << i)) { in ar5416LoadNF()
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_phy.c | 19 switch (dev->mphy.chainmask & 0xf) { in mt76x02_phy_set_rxpath() 38 txpath = (dev->mphy.chainmask >> 8) & 0xf; in mt76x02_phy_set_txdac()
|
H A D | mt76x02_util.c | 193 dev->mphy.chainmask = 0x202; in mt76x02_init_device() 196 dev->mphy.chainmask = 0x101; in mt76x02_init_device()
|
H A D | mt76x02_mac.c | 348 u8 ccmp_pn[8], nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_write_txwi() 692 u8 n_rxstream = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rate() 785 int pad_len = 0, nstreams = dev->mphy.chainmask & 0xf; in mt76x02_mac_process_rx()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7921/ |
H A D | init.c | 267 dev->mphy.hw->wiphy->available_antennas_rx = dev->mphy.chainmask; in mt7921_register_device() 268 dev->mphy.hw->wiphy->available_antennas_tx = dev->mphy.chainmask; in mt7921_register_device()
|
/freebsd/sys/dev/iwn/ |
H A D | if_iwnvar.h | 383 uint8_t chainmask; member
|