[OpenWrt-Devel] Status of DFS in OpenWrt -> ath9k

Martin Garbe monomartin at opennet-initiative.de
Thu Jul 10 16:27:03 EDT 2014

Hi Jacek,

summarising all information from the mailinglist the following
configuration should work:

2. if ath9k select CONFIG_ATH_USER_REGD=y
   if ath10k deactivate CONFIG_ATH_USER_REGD
3. compile current OpenWRT trunk
4. Configuration
config wifi-device  radio0
	option type     mac80211
	option channel  104
	option hwmode	11a
	option path	'pci0000:00/0000:00:00.0'
	option htmode	HT20
	option country 'DE'

config wifi-iface
	option device   radio0
	option network  lan
	option mode     ap
	option ssid     OpenWrt
	option encryption none

If this setting does not work for you please do the following.

- on AP exec "wifi down"
- on AP exec "logread -f" (on a second ssh session)
- on AP exec "wifi up"
- send us the log output + "iw phy0 info" output + information about
your hardware


On 7/4/14, 4:29 PM, Jacek Kikiewicz wrote:
> Hello,
> I have CONFIG_PACKAGE_ATH_DFS=y and still cannot use this... any idea how / what should be debugged?
> Jacek
> On 03.07.2014 18:14, Martin Garbe wrote:
>> The command "iw phy ..." only shows hardware capabilities. For DFS
>> hardware AND software support is needed. In OpenWRT you need hostapd to
>> support DFS too. The config parameter CONFIG_PACKAGE_ATH_DFS explicitely
>> activates DFS in hostapd. This parameter is not set by default.
>> For more information see also the patch with comment in git:
>> http://git.openwrt.org/?p=openwrt.git;a=commitdiff;h=5fd90c893f86e88150ea81be7afd337ac1b802aa
>> Regards,
>> Martin
>>>> Jacek
>>>> On 07/02/14 22:50, Martin Garbe wrote:
>>>>>> On 7/1/14, 10:04 AM, Jacek Kikiewicz wrote:
>>>>>>>> Hello,
>>>>>>>> I have few APs that are using ath9k driver, I've read that now DFS is
>>>>>>>> supported on that driver,
>>>>>>>> so I compiled latest revision (yesterday: 41415), and started
>>>>>>>> playing, basically when as per
>>>>>>>> manual / howto I run 'iw phy phy1 info' I can see DFS channels,
>>>>>>>> exactly like in howto on a wiki, problem is however
>>>>>>>> that I cannot make it work on those channels (I've tried 52,56,100,
>>>>>>>> 104), after changing config and restarting wifi
>>>>>>>> I saw in dmesg 'interface wlan1 entered disabled mode) - I tried with
>>>>>>>> HT20 for the beginning.
>>>>>>>> So, question here is, should this work in current state or is there
>>>>>>>> still some support missing?
>>>>>>>> I can pull any logs  / settings that are of interest.
>>>>>> Have you elected
>>>>>> when compiling the driver? This way you agree to the fact that your
>>>>>> hardware supports DFS. After that DFS channels can be selected.
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org

More information about the openwrt-devel mailing list