[PATCH] Trigger channel switch from driver

Jouni Malinen j at w1.fi
Wed Dec 2 10:19:17 EST 2020


On Wed, Aug 26, 2020 at 04:25:30PM +0300, Shay Bar wrote:
> This patch add support for channel switch event from driver to hostap.
> same as can be triggered from US via hostapd_cli chan_switch.
> using the already existing NL80211_CMD_CHANNEL_SWITCH.

Where is this event functionality with NL80211_CMD_CHANNEL_SWITCH
defined? nl80211.h documentation for this seems to be discussing only
the direction of user space requesting the driver to switch channels.
Furthermore, I don't see any examples of this command being used in an
event in the upstream Linux kernel. The nl80211.h documentation should
be updated to describe this case before implementing it in hostapd. In
addition, the patch here is whitespace damaged and does not apply due to
that.

-- 
Jouni Malinen                                            PGP id EFC895FA



More information about the Hostap mailing list