Instant Communication requires user space to track the NAN beacons, so let it register for Rx of beacons on a NAN interface. Assisted-by: GitHubCopilot:claude-opus-5 Signed-off-by: Ilan Peer Signed-off-by: Miri Korenblit --- net/mac80211/main.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net/mac80211/main.c b/net/mac80211/main.c index 7816395681fa..b889d2a7ef75 100644 --- a/net/mac80211/main.c +++ b/net/mac80211/main.c @@ -745,8 +745,13 @@ ieee80211_default_mgmt_stypes[NUM_NL80211_IFTYPES] = { }, [NL80211_IFTYPE_NAN] = { .tx = 0xffff, + /* + * Beacon Rx registration is needed to let user space handle + * service discovery when Instant Communication is enabled. + */ .rx = BIT(IEEE80211_STYPE_ACTION >> 4) | - BIT(IEEE80211_STYPE_AUTH >> 4), + BIT(IEEE80211_STYPE_AUTH >> 4) | + BIT(IEEE80211_STYPE_BEACON >> 4), }, [NL80211_IFTYPE_NAN_DATA] = { .tx = 0xffff, -- 2.55.0