You can follow the recent changes and discussions here on the developer list.

The main issue seems to be how iwinfo does not recognise the physical
limitations of the wifi equipment. Everything is 27dBm (possibly from
CRDA database?) although in reality it is anywhere between 20dBm and
30dBm depending on the device.

Note: I am told this is a limitation of the linux kernel, but I note
that madwifi recognised the hardware capabilities correctly. But then
again I have written a little extension that just spits out the
vendor, id sub-vendor-id and sub-id into dmesg on bootup, I scrape the
output and set the device accordingly using a case switch in a custom
script. A hack to be sure, but I cannot understand why things are
supposedly so hard; I for one do not even code in C properly, I can
only write shell scripts and php code.

Then the hardware offsets which are now coded into trunk in iwinfo are
just simply added to the 27dBm, so you end up with non-sensical power
setting and choices up to 37dBm in some cases.

Then there are a few other things around the edges, like the
recognistion of the Fonera and Meraki devices by MAC addess. Maybe not
clean and purist, but it worked like a charm. Now Luci just looks into
/proc/cpuinfo by default, which holds no good information for atheros
mips devices.

I have a nano2, a pico, pico2 HP, an engenius eoc-1650, a fonera plus,
a fonera 2.0g, and a dir300a, so I have a reasonable cross-section for
testing. And I am sorry to say that device management and power
management and display currently in trunk with ath5k is a mess.

I am happy to continue to test, as things change but until then I am
back to backfire and madwifi.
Sorry for the rant, I am grateful someone is taking an interest, and
yes I know, we all do that in our spare time (me included).

Cheers



On 28 February 2012 09:34, Jonathan Bither <jonbit...@gmail.com> wrote:
> Hanno,
> Do we happen to have a list of known issues so that we can work on getting
> them resolved instead of reverting back to mac80211?
>
>
> On 02/27/2012 03:15 PM, Hanno Schupp wrote:
>>
>> I am not a developer, but I can tell you the ath9k is for b/g/n cards,
>> so that may be the reason. You should use either ath5k or madwifi
>> driver. Personally I found many issues with ath5k integration into
>> openwrt still unresolved in terms of card and device recognition and
>> am consequently in the process to downgrade to madwifi again. Madwifi
>> is no longer developed by the linux open driver project as opposed to
>> ath5k, but the focus and interest of the OpenWrt community has moved
>> on from atheros to ar71xx architecture and thus to ath9k fair and
>> square. As soon as trunk switched one day from madwifi to ath5k on the
>> legacy atheros architecture I started encountering issues - but this
>> is my experience, others may have a different view.
>>
>> On 28 February 2012 09:08, Brian Hutchinson<b.hutch...@gmail.com>  wrote:
>>>
>>> Hi,
>>>
>>> These boxes use to be working but I recently upgraded them to the
>>> latest trunk and now my wireless cards are no longer detected.
>>>
>>> No /etc/config/wireless and trying to generate the file with wifi
>>> detect does nothing.  Not sure what is going on since everything looks
>>> OK.
>>>
>>> lsmod output is at the end of the email.  If I recall, the last build
>>> that was working used madwifi and the version I built from trunk uses
>>> ath9k.  In make menuconfig I remember there was an option for madwifi
>>> but I didn't include it as I didn't think it was needed anymore.  Did
>>> I need that???
>>>
>>> Regards,
>>>
>>> Brian
>>>
>>>
>>> root@OpenWrt:/etc/config# lsmod
>>> Module                  Size  Used by    Tainted: G
>>> ath9k                  88800  0
>>> ohci_hcd               15760  0
>>> ledtrig_usbdev          2032  0
>>> nf_nat_irc               784  0
>>> nf_conntrack_irc        2464  1 nf_nat_irc
>>> nf_nat_ftp               976  0
>>> nf_conntrack_ftp        4416  1 nf_nat_ftp
>>> ipt_MASQUERADE           976  1
>>> iptable_nat             2112  1
>>> nf_nat                  9904  4
>>> nf_nat_irc,nf_nat_ftp,ipt_MASQUERADE,iptable_nat
>>> xt_conntrack            2048  3
>>> xt_CT                   1216  0
>>> xt_NOTRACK               448  0
>>> iptable_raw              560  1
>>> xt_state                 608  0
>>> nf_conntrack_ipv4       3872  6 iptable_nat,nf_nat
>>> nf_defrag_ipv4           624  1 nf_conntrack_ipv4
>>> nf_conntrack           36624 12
>>>
>>> nf_nat_irc,nf_conntrack_irc,nf_nat_ftp,nf_conntrack_ftp,ipt_MASQUERADE,iptable_nat,nf_nat,xt_conntrack,xt_CT,xt_NOTRACK,xt_state,nf_conntrack_ipv4
>>> ehci_hcd               32544  0
>>> pppoe                   7472  0
>>> pppox                   1152  1 pppoe
>>> ipt_REJECT              1808  2
>>> xt_TCPMSS               1824  0
>>> ipt_LOG                 6048  0
>>> xt_comment               400  0
>>> xt_multiport            1104  0
>>> xt_mac                   528  0
>>> xt_limit                 944  1
>>> iptable_mangle           832  1
>>> iptable_filter           624  1
>>> ip_tables               8864  4
>>> iptable_nat,iptable_raw,iptable_mangle,iptable_filter
>>> xt_tcpudp               1632  3
>>> x_tables               10000 18
>>>
>>> ipt_MASQUERADE,iptable_nat,xt_conntrack,xt_CT,xt_NOTRACK,iptable_raw,xt_state,ipt_REJECT,xt_TCPMSS,ipt_LOG,xt_comment,xt_multiport,xt_mac,xt_limit,iptable_mangle,iptable_filter,ip_tables,xt_tcpudp
>>> ppp_async               5952  0
>>> ppp_generic            18544  3 pppoe,pppox,ppp_async
>>> slhc                    4368  1 ppp_generic
>>> ath9k_common            1152  1 ath9k
>>> ath9k_hw              347344  2 ath9k,ath9k_common
>>> ath                    14112  3 ath9k,ath9k_common,ath9k_hw
>>> mac80211              233280  1 ath9k
>>> usbcore                98336  4 ohci_hcd,ledtrig_usbdev,ehci_hcd
>>> usb_common               480  1 usbcore
>>> nls_base                4560  1 usbcore
>>> crc_ccitt                944  1 ppp_async
>>> cfg80211              134320  3 ath9k,ath,mac80211
>>> compat                   688  0
>>> arc4                     768  0
>>> aes_generic            29808  0
>>> crypto_algapi           8976  2 arc4,aes_generic
>>> leds_gpio               1552  0
>>> gpio_button_hotplug     3184  0
>>> _______________________________________________
>>> openwrt-devel mailing list
>>> openwrt-devel@lists.openwrt.org
>>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel@lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
>
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel@lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to