Lines Matching refs:deflink
1314 ratemask = sta->deflink.supp_rates[band]; in ath12k_peer_assoc_h_rates()
1359 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_ht()
1396 if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) { in ath12k_peer_assoc_h_ht()
1446 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath12k_peer_assoc_h_ht()
1520 const struct ieee80211_sta_vht_cap *vht_cap = &sta->deflink.vht_cap; in ath12k_peer_assoc_h_vht()
1565 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath12k_peer_assoc_h_vht()
1568 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) in ath12k_peer_assoc_h_vht()
1582 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath12k_peer_assoc_h_vht()
1615 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath12k_peer_assoc_h_he()
1659 arg->peer_nss = min(sta->deflink.rx_nss, max_nss); in ath12k_peer_assoc_h_he()
1687 if (sta->deflink.vht_cap.vht_supported) in ath12k_peer_assoc_h_he()
1690 else if (sta->deflink.ht_cap.ht_supported) in ath12k_peer_assoc_h_he()
1731 switch (sta->deflink.bandwidth) { in ath12k_peer_assoc_h_he()
1767 const struct ieee80211_sta_ht_cap *ht_cap = &sta->deflink.ht_cap; in ath12k_peer_assoc_h_smps()
1896 return sta->deflink.supp_rates[NL80211_BAND_2GHZ] >> in ath12k_mac_sta_has_ofdm_only()
1903 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) { in ath12k_mac_get_phymode_vht()
1904 switch (sta->deflink.vht_cap.cap & in ath12k_mac_get_phymode_vht()
1916 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath12k_mac_get_phymode_vht()
1919 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_mac_get_phymode_vht()
1922 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) in ath12k_mac_get_phymode_vht()
1931 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) { in ath12k_mac_get_phymode_he()
1932 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_he()
1935 else if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_he()
1942 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath12k_mac_get_phymode_he()
1945 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_mac_get_phymode_he()
1948 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) in ath12k_mac_get_phymode_he()
1957 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_320) in ath12k_mac_get_phymode_eht()
1958 if (sta->deflink.eht_cap.eht_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
1962 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_160) { in ath12k_mac_get_phymode_eht()
1963 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
1967 if (sta->deflink.he_cap.he_cap_elem.phy_cap_info[0] & in ath12k_mac_get_phymode_eht()
1972 sta->deflink.he_cap.he_cap_elem.phy_cap_info[0]); in ath12k_mac_get_phymode_eht()
1977 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath12k_mac_get_phymode_eht()
1980 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_mac_get_phymode_eht()
1983 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_20) in ath12k_mac_get_phymode_eht()
2010 if (sta->deflink.eht_cap.has_eht) { in ath12k_peer_assoc_h_phymode()
2011 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_peer_assoc_h_phymode()
2015 } else if (sta->deflink.he_cap.has_he) { in ath12k_peer_assoc_h_phymode()
2016 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_80) in ath12k_peer_assoc_h_phymode()
2018 else if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_peer_assoc_h_phymode()
2022 } else if (sta->deflink.vht_cap.vht_supported && in ath12k_peer_assoc_h_phymode()
2024 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_peer_assoc_h_phymode()
2028 } else if (sta->deflink.ht_cap.ht_supported && in ath12k_peer_assoc_h_phymode()
2030 if (sta->deflink.bandwidth == IEEE80211_STA_RX_BW_40) in ath12k_peer_assoc_h_phymode()
2043 if (sta->deflink.eht_cap.has_eht) { in ath12k_peer_assoc_h_phymode()
2045 } else if (sta->deflink.he_cap.has_he) { in ath12k_peer_assoc_h_phymode()
2047 } else if (sta->deflink.vht_cap.vht_supported && in ath12k_peer_assoc_h_phymode()
2050 } else if (sta->deflink.ht_cap.ht_supported && in ath12k_peer_assoc_h_phymode()
2052 if (sta->deflink.bandwidth >= IEEE80211_STA_RX_BW_40) in ath12k_peer_assoc_h_phymode()
2139 const struct ieee80211_sta_eht_cap *eht_cap = &sta->deflink.eht_cap; in ath12k_peer_assoc_h_eht()
2140 const struct ieee80211_sta_he_cap *he_cap = &sta->deflink.he_cap; in ath12k_peer_assoc_h_eht()
2146 if (!sta->deflink.he_cap.has_he || !eht_cap->has_eht) in ath12k_peer_assoc_h_eht()
2165 switch (sta->deflink.bandwidth) { in ath12k_peer_assoc_h_eht()
2309 &ap_sta->deflink.ht_cap); in ath12k_bss_assoc()
3378 if (sta->deflink.vht_cap.vht_supported && num_vht_rates == 1) { in ath12k_station_assoc()
3392 &sta->deflink.ht_cap); in ath12k_station_assoc()
3577 if (sta->deflink.vht_cap.vht_supported && num_vht_rates == 1) { in ath12k_sta_rc_update_wk()
3715 switch (sta->deflink.bandwidth) { in ath12k_mac_ieee80211_sta_bw_to_wmi()
3730 sta->deflink.bandwidth, sta->addr); in ath12k_mac_ieee80211_sta_bw_to_wmi()
3807 arsta->bw_prev = sta->deflink.bandwidth; in ath12k_mac_op_sta_state()
3862 if (sta->deflink.txpwr.type == NL80211_TX_POWER_AUTOMATIC) { in ath12k_mac_op_sta_set_txpwr()
3865 txpwr = sta->deflink.txpwr.power; in ath12k_mac_op_sta_set_txpwr()
3913 sta->addr, changed, sta->deflink.bandwidth, sta->deflink.rx_nss, in ath12k_mac_op_sta_rc_update()
3914 sta->deflink.smps_mode); in ath12k_mac_op_sta_rc_update()
3925 arsta->nss = sta->deflink.rx_nss; in ath12k_mac_op_sta_rc_update()
3930 switch (sta->deflink.smps_mode) { in ath12k_mac_op_sta_rc_update()
3943 sta->deflink.smps_mode, sta->addr); in ath12k_mac_op_sta_rc_update()