net80211-update test

Thomas Nikolajsen thomas.nikolajsen at mail.dk
Sun Feb 28 12:33:03 PST 2010


As I saw request for test of ath(4) on irc,
I did some test of Atheros 5212 (in my laptop).

This device has worked perfectly in DragonFly for several years,
as it also does in rpaulo's net80211-update branch from leaf.
(used docs from freebsd; not yet in branch above)

Until now only tested wlanmode sta, using wpa & dhcp;
but I have used it a few days now, with some network activity,
e.g. NFS use for updating kernel (/usr/obj).

Interesting with all the new features;
thanks for the effort, looking forward to see it committed.

I had a minor issue building kernel (WIRELESS), which was solved w/ patch below.

 -thomas

 - pciconf
ath0 at pci0:2:2:0:        class=0x020000 card=0x04081468 chip=0x0013168c rev=0x01 hdr=0x00
    vendor     = 'Atheros Communications Inc.'
    device     = 'AR5212 802.11a/b/g Wireless Adapter'
    class      = network

 - dmesg
ath0: <Atheros 5212> mem 0xc0210000-0xc021ffff irq 5 at device 2.0 on pci2
ath0: AR5212 mac 5.9 RF2112 phy 4.3

 - patch
diff --git a/sys/netproto/802_11/ieee80211_dragonfly.h b/sys/netproto/802_11/ieeindex 6f44bde..4821cb7 100644
--- a/sys/netproto/802_11/ieee80211_dragonfly.h
+++ b/sys/netproto/802_11/ieee80211_dragonfly.h
@@ -536,4 +536,7 @@ struct ieee80211_bpf_params {
        uint8_t         ibp_try3;       /* series 4 try count */
        uint8_t         ibp_rate3;      /* series 4 IEEE tx rate */
 };
+
+int ieee80211_handoff(struct ifnet *dst_ifp, struct mbuf *m);
+
 #endif /* _NET80211_IEEE80211_DRAGONFLY_H_ */






More information about the Submit mailing list