Lines Matching refs:vht_cap
171 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_sgi_allow() local
179 if (is_ht80(rate) && (vht_cap->cap & in rs_sgi_allow()
182 if (is_ht160(rate) && (vht_cap->cap & in rs_sgi_allow()
1372 struct ieee80211_sta_vht_cap *sta_vht_cap = &sta->deflink.vht_cap; in rs_bw_from_sta_bw()
1373 struct ieee80211_vht_cap vht_cap = { in rs_bw_from_sta_bw() local
1388 if (ieee80211_get_vht_max_nss(&vht_cap, in rs_bw_from_sta_bw()
2541 if (sta->deflink.vht_cap.vht_supported && in rs_get_initial_rate()
2734 static int rs_vht_highest_rx_mcs_index(struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_highest_rx_mcs_index() argument
2737 u16 rx_mcs = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map) & in rs_vht_highest_rx_mcs_index()
2753 struct ieee80211_sta_vht_cap *vht_cap, in rs_vht_set_enabled_rates() argument
2757 int highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 1); in rs_vht_set_enabled_rates()
2776 highest_mcs = rs_vht_highest_rx_mcs_index(vht_cap, 2); in rs_vht_set_enabled_rates()
2826 struct ieee80211_sta_vht_cap *vht_cap) in rs_vht_init() argument
2828 rs_vht_set_enabled_rates(sta, vht_cap, lq_sta); in rs_vht_init()
2831 (vht_cap->cap & IEEE80211_VHT_CAP_RXLDPC)) in rs_vht_init()
2836 (vht_cap->cap & IEEE80211_VHT_CAP_RXSTBC_MASK)) in rs_vht_init()
2841 (vht_cap->cap & IEEE80211_VHT_CAP_SU_BEAMFORMEE_CAPABLE)) in rs_vht_init()
2922 struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in rs_drv_rate_init() local
2964 if (!vht_cap || !vht_cap->vht_supported) in rs_drv_rate_init()
2967 rs_vht_init(mvm, sta, lq_sta, vht_cap); in rs_drv_rate_init()