~indicator-network-developers/wpasupplicant/trunk

Viewing all changes in revision 18506.

  • Committer: Jouni Malinen
  • Author(s): Pooventhiran G
  • Date: 2023-06-05 08:18:39 UTC
  • Revision ID: git-v1:0837863fbc629800493cfc3d96494a791bb62fbb
AP: Handle 6 GHz AP state machine with NO_IR flags

AP cannot come up in channels that are marked as NO_IR. If AP moves to
HAPD_IFACE_DISABLED state, it will deinitialize the nl80211 driver
interface and sockets.

Hence, introduce a new state called HAPD_IFACE_NO_IR, for 6 GHz APs to
handle NO_IR scenarios, such as AFC, where the channels not allowed by
AFC will have HOSTAPD_CHAN_NO_IR flag set. In this state, AP is still
kept in a non-operational state (stopped) without deinitializing the
nl80211 driver interface. wiphy reg change event can then update the
channels and bring up the AP in a valid channel.

Signed-off-by: Pooventhiran G <quic_pooventh@quicinc.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: