MadWiFiNotes

From IckyWiki

Jump to: navigation, search

Contents

Atheros a/b/g mini pci card

lcpci

02:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC (rev 01)
        Subsystem: Unknown device 17ab:8331
        Flags: bus master, medium devsel, latency 168, IRQ 4
        Memory at c0200000 (32-bit, non-prefetchable) [size=64K]
        Capabilities: [44] Power Management version 2

Netconfig under gentoo

Besides the wlanconfig ath0 to make the interface exist, i'm seeing a new problem where it seems like wlanconfig ath0 *, is returning before the interface is fully functional. I'll need to copy down the error next time. The sleep is a work around.

/etc/conf.d/net

preup() {
        if [ "${IFACE}" = "ath0" ]; then
                /usr/local/bin/wlanconfig ath0 create wlandev wifi0 wlanmode sta
                sleep 5
                ifconfig ath0 up
                sleep 5
                return $?
        fi
}

beaconing nonsense i'm seeing

This sorta fixes it so far, now i need to play .. which one fixed it! ;) madwifi-ng from svn, multiple versions

iwpriv

iwpriv ath0 wmm 0
iwpriv ath0 xr 0
iwpriv ath0 burst 0
iwpriv ath0 ar 0
iwpriv ath0 compression 0
iwpriv ath0 turbo 0
iwpriv ath0 bgscan 0   <---- this is the evil one

error message from athdebug

        Capabilities: [44] Power Management version 2

debugs

ath_beacon_config: tsf 1457498420206 tsf:tu 1423338302 intval 100 nexttbtt 1423338400 dtim 100 nextdtim 1423338400 bmiss 7 sleep 100 cfp:period 100 maxdur 0 next 1423338400 timoffset 0
ath_beacon_config: nexttbtt 1423650000 intval 100 (100)
ath_beacon_config: tsf 1457824968674 tsf:tu 1423657197 intval 100 nexttbtt 1423657200 dtim 100 nextdtim 1423657200 bmiss 7 sleep 100 cfp:period 100 maxdur 0 next 1423657200 timoffset 0
ath_beacon_config: nexttbtt 1423657300 intval 100 (100)
Personal tools