Subject: atheros cardbus question
To: None <current-users@NetBSD.org>
From: Andy Pyles <apyles@samar.homeunix.com>
List: current-users
Date: 11/13/2003 22:09:41
I'm running a -current kernel from about a week ago and am trying to get
my atheros card to work. 

With this kernel I am able to recognize my atheros card ok, however I 
am not able to send/receive any data. Am I missing a configuration option?

I am configuring as follows :

ifconfig ath0 nwid 1234 nwkey ********  ; ifconfig ath0 nwkey persist:******** up

Which is is able to contact my 3com 80211b router and I can tell it is authenticating correctly. however I am not able to send any packets. By running debug on router, I am not seeing any packets coming to/from my card. 

Is there something else I need to add to my kernel? 


I have compiled my kernel (essentially DR-EVIL) with only adding the one line:

# atheros card
ath*    at cardbus? function ?

However as you can see the rest of the wireless devices are commented out.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# PCMCIA network interfaces
#awi*   at pcmcia? function ?           # BayStack 650/660 (802.11FH/DS)
#cnw*   at pcmcia? function ?           # Xircom/Netwave AirSurfer
ep*     at pcmcia? function ?           # 3Com 3c589 and 3c562 Ethernet
#mbe*   at pcmcia? function ?           # MB8696x based Ethernet
ne*     at pcmcia? function ?           # NE2000-compatible Ethernet
ray*    at pcmcia? function ?           # Raytheon RayLink (802.11)
sm*     at pcmcia? function ?           # Megahertz Ethernet
#wi*    at pcmcia? function ?           # Lucent/Intersil WaveLan IEEE (802.11)
xi*     at pcmcia? function ?           # Xircom CreditCard Ethernet

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

From dmesg:


ath0 at cardbus1 dev0 function 0ath0: waking up from power state D-973062144
ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24 Mbps 36Mbps 36Mbps 48Mbps 54Mbps
ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
ath0: turbo rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
ath0: 802.11 address: xxxxxxxxxxxxxxxxxxxx