mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 22:58:29 +00:00
iwlwifi: mvm: support multiple BSSID
Set the capabilities flags and inform firmware Signed-off-by: Sara Sharon <sara.sharon@intel.com> Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
This commit is contained in:
parent
81b4e44e41
commit
918cbf39ac
1 changed files with 9 additions and 1 deletions
|
@ -420,6 +420,7 @@ int iwl_mvm_init_fw_regd(struct iwl_mvm *mvm)
|
||||||
|
|
||||||
const static u8 he_if_types_ext_capa_sta[] = {
|
const static u8 he_if_types_ext_capa_sta[] = {
|
||||||
[0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING,
|
[0] = WLAN_EXT_CAPA1_EXT_CHANNEL_SWITCHING,
|
||||||
|
[2] = WLAN_EXT_CAPA3_MULTI_BSSID_SUPPORT,
|
||||||
[7] = WLAN_EXT_CAPA8_OPMODE_NOTIF,
|
[7] = WLAN_EXT_CAPA8_OPMODE_NOTIF,
|
||||||
[9] = WLAN_EXT_CAPA10_TWT_REQUESTER_SUPPORT,
|
[9] = WLAN_EXT_CAPA10_TWT_REQUESTER_SUPPORT,
|
||||||
};
|
};
|
||||||
|
@ -732,6 +733,9 @@ int iwl_mvm_mac_setup_register(struct iwl_mvm *mvm)
|
||||||
hw->wiphy->iftype_ext_capab = he_iftypes_ext_capa;
|
hw->wiphy->iftype_ext_capab = he_iftypes_ext_capa;
|
||||||
hw->wiphy->num_iftype_ext_capab =
|
hw->wiphy->num_iftype_ext_capab =
|
||||||
ARRAY_SIZE(he_iftypes_ext_capa);
|
ARRAY_SIZE(he_iftypes_ext_capa);
|
||||||
|
|
||||||
|
ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
|
||||||
|
ieee80211_hw_set(hw, SUPPORTS_ONLY_HE_MULTI_BSSID);
|
||||||
}
|
}
|
||||||
|
|
||||||
mvm->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
|
mvm->rts_threshold = IEEE80211_MAX_RTS_THRESHOLD;
|
||||||
|
@ -2395,7 +2399,11 @@ static void iwl_mvm_cfg_he_sta(struct iwl_mvm *mvm,
|
||||||
(vif->bss_conf.uora_ocw_range >> 3) & 0x7;
|
(vif->bss_conf.uora_ocw_range >> 3) & 0x7;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TODO: support Multi BSSID IE */
|
if (vif->bss_conf.nontransmitted) {
|
||||||
|
flags |= STA_CTXT_HE_REF_BSSID_VALID;
|
||||||
|
ether_addr_copy(sta_ctxt_cmd.ref_bssid_addr,
|
||||||
|
vif->bss_conf.transmitter_bssid);
|
||||||
|
}
|
||||||
|
|
||||||
sta_ctxt_cmd.flags = cpu_to_le32(flags);
|
sta_ctxt_cmd.flags = cpu_to_le32(flags);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue