[PATCH 0/4] multi-role infrastructure support - channel switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



My team and I are working on implementing multi-role on a single phy,
during development we encountered an issue with channel switching events

the current status is that the kernel should send a channel_switch_started 
event (pre-channel switch), however the event is not propagated through hostapd.

the following patches are meant to deal with this situation.

motivation:
As an example, assuming we have a station connected to a far-AP, and the
local-AP is working and transmitting.
Now if the far-AP starts a CSA the process will fail and the station
will disconnect since the local-AP holds the radio's channel.

With this patch, I created an action script that requests a
channel-switch to the same channel as the far-AP upon event received
It works!! (both interfaces changed channel with no disconnects)

In the future a user-space application will manage both interfaces
and the switching scenarios more intelligently, so this patch-set 
is an infrastructure change for that application

Omer Dagan (4):
  add callback for 'channel_switch_started'
  add 'channel_switch_started' event definitions
  added the event to the relevant switch statments
  modified the wpa_cli so the event will be acssible

 src/ap/drv_callbacks.c             | 94 ++++++++++++++++++++++++++++++
 src/common/wpa_ctrl.h              |  2 +
 src/drivers/driver.h               |  6 ++
 src/drivers/driver_common.c        |  1 +
 src/drivers/driver_nl80211_event.c | 76 ++++++++++++++++++++++++
 wpa_supplicant/events.c            | 14 +++++
 wpa_supplicant/wpa_cli.c           |  2 +
 7 files changed, 195 insertions(+)

-- 
2.17.1


_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux