media setting constantly changing and enabling turbo mode

Alexander Best arundel at freebsd.org
Sun Oct 30 19:52:28 UTC 2011


hi there,

is it normal behaviour that for my

ath0: <Atheros 5212> mem 0xf8000000-0xf800ffff irq 19 at device 1.0 on pci5
ath0: AR2413 mac 7.9 RF2413 phy 4.5

device running HEAD on amd64, the media setting under `ifconfig` changes
constantly?

`ifconfig wlan0|grep media:`
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
`ifconfig wlan0|grep media:`
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
`ifconfig wlan0|grep media:`
media: IEEE 802.11 Wireless Ethernet OFDM/18Mbps mode 11g
`ifconfig wlan0|grep media:`
media: IEEE 802.11 Wireless Ethernet OFDM/48Mbps mode 11g

?

also i was wondering, if i can enable turbo mode for this device?
`ifconfig -m wlan0` and `ifconfig wlan list chan` confirm that turbo mode is
available. however the following fails:

`ifconfig wlan0 mediaopt turbo`
ifconfig: SIOCSIFMEDIA (media): Device not configured

setting

ifconfig_wlan0="WPA inet 192.168.1.10 media OFDM/54Mbps mode 11g mediaopt turbo country DE"

in my /etc/rc.conf works and ifconfig(8) does report that my device has been
set into turbo mode ("<turbo>"). however it won't associate. if i remove
"mediaopt turbo" from the "ifconfig_wlan0"-line, everything works like a charm.

cheers.
alex


More information about the freebsd-wireless mailing list