mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
wifi: mac80211: fetch FILS discovery template by link ID
Currently, the FILS discovery template is always fetched from the default link of a virtual interface in both Multi-Link Operation (MLO) and non-MLO cases. However, in the MLO case there is a need to fetch the FILS discovery template from a specific link instead of the default link. Hence, add support for fetching the FILS discovery template based on the link ID from the corresponding link data. Signed-off-by: Sriram R <[email protected]> Co-developed-by: Raj Kumar Bhagat <[email protected]> Signed-off-by: Raj Kumar Bhagat <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Johannes Berg <[email protected]>
This commit is contained in:
+1
-1
@@ -2012,7 +2012,7 @@ mt7915_mcu_add_inband_discov(struct mt7915_dev *dev, struct ieee80211_vif *vif,
|
||||
|
||||
if (changed & BSS_CHANGED_FILS_DISCOVERY) {
|
||||
interval = vif->bss_conf.fils_discovery.max_interval;
|
||||
skb = ieee80211_get_fils_discovery_tmpl(hw, vif);
|
||||
skb = ieee80211_get_fils_discovery_tmpl(hw, vif, 0);
|
||||
} else if (changed & BSS_CHANGED_UNSOL_BCAST_PROBE_RESP &&
|
||||
vif->bss_conf.unsol_bcast_probe_resp_interval) {
|
||||
interval = vif->bss_conf.unsol_bcast_probe_resp_interval;
|
||||
|
||||
+2
-1
@@ -3454,7 +3454,8 @@ int mt7996_mcu_beacon_inband_discov(struct mt7996_dev *dev,
|
||||
if (changed & BSS_CHANGED_FILS_DISCOVERY &&
|
||||
link_conf->fils_discovery.max_interval) {
|
||||
interval = link_conf->fils_discovery.max_interval;
|
||||
skb = ieee80211_get_fils_discovery_tmpl(hw, vif);
|
||||
skb = ieee80211_get_fils_discovery_tmpl(hw, vif,
|
||||
link_conf->link_id);
|
||||
} else if (changed & BSS_CHANGED_UNSOL_BCAST_PROBE_RESP &&
|
||||
link_conf->unsol_bcast_probe_resp_interval) {
|
||||
interval = link_conf->unsol_bcast_probe_resp_interval;
|
||||
|
||||
Reference in New Issue
Block a user