#306: Can't set txpower by iwconfig command
------------------------------------+---------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: dyqith
Type: defect | Status: assigned
Priority: major | Milestone:
Component: madwifi: other | Version: trunk
Resolution: | Keywords: txpower
Patch_attached: 0 |
------------------------------------+---------------------------------------
Comment (by anonymous):
tail -n 50 huh . . .
START UNRELATED RANT
. . . The audacity of the GNU people to trash the syntax of head/tail is
beyond the pale.
After examining a few zillion scripts that run the syntax of the last
*THIRTY FREAKING YEARS*, I just wrote my own compatable one and tossed
theirs in the toilet. Prime example of taking something dirt simple . . .
It make perfect sense to me to break millions of scripts that have been
running for 20+ years for no reason.
END RANT
FYI. On this card (CM6) this will get us in the 'A' band, but the FREQ
set still fails leaving us at 5.18. On the EMP-86xx (I think it was. 5212
chip) it ignores it. On the NTE (A Only) this will accompish nothing.
{{{
[netstation]/tmp<74>!cat
cat madwifi-test
#!/bin/sh
modprobe ath_pci autocreate=none
dmesg | tail -50
wlanconfig ath0 create wlandev wifi0 wlanmode ap
iwconfig ath0
athctrl -i wifi0 -d 300
iwpriv ath0 mode 11a
ifconfig ath0 up
iwconfig ath0 essid CasaFiestaA
iwconfig ath0 channel 161
iwconfig ath0
iwconfig ath0 txpower 25
iwconfig ath0
[netstation]/tmp<75>!.
./madwifi-test
Note: /etc/modules.conf is more recent than
/lib/modules/2.4.31/modules.dep
Warning: loading /lib/modules/2.4.31/misc/ath_hal.o will taint the kernel:
non-GPL license - Proprietary
See http://www.tux.org/lkml/#export-tainted for information about
tainted modules
Module ath_hal loaded, with warnings
Module wlan loaded, with warnings
Module ath_rate_sample loaded, with warnings
Module ath_pci loaded, with warnings
wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x80080000, irq=9
ath_pci: driver unloaded
ath_rate_sample: unloaded
wlan: driver unloaded
ath_hal: driver unloaded
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
wlan: 0.8.4.2 (svn 1500)
ath_rate_sample: 1.2 (svn 1500)
ath_pci: 0.9.4.5 (svn 1500)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x80080000, irq=9
ath_pci: driver unloaded
ath_rate_sample: unloaded
wlan: driver unloaded
ath_hal: driver unloaded
ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413,
RF5413)
wlan: 0.8.4.2 (svn 1500)
ath_rate_sample: 1.2 (svn 1500)
ath_pci: 0.9.4.5 (svn 1500)
wifi0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps
24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboA rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.6 phy 4.1 5ghz radio 1.7 2ghz radio 2.3
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0x80080000, irq=9
ath0
ath0 IEEE 802.11b ESSID:""
Mode:Master Channel:0 Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power:50 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Setting distance on interface wifi0 to 300 meters
ath0 IEEE 802.11a ESSID:"CasaFiestaA"
Mode:Master Frequency:5.18 GHz Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power:14 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device ath0 ; Operation not supported.
ath0 IEEE 802.11a ESSID:"CasaFiestaA"
Mode:Master Frequency:5.18 GHz Access Point: 00:00:00:00:00:00
Bit Rate:0 kb/s Tx-Power:14 dBm Sensitivity=0/3
Retry:off RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=0/94 Signal level=-95 dBm Noise level=-95 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
}}}
--
Ticket URL: <http://madwifi.org/ticket/306>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity