Lines Matching full:cap

25 		vht_cap->cap &= ~flag;  in __check_vhtcap_disable()
60 u32 cap, n; in ieee80211_apply_vhtcap_overrides() local
65 cap = vht_cap->cap & IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_MASK; in ieee80211_apply_vhtcap_overrides()
66 cap >>= IEEE80211_VHT_CAP_MAX_A_MPDU_LENGTH_EXPONENT_SHIFT; in ieee80211_apply_vhtcap_overrides()
68 if (n < cap) { in ieee80211_apply_vhtcap_overrides()
69 vht_cap->cap &= in ieee80211_apply_vhtcap_overrides()
71 vht_cap->cap |= in ieee80211_apply_vhtcap_overrides()
170 vht_cap->cap = cap_info; in ieee80211_vht_cap_ie_to_sta_vht_cap()
171 vht_cap->cap &= IEEE80211_VHT_CAP_RXLDPC | in ieee80211_vht_cap_ie_to_sta_vht_cap()
180 vht_cap->cap |= min_t(u32, cap_info & IEEE80211_VHT_CAP_MAX_MPDU_MASK, in ieee80211_vht_cap_ie_to_sta_vht_cap()
181 own_cap.cap & IEEE80211_VHT_CAP_MAX_MPDU_MASK); in ieee80211_vht_cap_ie_to_sta_vht_cap()
184 switch (own_cap.cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
186 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
190 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
199 vht_cap->cap |= cap_info & own_cap.cap & in ieee80211_vht_cap_ie_to_sta_vht_cap()
204 if (own_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE) in ieee80211_vht_cap_ie_to_sta_vht_cap()
205 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
209 if (own_cap.cap & IEEE80211_VHT_CAP_SU_BEAMFORMER_CAPABLE) in ieee80211_vht_cap_ie_to_sta_vht_cap()
210 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
214 if (own_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMER_CAPABLE) in ieee80211_vht_cap_ie_to_sta_vht_cap()
215 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
218 if (own_cap.cap & IEEE80211_VHT_CAP_MU_BEAMFORMEE_CAPABLE) in ieee80211_vht_cap_ie_to_sta_vht_cap()
219 vht_cap->cap |= cap_info & in ieee80211_vht_cap_ie_to_sta_vht_cap()
222 if (own_cap.cap & IEEE80211_VHT_CAP_TXSTBC) in ieee80211_vht_cap_ie_to_sta_vht_cap()
223 vht_cap->cap |= cap_info & IEEE80211_VHT_CAP_RXSTBC_MASK; in ieee80211_vht_cap_ie_to_sta_vht_cap()
225 if (own_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in ieee80211_vht_cap_ie_to_sta_vht_cap()
226 vht_cap->cap |= cap_info & IEEE80211_VHT_CAP_TXSTBC; in ieee80211_vht_cap_ie_to_sta_vht_cap()
234 vht_cap->cap |= (cap_info & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK); in ieee80211_vht_cap_ie_to_sta_vht_cap()
295 switch (vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
318 switch (vht_cap->cap & IEEE80211_VHT_CAP_MAX_MPDU_MASK) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
360 return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_rx_bw()
364 cap_width = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in ieee80211_sta_cap_rx_bw()
375 if (vht_cap->cap & IEEE80211_VHT_CAP_EXT_NSS_BW_MASK) in ieee80211_sta_cap_rx_bw()
390 return sta->sta.ht_cap.cap & IEEE80211_HT_CAP_SUP_WIDTH_20_40 ? in ieee80211_sta_cap_chan_bw()
394 cap_width = vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in ieee80211_sta_cap_chan_bw()
423 vht_cap->cap & IEEE80211_VHT_CAP_SUPP_CHAN_WIDTH_MASK; in ieee80211_sta_rx_bw_to_chan_width()
664 u16 mask, cap = le16_to_cpu(vht_cap); in ieee80211_get_vht_mask_from_cap() local
667 mask = (cap >> i * 2) & IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_get_vht_mask_from_cap()