[Berlin-wireless] Fwd: [OpenWrt-Devel] Status of DFS in OpenWrt -> ath9k
ulf kypke
u.kypke
Fr Jul 11 10:11:26 CEST 2014
hi, fyi: dfs support in openwrt:
---------- Forwarded message ----------
From: Martin Garbe <monomartin at opennet-initiative.de>
Date: 2014-07-10 22:27 GMT+02:00
Subject: Re: [OpenWrt-Devel] Status of DFS in OpenWrt -> ath9k
To: openwrt-devel at lists.openwrt.org
Hi Jacek,
summarising all information from the mailinglist the following
configuration should work:
1. select CONFIG_PACKAGE_ATH_DFS=y
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
Martin
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
>>>>>> 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.
>>>>>>
>>>>>>
> _______________________________________________
> 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
--
----------------------------------
Ulf Kypke-Burchardi
Köpenicker Strasse 159
10997 Berlin, Germany
+49 - (0) 177 - 3405152
----------------------------------
-------------- nächster Teil --------------
Ein Dateianhang mit HTML-Daten wurde abgetrennt...
URL: <http://lists.berlin.freifunk.net/pipermail/berlin/attachments/20140711/75d4e99e/attachment.html>
Mehr Informationen über die Mailingliste Berlin