/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | mt76x02_phy.c | 115 mt76x02_tx_power_mask(t->ofdm[7], t->vht[0], t->ht[7], in mt76x02_phy_set_txpower() 116 t->vht[1])); in mt76x02_phy_set_txpower() 118 mt76x02_tx_power_mask(t->ht[14], 0, t->vht[0], t->vht[1])); in mt76x02_phy_set_txpower() 120 mt76x02_tx_power_mask(t->ht[7], 0, t->vht[0], t->vht[1])); in mt76x02_phy_set_txpower()
|
H A D | mac80211.c | 255 bool vht) in mt76_init_stream_cap() argument 270 if (!vht) in mt76_init_stream_cap() 295 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht) in mt76_set_stream_caps() argument 300 mt76_init_stream_cap(phy, &phy->sband_5g.sband, vht); in mt76_set_stream_caps() 302 mt76_init_stream_cap(phy, &phy->sband_6g.sband, vht); in mt76_set_stream_caps() 310 bool ht, bool vht) in mt76_init_sband() argument 348 mt76_init_stream_cap(phy, sband, vht); in mt76_init_sband() 350 if (!vht) in mt76_init_sband() 376 int n_rates, bool vht) in mt76_init_sband_5g() argument 382 n_rates, true, vht); in mt76_init_sband_5g() [all …]
|
H A D | mt76x02_debugfs.c | 127 mt76_seq_puts_array(s, "VHT", dev->rate_power.vht, in mt76x02_read_rate_txpower() 128 ARRAY_SIZE(dev->rate_power.vht)); in mt76x02_read_rate_txpower()
|
H A D | mt76_connac_mcu.c | 852 struct sta_rec_vht *vht; in mt76_connac_mcu_sta_tlv() local 855 len = is_mt7921(dev) ? sizeof(*vht) : sizeof(*vht) - 4; in mt76_connac_mcu_sta_tlv() 857 vht = (struct sta_rec_vht *)tlv; in mt76_connac_mcu_sta_tlv() 858 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt76_connac_mcu_sta_tlv() 859 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt76_connac_mcu_sta_tlv() 860 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt76_connac_mcu_sta_tlv() 969 struct wtbl_vht *vht; in mt76_connac_mcu_wtbl_ht_tlv() local 973 sizeof(*vht), wtbl_tlv, in mt76_connac_mcu_wtbl_ht_tlv() 975 vht = (struct wtbl_vht *)tlv; in mt76_connac_mcu_wtbl_ht_tlv() 976 vht->ldpc = vht_ldpc && in mt76_connac_mcu_wtbl_ht_tlv() [all …]
|
H A D | mt76x02_txrx.c | 65 max_txpwr = dev->rate_power.vht[0]; in mt76x02_tx_get_max_txpwr_adj()
|
H A D | mt76x02.h | 81 s8 vht[2]; member
|
H A D | mt76.h | 1080 int mt76_register_device(struct mt76_dev *dev, bool vht, 1089 int mt76_register_phy(struct mt76_phy *phy, bool vht, 1303 void mt76_set_stream_caps(struct mt76_phy *phy, bool vht);
|
/freebsd/contrib/wpa/src/ap/ |
H A D | neighbor_db.c | 207 int ht, int vht, int he) in hostapd_get_nr_chan_width() argument 213 if (!ht && !vht && !he) in hostapd_get_nr_chan_width() 217 if ((!vht && !he) || oper_chwidth == CONF_OPER_CHWIDTH_USE_HT) in hostapd_get_nr_chan_width() 235 int vht = hapd->iconf->ieee80211ac && !hapd->conf->disable_11ac; in hostapd_neighbor_set_own_report() local 271 if (vht) in hostapd_neighbor_set_own_report() 287 width = hostapd_get_nr_chan_width(hapd, ht, vht, he); in hostapd_neighbor_set_own_report() 288 if (vht) { in hostapd_neighbor_set_own_report() 316 wpabuf_put_u8(nr, ieee80211_get_phy_type(hapd->iface->freq, ht, vht)); in hostapd_neighbor_set_own_report()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | p2p_supplicant.h | 39 int persistent_id, int pd, int ht40, int vht, 46 int freq, int vht_center_freq2, int ht40, int vht, 51 int vht_center_freq2, int ht40, int vht, 123 int vht_center_freq2, int ht40, int vht, int max_chwidth,
|
H A D | rrm.c | 716 int sec_chan = 0, vht = 0; in wpas_get_op_chan_phy() local 744 vht = CONF_OPER_CHWIDTH_160MHZ; in wpas_get_op_chan_phy() 746 vht = CONF_OPER_CHWIDTH_80P80MHZ; in wpas_get_op_chan_phy() 748 vht = CONF_OPER_CHWIDTH_80MHZ; in wpas_get_op_chan_phy() 751 vht = CONF_OPER_CHWIDTH_160MHZ; in wpas_get_op_chan_phy() 754 vht = CONF_OPER_CHWIDTH_80P80MHZ; in wpas_get_op_chan_phy() 757 vht = CONF_OPER_CHWIDTH_USE_HT; in wpas_get_op_chan_phy() 762 if (ieee80211_freq_to_channel_ext(freq, sec_chan, vht, op_class, in wpas_get_op_chan_phy()
|
H A D | config_ssid.h | 583 int vht; member
|
H A D | scan.c | 2835 int snr, bool vht) in max_rate() argument 2841 (vht || entry - table <= vht_mcs)) in max_rate() 2846 if (entry->minsnr == -1 || (!vht && entry - table > vht_mcs)) in max_rate() 2853 static unsigned int max_ht20_rate(int snr, bool vht) in max_ht20_rate() argument 2855 return max_rate(vht20_table, snr, vht); in max_ht20_rate() 2859 static unsigned int max_ht40_rate(int snr, bool vht) in max_ht40_rate() argument 2861 return max_rate(vht40_table, snr, vht); in max_ht40_rate()
|
H A D | wnm_sta.c | 947 enum oper_chan_width vht = CONF_OPER_CHWIDTH_USE_HT; in wnm_nei_rep_add_bss() local 971 vht = vht_oper->vht_op_info_chwidth; in wnm_nei_rep_add_bss() 974 if (ieee80211_freq_to_channel_ext(bss->freq, sec_chan, vht, &op_class, in wnm_nei_rep_add_bss()
|
H A D | p2p_supplicant.c | 2083 ssid->vht = params->vht; in wpas_start_wps_go() 2476 res->vht = 1; in wpas_go_neg_completed() 5970 int persistent_id, int pd, int ht40, int vht, in wpas_p2p_connect() argument 6018 wpa_s->p2p_go_vht = !!vht; in wpas_p2p_connect() 6483 int vht, int max_oper_chwidth, int he, in wpas_p2p_init_go_params() argument 6496 params->vht = vht; in wpas_p2p_init_go_params() 6895 int freq, int vht_center_freq2, int ht40, int vht, in wpas_p2p_group_add() argument 6922 ht40, vht, max_oper_chwidth, he, edmg, in wpas_p2p_group_add() 7043 int vht, int max_oper_chwidth, int he, in wpas_p2p_group_add_persistent() argument 7123 ht40, vht, max_oper_chwidth, he, edmg, in wpas_p2p_group_add_persistent() [all …]
|
H A D | ctrl_iface.c | 6373 int ht40, vht, max_oper_chwidth, chwidth = 0, freq2 = 0; in p2p_ctrl_connect() local 6420 vht = (os_strstr(cmd, " vht") != NULL) || wpa_s->conf->p2p_go_vht; in p2p_ctrl_connect() 6422 vht; in p2p_ctrl_connect() 6498 pd, ht40, vht, max_oper_chwidth, he, edmg, in p2p_ctrl_connect() 7049 int ht40, vht, he, max_oper_chwidth, chwidth = 0, freq2 = 0; in p2p_ctrl_invite_persistent() local 7085 vht = (os_strstr(cmd, " vht") != NULL) || wpa_s->conf->p2p_go_vht; in p2p_ctrl_invite_persistent() 7087 vht; in p2p_ctrl_invite_persistent() 7108 return wpas_p2p_invite(wpa_s, _peer, ssid, NULL, freq, freq2, ht40, vht, in p2p_ctrl_invite_persistent() 7161 int ht40, int vht, int vht_chwidth, in p2p_ctrl_group_add_persistent() argument 7176 vht_center_freq2, ht40, vht, in p2p_ctrl_group_add_persistent() [all …]
|
H A D | README-P2P | 153 [go_intent=<0..15>] [freq=<in MHz>] [ht40] [vht] [he] [provdisc] [auto] 265 [ht40] [vht] [he] 561 [go_dev_addr=address] [freq=<freq in MHz>] [ht40] [vht] [he]
|
/freebsd/sys/contrib/dev/athk/ath11k/ |
H A D | debugfs_sta.c | 42 STATS_OP_FMT(SUCC).vht[0][mcs] += peer_stats->succ_bytes; in ath11k_debugfs_sta_add_tx_stats() 43 STATS_OP_FMT(SUCC).vht[1][mcs] += peer_stats->succ_pkts; in ath11k_debugfs_sta_add_tx_stats() 44 STATS_OP_FMT(FAIL).vht[0][mcs] += peer_stats->failed_bytes; in ath11k_debugfs_sta_add_tx_stats() 45 STATS_OP_FMT(FAIL).vht[1][mcs] += peer_stats->failed_pkts; in ath11k_debugfs_sta_add_tx_stats() 46 STATS_OP_FMT(RETRY).vht[0][mcs] += peer_stats->retry_bytes; in ath11k_debugfs_sta_add_tx_stats() 47 STATS_OP_FMT(RETRY).vht[1][mcs] += peer_stats->retry_pkts; in ath11k_debugfs_sta_add_tx_stats() 80 STATS_OP_FMT(AMPDU).vht[0][mcs] += in ath11k_debugfs_sta_add_tx_stats() 82 STATS_OP_FMT(AMPDU).vht[1][mcs] += in ath11k_debugfs_sta_add_tx_stats() 179 stats->vht[j][i]); in ath11k_dbg_sta_dump_tx_stats()
|
H A D | core.h | 477 u64 vht[ATH11K_COUNTER_TYPE_MAX][ATH11K_VHT_MCS_NUM]; member
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt76x2/ |
H A D | eeprom.c | 330 t->vht[0] = t->vht[1] = mt76x02_rate_power_val(val >> 8); in mt76x2_get_rate_power()
|
/freebsd/contrib/wpa/wpa_supplicant/dbus/ |
H A D | dbus_new_handlers_p2p.c | 365 int vht = wpa_s->conf->p2p_go_vht; in wpas_dbus_handler_p2p_group_add() local 366 int ht40 = wpa_s->conf->p2p_go_ht40 || vht; in wpas_dbus_handler_p2p_group_add() 407 vht = entry.bool_value; in wpas_dbus_handler_p2p_group_add() 408 ht40 |= vht; in wpas_dbus_handler_p2p_group_add() 477 freq2, ht40, vht, in wpas_dbus_handler_p2p_group_add() 487 ht40, vht, max_oper_chwidth, he, edmg, in wpas_dbus_handler_p2p_group_add()
|
/freebsd/contrib/wpa/src/common/ |
H A D | ieee802_11_common.h | 247 enum phy_type ieee80211_get_phy_type(int freq, int ht, int vht);
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | htt_rx.c | 3837 STATS_OP_FMT(SUCC).vht[0][mcs] += pstats->succ_bytes; in ath10k_accumulate_per_peer_tx_stats() 3838 STATS_OP_FMT(SUCC).vht[1][mcs] += pstats->succ_pkts; in ath10k_accumulate_per_peer_tx_stats() 3839 STATS_OP_FMT(FAIL).vht[0][mcs] += pstats->failed_bytes; in ath10k_accumulate_per_peer_tx_stats() 3840 STATS_OP_FMT(FAIL).vht[1][mcs] += pstats->failed_pkts; in ath10k_accumulate_per_peer_tx_stats() 3841 STATS_OP_FMT(RETRY).vht[0][mcs] += pstats->retry_bytes; in ath10k_accumulate_per_peer_tx_stats() 3842 STATS_OP_FMT(RETRY).vht[1][mcs] += pstats->retry_pkts; in ath10k_accumulate_per_peer_tx_stats() 3870 STATS_OP_FMT(AMPDU).vht[0][mcs] += in ath10k_accumulate_per_peer_tx_stats() 3872 STATS_OP_FMT(AMPDU).vht[1][mcs] += in ath10k_accumulate_per_peer_tx_stats()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7996/ |
H A D | mcu.c | 1065 struct sta_rec_vht *vht; in mt7996_mcu_sta_vht_tlv() local 1072 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_VHT, sizeof(*vht)); in mt7996_mcu_sta_vht_tlv() 1074 vht = (struct sta_rec_vht *)tlv; in mt7996_mcu_sta_vht_tlv() 1075 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7996_mcu_sta_vht_tlv() 1076 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7996_mcu_sta_vht_tlv() 1077 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7996_mcu_sta_vht_tlv()
|
/freebsd/sys/contrib/dev/mediatek/mt76/mt7915/ |
H A D | mcu.c | 931 struct sta_rec_vht *vht; in mt7915_mcu_sta_vht_tlv() local 937 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_VHT, sizeof(*vht)); in mt7915_mcu_sta_vht_tlv() 939 vht = (struct sta_rec_vht *)tlv; in mt7915_mcu_sta_vht_tlv() 940 vht->vht_cap = cpu_to_le32(sta->deflink.vht_cap.cap); in mt7915_mcu_sta_vht_tlv() 941 vht->vht_rx_mcs_map = sta->deflink.vht_cap.vht_mcs.rx_mcs_map; in mt7915_mcu_sta_vht_tlv() 942 vht->vht_tx_mcs_map = sta->deflink.vht_cap.vht_mcs.tx_mcs_map; in mt7915_mcu_sta_vht_tlv()
|
/freebsd/sys/contrib/dev/athk/ath12k/ |
H A D | core.h | 370 u64 vht[ATH12K_COUNTER_TYPE_MAX][ATH12K_VHT_MCS_NUM]; member
|