I can't get ath5k to load.  This is on openwrt, so I cross compiled,
setting KLIB, KLIB_BUILD, CC, and LD when I did the compat-wireless make.

I'm using compat-wireless-2008-06-13, and my network card is a Ubiquiti
XR2, AR5414 based, which lspci reports as:

00:0c.0 Class 0200: Unknown device 168c:001b (rev 01)

This device more or less works with madwifi, but I wanted to try ath5k.

I grabbed a number of modules from compat-wireless directory, and did
insmod in this order:

crypto_algapi
arc4

cfg80211 (obtained from compat-wireless, not kernel)
mac80211 (obtained from compat-wireless, not kernel)
ieee80211_crypt
ieee80211_crypt_ccmp
ieee80211_crypt_tkip
ieee80211_crypt_wep
ieee80211

ath5k


When I finally insmod ath5k, I get this in dmesg:

ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <author's email address>
ath5k_pci 0000:00:0c.0: registered as 'phy1'
phy1: Selected rate control algorithm 'pid'
phy1: Failed to initialize wep
ath5k phy1: can't register ieee80211 hw
ath5k_pci: probe of 0000:00:0c.0 failed with error -12


After some more research, I found out that the fix for "Failed to initialize wep" and error -12 is to compile mac80211 and cfg80211 into the kernel, not as modules, but when I do that, ieee80211_frequency_to_channel doesn't resolve (required by ath5k). I can't find it in my 2.6.24 kernel tree, and I found a diff for the 2.6.25 kernel that might introduce it. The compat-wireless version provides it, but as I'm now compiling *80211 into the kernel, I'm seeing the error.

Could I get a confirmation on compiling *80211 into the kernel as the fix? Is there a way I can avoid this?




Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
ath5k-users mailing list
[email protected]
https://lists.ath5k.org/mailman/listinfo/ath5k-users

Reply via email to