[PATCH] Trigger channel switch from driver

Shay Bar shay.bar at celeno.com
Thu Dec 3 09:42:31 EST 2020

On 02/12/2020 17:19, Jouni Malinen wrote:
> 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.

Hi Jouni,

Indeed, no upstream driver is currently using it, but we plan to commit 
our new driver (that uses it) to the upstream linux kernel and anyway it 
seems like it can be useful to others.

Should I ping the fixed patch again once we upstream or can you already 
accept it now ?

If the latter, I will publish a fixed patch (with the whitespace damage 
fix and proper nl80211.h documentation)



More information about the Hostap mailing list