Lines Matching refs:eht
959 struct sta_rec_eht *eht; in mt7996_mcu_sta_eht_tlv() local
968 tlv = mt76_connac_mcu_add_tlv(skb, STA_REC_EHT, sizeof(*eht)); in mt7996_mcu_sta_eht_tlv()
970 eht = (struct sta_rec_eht *)tlv; in mt7996_mcu_sta_eht_tlv()
971 eht->tid_bitmap = 0xff; in mt7996_mcu_sta_eht_tlv()
972 eht->mac_cap = cpu_to_le16(*(u16 *)elem->mac_cap_info); in mt7996_mcu_sta_eht_tlv()
973 eht->phy_cap = cpu_to_le64(*(u64 *)elem->phy_cap_info); in mt7996_mcu_sta_eht_tlv()
974 eht->phy_cap_ext = cpu_to_le64(elem->phy_cap_info[8]); in mt7996_mcu_sta_eht_tlv()
977 memcpy(eht->mcs_map_bw20, &mcs_map->only_20mhz, sizeof(eht->mcs_map_bw20)); in mt7996_mcu_sta_eht_tlv()
978 memcpy(eht->mcs_map_bw80, &mcs_map->bw._80, sizeof(eht->mcs_map_bw80)); in mt7996_mcu_sta_eht_tlv()
979 memcpy(eht->mcs_map_bw160, &mcs_map->bw._160, sizeof(eht->mcs_map_bw160)); in mt7996_mcu_sta_eht_tlv()
980 memcpy(eht->mcs_map_bw320, &mcs_map->bw._320, sizeof(eht->mcs_map_bw320)); in mt7996_mcu_sta_eht_tlv()
1920 const struct ieee80211_eht_cap_elem_fixed *eht; in mt7996_mcu_beacon_check_caps() local
1994 if (ie && ie[1] >= sizeof(*eht) + 1) { in mt7996_mcu_beacon_check_caps()
1999 eht = (void *)(ie + 3); in mt7996_mcu_beacon_check_caps()
2002 EHT_PHY(CAP0_SU_BEAMFORMER, eht->phy_cap_info[0]) && in mt7996_mcu_beacon_check_caps()
2005 EHT_PHY(CAP0_SU_BEAMFORMEE, eht->phy_cap_info[0]) && in mt7996_mcu_beacon_check_caps()