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

Martin Garbe monomartin at opennet-initiative.de
Thu Jul 3 12:14:10 EDT 2014


On 7/3/14, 7:28 AM, Jacek Kikiewicz wrote:
> Hi,
> 
> I sure selected this option, as I said command 'iw phy phy1 info' does
> in fact show DFS channels, but I just cannot set them for usage...
> 

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
>>   CONFIG_PACKAGE_ATH_DFS=y
>> when compiling the driver? This way you agree to the fact that your
>> hardware supports DFS. After that DFS channels can be selected.
>>
>>
>> Martin
>>
>>> Thanks!
>>> Jacek
>>> _______________________________________________
>>> 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
>> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> _______________________________________________
> 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
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list