mirror of
https://github.com/torvalds/linux.git
synced 2026-07-28 10:09:10 +02:00
wifi: iwlwifi: mld: add UHR DUO support
The firmware needs to know whether or not DUO (assisting) is supported by the AP, and we should claim DUO support ourselves. Implement this. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Link: https://patch.msgid.link/20260515150751.c006eda0139a.I2b1b540c256d29b3b6af21f7eacbe1f549734e9f@changeid Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
This commit is contained in:
parent
6f55c4f3ca
commit
e9308657a4
|
|
@ -556,6 +556,7 @@ enum iwl_link_ctx_protection_flags {
|
|||
* of threshold
|
||||
* @LINK_FLG_NPCA: NPCA enabled
|
||||
* @LINK_FLG_DPS: AP is a DPS assisting AP
|
||||
* @LINK_FLG_DUO: AP supports UHR DUO
|
||||
*/
|
||||
enum iwl_link_ctx_flags {
|
||||
LINK_FLG_BSS_COLOR_DIS = BIT(0),
|
||||
|
|
@ -564,6 +565,7 @@ enum iwl_link_ctx_flags {
|
|||
LINK_FLG_NDP_FEEDBACK_ENABLED = BIT(3),
|
||||
LINK_FLG_NPCA = BIT(4),
|
||||
LINK_FLG_DPS = BIT(6),
|
||||
LINK_FLG_DUO = BIT(8),
|
||||
}; /* LINK_CONTEXT_FLAG_E_VER_1 */
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -698,6 +698,7 @@ static const struct ieee80211_sband_iftype_data iwl_iftype_cap[] = {
|
|||
.mac.mac_cap = {
|
||||
[0] = IEEE80211_UHR_MAC_CAP0_NPCA_SUPP |
|
||||
IEEE80211_UHR_MAC_CAP0_DPS_SUPP,
|
||||
[1] = IEEE80211_UHR_MAC_CAP1_DUO_SUPP,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -347,6 +347,11 @@ iwl_mld_change_link_in_fw(struct iwl_mld *mld, struct ieee80211_bss_conf *link,
|
|||
link_sta->uhr_cap.mac.mac_cap[0] &
|
||||
IEEE80211_UHR_MAC_CAP0_DPS_ASSIST_SUPP)
|
||||
flags |= LINK_FLG_DPS;
|
||||
|
||||
if (link_sta->uhr_cap.has_uhr &&
|
||||
link_sta->uhr_cap.mac.mac_cap[1] &
|
||||
IEEE80211_UHR_MAC_CAP1_DUO_SUPP)
|
||||
flags |= LINK_FLG_DUO;
|
||||
}
|
||||
|
||||
cmd.htc_trig_based_pkt_ext = link->htc_trig_based_pkt_ext;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user