Lines Matching refs:he_cap
116 struct ieee80211_sta_he_cap *he_cap = &link_sta->pub->he_cap;
125 memset(he_cap, 0, sizeof(*he_cap));
140 ieee80211_he_ppe_size(he_cap_ie[sizeof(he_cap->he_cap_elem) +
143 he_total_size = sizeof(he_cap->he_cap_elem) + mcs_nss_size +
148 memcpy(&he_cap->he_cap_elem, he_cap_ie, sizeof(he_cap->he_cap_elem));
151 memcpy(&he_cap->he_mcs_nss_supp,
152 &he_cap_ie[sizeof(he_cap->he_cap_elem)], mcs_nss_size);
155 if (he_cap->he_cap_elem.phy_cap_info[6] &
157 memcpy(he_cap->ppe_thres,
158 &he_cap_ie[sizeof(he_cap->he_cap_elem) + mcs_nss_size],
161 he_cap->has_he = true;
170 &he_cap->he_mcs_nss_supp.rx_mcs_80,
172 &he_cap->he_mcs_nss_supp.tx_mcs_80);
176 peer_160 = he_cap->he_cap_elem.phy_cap_info[0] &
181 &he_cap->he_mcs_nss_supp.rx_mcs_160,
183 &he_cap->he_mcs_nss_supp.tx_mcs_160);
185 ieee80211_he_mcs_disable(&he_cap->he_mcs_nss_supp.rx_mcs_160);
186 ieee80211_he_mcs_disable(&he_cap->he_mcs_nss_supp.tx_mcs_160);
187 he_cap->he_cap_elem.phy_cap_info[0] &=
193 peer_80p80 = he_cap->he_cap_elem.phy_cap_info[0] &
198 &he_cap->he_mcs_nss_supp.rx_mcs_80p80,
200 &he_cap->he_mcs_nss_supp.tx_mcs_80p80);
202 ieee80211_he_mcs_disable(&he_cap->he_mcs_nss_supp.rx_mcs_80p80);
203 ieee80211_he_mcs_disable(&he_cap->he_mcs_nss_supp.tx_mcs_80p80);
204 he_cap->he_cap_elem.phy_cap_info[0] &=