Home
last modified time | relevance | path

Searched refs:peer_rx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/net/mac80211/
Dhe.c70 u16 own_rx, own_tx, peer_rx, peer_tx; in ieee80211_he_mcs_intersection() local
79 peer_rx = le16_to_cpu(*he_peer_rx); in ieee80211_he_mcs_intersection()
80 peer_rx = (peer_rx >> i * 2) & IEEE80211_HE_MCS_NOT_SUPPORTED; in ieee80211_he_mcs_intersection()
92 if (peer_rx != IEEE80211_HE_MCS_NOT_SUPPORTED) { in ieee80211_he_mcs_intersection()
94 peer_rx = IEEE80211_HE_MCS_NOT_SUPPORTED; in ieee80211_he_mcs_intersection()
95 else if (own_tx < peer_rx) in ieee80211_he_mcs_intersection()
96 peer_rx = own_tx; in ieee80211_he_mcs_intersection()
101 *he_peer_rx |= cpu_to_le16(peer_rx << i * 2); in ieee80211_he_mcs_intersection()
Dvht.c241 u16 own_rx, own_tx, peer_rx, peer_tx; in ieee80211_vht_cap_ie_to_sta_vht_cap() local
249 peer_rx = le16_to_cpu(vht_cap->vht_mcs.rx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
250 peer_rx = (peer_rx >> i * 2) & IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
262 if (peer_rx != IEEE80211_VHT_MCS_NOT_SUPPORTED) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
264 peer_rx = IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
265 else if (own_tx < peer_rx) in ieee80211_vht_cap_ie_to_sta_vht_cap()
266 peer_rx = own_tx; in ieee80211_vht_cap_ie_to_sta_vht_cap()
271 vht_cap->vht_mcs.rx_mcs_map |= cpu_to_le16(peer_rx << i * 2); in ieee80211_vht_cap_ie_to_sta_vht_cap()