[v2,0/2] Update the channel list if the change in channel flags

Message ID 20230302095551.5510-1-quic_youghand@quicinc.com
Headers
Series Update the channel list if the change in channel flags |

Message

Youghandhar Chintala March 2, 2023, 9:55 a.m. UTC
  There are connection failures in hidden SSID case when the device is with
default reg domain WW.
For WW reg domain most of the 5 GHz channels are passive. When device
listens to the beacon on that channel, the driver is updating its channel
flag but firmware is not aware of it and firmware is not sending probes
on that channels.
Due to this, we are seeing connection failures when the device is tries to
connect with hidden SSID AP.
Whenever the driver detects a channel flag change, send the updated channel
list command to the firmware.

Changes from v1:
 - Added the documentation for notifier call back.
 - Passed channel context as argument for notifier.

Youghandhar Chintala (2):
  wifi: cfg80211: Add beacon hint notifier support
  wifi: ath10k: update the channel list if change in channel flags.

 drivers/net/wireless/ath/ath10k/mac.c | 11 +++++++++++
 include/net/cfg80211.h                |  7 +++++++
 net/wireless/reg.c                    |  5 ++++-
 3 files changed, 22 insertions(+), 1 deletion(-)