Misc: Hello All!

I have a Soekris 4501 system running 4.3-release that I'm using as a
wireless access point to my home network.  The card I am using is a
Winstron CM9 with the Atheros AR5213 chipset.  According to the ath
manpage the CM9 is supported but only the version with the AR5212
chipset.  I can get the card to run correctly in 802.11b mode as a
hostap and I am able to connect different clients successfully.

Here's the relevant lines from my dmesg (the rest is attached at the
end of the message):

ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:37:a4:20

I have physically confirmed that the Winstron CM9 is using the AR5213
chipset.  The following numbers are found etched into the top:

Atheros
AR5213A-00
B32969C
0540
CHINA

My /etc/hostname.ath0 looks like this:

#cat /etc/hostname.ath0
inet 10.0.0.1 255.255.255.0 NONE media OFDM54 mediaopt hostap \
nwid wireless nwkey secret_key123 chan 6

which generates the following card settings:

# ifconfig ath0
ath0: flags=8963<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST>
mtu 1500
        lladdr 00:0b:6b:37:a4:20
        groups: wlan
        media: IEEE802.11 OFDM54 hostap (autoselect mode 11a hostap)
        status: active
        ieee80211: nwid wireless chan 6 bssid 00:0b:6b:37:a4:20 nwkey
secret_key123
        inet6 fe80::20b:6bff:fe37:a420%ath0 prefixlen 64 scopeid 0x1
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255

The media mode is apparently at 802.11a/g 54Mbps but the card defaults
to 802.11a.  I don't have any clients that support 802.11a so I can
not test this setting.  If I manually issue a 'ifconfig ath0 mode 11g'
I do not get any errors to the console or to /var/log/messages but the
settings do not change.  If I change my /etc/hostname.ath0 by adding
the 'mode 11g' specification to try and force 802.11g it still doesn't
work; like so:

inet 10.0.0.1 255.255.255.0 NONE media OFDM54 mediaopt mode 11g hostap  \
nwid stupid_wireless nwkey secret_key123 chan 6

or

inet 10.0.0.1 255.255.255.0 NONE media OFDM54 mediaopt hostap mode 11g  \
nwid stupid_wireless nwkey secret_key123 chan 6

I get the following error and card settings (in both cases):

ifconfig: SIOCSIFMEDIA: Invalid argument
# ifconfig ath0
ath0: flags=8922<BROADCAST,NOTRAILERS,PROMISC,SIMPLEX,MULTICAST> mtu 1500
        lladdr 00:0b:6b:37:a4:20
        groups: wlan
        media: IEEE802.11 autoselect (DS1)
        status: no network
        ieee80211: nwid wireless chan 6 nwkey secret_key123

Here's the output of all the available media settings for my card:

ifconfig -m ath0
ath0: flags=8963<UP,BROADCAST,NOTRAILERS,RUNNING,PROMISC,SIMPLEX,MULTICAST>
mtu 1500
        lladdr 00:0b:6b:37:a4:20
        groups: wlan
        media: IEEE802.11 autoselect mode 11b hostap
        status: active
        ieee80211: nwid wireless chan 6 bssid 00:0b:6b:37:a4:20 nwkey
