Skip to content

Commit

Permalink
wifi: mac80211: additions to change_beacon()
Browse files Browse the repository at this point in the history
Process FILS discovery and unsolicited broadcast probe response
transmission configurations in ieee80211_change_beacon().

Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
Reviewed-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Link: https://lore.kernel.org/r/20230727174100.11721-6-quic_alokad@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
  • Loading branch information
Aloka Dixit authored and Johannes Berg committed Sep 13, 2023
1 parent b2d431d commit 6bc5ddb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions net/mac80211/cfg.c
Original file line number Diff line number Diff line change
@@ -1511,6 +1511,19 @@ static int ieee80211_change_beacon(struct wiphy *wiphy, struct net_device *dev,
if (err < 0)
return err;

err = ieee80211_set_fils_discovery(sdata, &params->fils_discovery,
link, link_conf);
if (err < 0)
return err;
changed |= err;

err = ieee80211_set_unsol_bcast_probe_resp(sdata,
&params->unsol_bcast_probe_resp,
link, link_conf);
if (err < 0)
return err;
changed |= err;

if (beacon->he_bss_color_valid &&
beacon->he_bss_color.enabled != link_conf->he_bss_color.enabled) {
link_conf->he_bss_color.enabled = beacon->he_bss_color.enabled;

0 comments on commit 6bc5ddb

Please sign in to comment.