Support for scan while in AP mode, and offchannel while in AP mode

Kalle Valo kvalo at qca.qualcomm.com
Mon Aug 18 22:50:50 PDT 2014


Avery Pennarun <apenwarr at gmail.com> writes:

> In the ath9k and several other drivers, commands like the following
> work while in AP mode:
>
>   iw wlan0 scan -u ap-force passive
> and
>   iw wlan0 offchannel 2452  100
>
> On ath10k (using a driver from v3.15-rc1 as of April 13th), these tell
> me the operation is not supported.

Yeah, mac80211 only supports this with sw_scan but ath10k uses hw_scan.
>From ieee80211_alloc_hw():

	if (!ops->hw_scan)
		wiphy->features |= NL80211_FEATURE_LOW_PRIORITY_SCAN |
				   NL80211_FEATURE_AP_SCAN;

> Are there any plans to implement this feature?  It's important in
> order to implement automatic channel change in case of changes in the
> interference environment.

No plans at the moment. Does anyone know how much work would it be to
change mac80211 to support this with hw_scan?

-- 
Kalle Valo



More information about the ath10k mailing list