mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: Rename EMLSR delay constants and add EMLMR helpers and definitions
In the final version of 802.11be-2024, Transition Delay and Padding Delay subfield are for both EMLSR and EMLMR. Depending if the mode is EMLSR or EMLMR, the interpretation of the encoded value might change. Define all the constants and helpers to interpret delay subfields both in EMLSR and EMLMR mode. Signed-off-by: Pablo Martin-Gomez <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
committed by
Felix Fietkau
parent
ffeb5d8e16
commit
b9e37795e7
+2
-2
@@ -2021,8 +2021,8 @@ mt7925_mcu_sta_eht_mld_tlv(struct sk_buff *skb,
|
||||
|
||||
eml_cap = (vif->cfg.eml_cap & (IEEE80211_EML_CAP_EMLSR_SUPP |
|
||||
IEEE80211_EML_CAP_TRANSITION_TIMEOUT)) |
|
||||
(ext_capa->eml_capabilities & (IEEE80211_EML_CAP_EMLSR_PADDING_DELAY |
|
||||
IEEE80211_EML_CAP_EMLSR_TRANSITION_DELAY));
|
||||
(ext_capa->eml_capabilities & (IEEE80211_EML_CAP_EML_PADDING_DELAY |
|
||||
IEEE80211_EML_CAP_EML_TRANSITION_DELAY));
|
||||
|
||||
if (eml_cap & IEEE80211_EML_CAP_EMLSR_SUPP) {
|
||||
eht_mld->eml_cap[0] = u16_get_bits(eml_cap, GENMASK(7, 0));
|
||||
|
||||
Reference in New Issue
Block a user