Home
last modified time | relevance | path

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

/linux-6.6.21/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.c243 u16 own_rx, own_tx, peer_rx, peer_tx; in ieee80211_vht_cap_ie_to_sta_vht_cap() local
254 peer_tx = le16_to_cpu(vht_cap->vht_mcs.tx_mcs_map); in ieee80211_vht_cap_ie_to_sta_vht_cap()
255 peer_tx = (peer_tx >> i * 2) & IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
257 if (peer_tx != IEEE80211_VHT_MCS_NOT_SUPPORTED) { in ieee80211_vht_cap_ie_to_sta_vht_cap()
259 peer_tx = IEEE80211_VHT_MCS_NOT_SUPPORTED; in ieee80211_vht_cap_ie_to_sta_vht_cap()
260 else if (own_rx < peer_tx) in ieee80211_vht_cap_ie_to_sta_vht_cap()
261 peer_tx = own_rx; in ieee80211_vht_cap_ie_to_sta_vht_cap()
277 vht_cap->vht_mcs.tx_mcs_map |= cpu_to_le16(peer_tx << i * 2); in ieee80211_vht_cap_ie_to_sta_vht_cap()