wifi: cfg80211: call reg_call_notifier on beacon hints
authorAbhishek Kumar <kuabhs@chromium.org>
Thu, 29 Jun 2023 03:52:54 +0000 (03:52 +0000)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 13 Sep 2023 10:34:01 +0000 (12:34 +0200)
commitb13b6bbfbb627884f18982600f7b5a5200652531
tree798c6316a2cb757fb38527e45697f6c05f9b5c0a
parent13ba6794d29ee273c26f26b6c7892797ac9957ae
wifi: cfg80211: call reg_call_notifier on beacon hints

Currently the channel property updates are not propagated to
driver. This causes issues in the discovery of hidden SSIDs and
fails to connect to them.
This change defines a new wiphy flag which when enabled by vendor
driver, the reg_call_notifier callback will be trigger on beacon
hints. This ensures that the channel property changes are visible
to the vendor driver. The vendor changes the channels for active
scans. This fixes the discovery issue of hidden SSID.

Signed-off-by: Abhishek Kumar <kuabhs@chromium.org>
Link: https://lore.kernel.org/r/20230629035254.1.I059fe585f9f9e896c2d51028ef804d197c8c009e@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
include/net/cfg80211.h
net/wireless/reg.c