Home
last modified time | relevance | path

Searched refs:peer_tx (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
82 peer_tx = le16_to_cpu(*he_peer_tx); in ieee80211_he_mcs_intersection()
83 peer_tx = (peer_tx >> i * 2) & IEEE80211_HE_MCS_NOT_SUPPORTED; in ieee80211_he_mcs_intersection()
85 if (peer_tx != IEEE80211_HE_MCS_NOT_SUPPORTED) { in ieee80211_he_mcs_intersection()
87 peer_tx = IEEE80211_HE_MCS_NOT_SUPPORTED; in ieee80211_he_mcs_intersection()
88 else if (own_rx < peer_tx) in ieee80211_he_mcs_intersection()
89 peer_tx = own_rx; in ieee80211_he_mcs_intersection()
105 *he_peer_tx |= cpu_to_le16(peer_tx << 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
252 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
253 peer_tx = (peer_tx >> i * 2) & IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
255 if (peer_tx != IEEE80211_VHT_MCS_NOT_SUPPORTED) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
257 peer_tx = IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
258 else if (own_rx < peer_tx) in ieee80211_vht_cap_ie_to_sta_vht_cap()
259 peer_tx = own_rx; in ieee80211_vht_cap_ie_to_sta_vht_cap()
275 vht_cap->vht_mcs.tx_mcs_map |= cpu_to_le16(peer_tx << i * 2); in ieee80211_vht_cap_ie_to_sta_vht_cap()