Lines Matching refs:deflink
947 u16 mcs_map = le16_to_cpu(sta->deflink.vht_cap.vht_mcs.rx_mcs_map); in get_vht_ra_mask()
1167 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1170 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXSTBC_MASK) in rtw_update_sta_info()
1172 if (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_RXLDPC) in rtw_update_sta_info()
1174 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1175 ra_mask |= (sta->deflink.ht_cap.mcs.rx_mask[1] << 20) | in rtw_update_sta_info()
1176 (sta->deflink.ht_cap.mcs.rx_mask[0] << 12); in rtw_update_sta_info()
1177 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_RX_STBC) in rtw_update_sta_info()
1179 if (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_LDPC_CODING) in rtw_update_sta_info()
1187 ra_mask |= (u64)sta->deflink.supp_rates[NL80211_BAND_5GHZ] << 4; in rtw_update_sta_info()
1189 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1192 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1200 ra_mask |= sta->deflink.supp_rates[NL80211_BAND_2GHZ]; in rtw_update_sta_info()
1202 if (sta->deflink.vht_cap.vht_supported) { in rtw_update_sta_info()
1207 } else if (sta->deflink.ht_cap.ht_supported) { in rtw_update_sta_info()
1212 } else if (sta->deflink.supp_rates[0] <= 0xf) { in rtw_update_sta_info()
1225 switch (sta->deflink.bandwidth) { in rtw_update_sta_info()
1228 is_support_sgi = sta->deflink.vht_cap.vht_supported && in rtw_update_sta_info()
1229 (sta->deflink.vht_cap.cap & IEEE80211_VHT_CAP_SHORT_GI_80); in rtw_update_sta_info()
1233 is_support_sgi = sta->deflink.ht_cap.ht_supported && in rtw_update_sta_info()
1234 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_40); in rtw_update_sta_info()
1238 is_support_sgi = sta->deflink.ht_cap.ht_supported && in rtw_update_sta_info()
1239 (sta->deflink.ht_cap.cap & IEEE80211_HT_CAP_SGI_20); in rtw_update_sta_info()
1243 if (sta->deflink.vht_cap.vht_supported && ra_mask & 0xffc00000) { in rtw_update_sta_info()
1246 } else if (sta->deflink.ht_cap.ht_supported && ra_mask & 0xfff00000) { in rtw_update_sta_info()