<not displayed>
        supported media:
                media autoselect
                media autoselect mediaopt ibss
                media autoselect mediaopt hostap
                media autoselect mediaopt monitor
                media autoselect mode 11a
                media autoselect mode 11a mediaopt ibss
                media autoselect mode 11a mediaopt hostap
                media autoselect mode 11a mediaopt monitor
                media OFDM6 mode 11a
                media OFDM6 mode 11a mediaopt ibss
                media OFDM6 mode 11a mediaopt hostap
                media OFDM6 mode 11a mediaopt monitor
                media OFDM9 mode 11a
                media OFDM9 mode 11a mediaopt ibss
                media OFDM9 mode 11a mediaopt hostap
                media OFDM9 mode 11a mediaopt monitor
                media OFDM12 mode 11a
                media OFDM12 mode 11a mediaopt ibss
                media OFDM12 mode 11a mediaopt hostap
                media OFDM12 mode 11a mediaopt monitor
                media OFDM18 mode 11a
                media OFDM18 mode 11a mediaopt ibss
                media OFDM18 mode 11a mediaopt hostap
                media OFDM18 mode 11a mediaopt monitor
                media OFDM24 mode 11a
                media OFDM24 mode 11a mediaopt ibss
                media OFDM24 mode 11a mediaopt hostap
                media OFDM24 mode 11a mediaopt monitor
                media OFDM36 mode 11a
                media OFDM36 mode 11a mediaopt ibss
                media OFDM36 mode 11a mediaopt hostap
                media OFDM36 mode 11a mediaopt monitor
                media OFDM48 mode 11a
                media OFDM48 mode 11a mediaopt ibss
                media OFDM48 mode 11a mediaopt hostap
                media OFDM48 mode 11a mediaopt monitor
                media OFDM54 mode 11a
                media OFDM54 mode 11a mediaopt ibss
                media OFDM54 mode 11a mediaopt hostap
                media OFDM54 mode 11a mediaopt monitor
                media autoselect mode 11b
                media autoselect mode 11b mediaopt ibss
                media autoselect mode 11b mediaopt hostap
                media autoselect mode 11b mediaopt monitor
                media DS1 mode 11b
                media DS1 mode 11b mediaopt ibss
                media DS1 mode 11b mediaopt hostap
                media DS1 mode 11b mediaopt monitor
                media DS2 mode 11b
                media DS2 mode 11b mediaopt ibss
                media DS2 mode 11b mediaopt hostap
                media DS2 mode 11b mediaopt monitor
                media DS5 mode 11b
                media DS5 mode 11b mediaopt ibss
                media DS5 mode 11b mediaopt hostap
                media DS5 mode 11b mediaopt monitor
                media DS11 mode 11b
                media DS11 mode 11b mediaopt ibss
                media DS11 mode 11b mediaopt hostap
                media DS11 mode 11b mediaopt monitor
                media OFDM6
                media OFDM6 mediaopt ibss
                media OFDM6 mediaopt hostap
                media OFDM6 mediaopt monitor
                media OFDM9
                media OFDM9 mediaopt ibss
                media OFDM9 mediaopt hostap
                media OFDM9 mediaopt monitor
                media OFDM12
                media OFDM12 mediaopt ibss
                media OFDM12 mediaopt hostap
                media OFDM12 mediaopt monitor
                media OFDM18
                media OFDM18 mediaopt ibss
                media OFDM18 mediaopt hostap
                media OFDM18 mediaopt monitor
                media OFDM24
                media OFDM24 mediaopt ibss
                media OFDM24 mediaopt hostap
                media OFDM24 mediaopt monitor
                media OFDM36
                media OFDM36 mediaopt ibss
                media OFDM36 mediaopt hostap
                media OFDM36 mediaopt monitor
                media OFDM48
                media OFDM48 mediaopt ibss
                media OFDM48 mediaopt hostap
                media OFDM48 mediaopt monitor
                media OFDM54
                media OFDM54 mediaopt ibss
                media OFDM54 mediaopt hostap
                media OFDM54 mediaopt monitor
                media DS1
                media DS1 mediaopt ibss
                media DS1 mediaopt hostap
                media DS1 mediaopt monitor
                media DS2
                media DS2 mediaopt ibss
                media DS2 mediaopt hostap
                media DS2 mediaopt monitor
                media DS5
                media DS5 mediaopt ibss
                media DS5 mediaopt hostap
                media DS5 mediaopt monitor
                media DS11
                media DS11 mediaopt ibss
                media DS11 mediaopt hostap
                media DS11 mediaopt monitor
        inet6 fe80::20b:6bff:fe37:a420%ath0 prefixlen 64 scopeid 0x1
        inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255

As far as I can tell there is no available mode that supports a
802.11g hostap option for this chipset.  At least one other user has
confirmed the same problem.  I understand that some substantial work
is being done on the ath driver in preparation for 4.4 and I am
wondering if full support for 802.11g with the AR5213 chipset is in
the works? (WPA/WPA2 support would also be phenomenal)  If there is
any information I can furnish to the responsible party that would be
helpful I'd be happy to do so.

Thanks.
   - Kevin Elliott

OpenBSD 4.3 (GENERIC) #698: Wed Mar 12 11:07:05 MDT 2008
    [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Am486DX4 W/B or Am5x86 W/B 150 ("AuthenticAMD" 486-class)
cpu0: FPU
real mem  = 66678784 (63MB)
avail mem = 55398400 (52MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 20/50/27, BIOS32 rev. 0 @ 0xf7840
pcibios0 at bios0: rev 2.0 @ 0xf0000/0x10000
pcibios0: pcibios_get_intr_routing - function not supported
pcibios0: PCI IRQ Routing information unavailable.
pcibios0: PCI bus #0 is the last bus
bios0: ROM list: 0xc8000/0x9000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (bios)
elansc0 at pci0 dev 0 function 0 "AMD ElanSC520 PCI" rev 0x00: product
0 stepping 1.1, CPU clock 133MHz, reset 0
gpio0 at elansc0: 32 pins
ath0 at pci0 dev 16 function 0 "Atheros AR5212" rev 0x01: irq 10
ath0: AR5213 5.9 phy 4.3 rf5112a 3.6, FCC2A*, address 00:0b:6b:37:a4:20
sis0 at pci0 dev 18 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 11, address 00:00:24:c6:4d:ec
nsphyter0 at sis0 phy 0: DP83815 10/100 PHY, rev. 1
sis1 at pci0 dev 19 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 5, address 00:00:24:c6:4d:ed
nsphyter1 at sis1 phy 0: DP83815 10/100 PHY, rev. 1
sis2 at pci0 dev 20 function 0 "NS DP83815 10/100" rev 0x00, DP83816A:
irq 9, address 00:00:24:c6:4d:ee
nsphyter2 at sis2 phy 0: DP83815 10/100 PHY, rev. 1
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
wdc0 at isa0 port 0x1f0/8 irq 14
wd0 at wdc0 channel 0 drive 0: <SanDisk SDCFH2-004G>
wd0: 4-sector PIO, LBA, 3919MB, 8027712 sectors
wd0(wdc0:0:0): using BIOS timings
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
biomask f1c5 netmask ffe5 ttymask ffe7
softraid0 at root
root on wd0a swap on wd0b dump on wd0b


-- 

"Hope in reality is the worst of all evils because it prolongs the
torments of man."

 -Nietzsche

Reply via email to