compat-wireless
Greetings,
I cant change bit rate of wireless connection for TP-LINK TL-WN722N (ath9k_htc driver from compat-wireless-2010-03-28). Here is how it happens, it is always 1 Mb/s but real speed may be higher:
iwconfig wlan1
wlan1 IEEE 802.11bgn ESSID:"TP-LINK"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:D6:73:98
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=38/70 Signal level=-72 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
[root at Glory oleh]# iwconfig wlan1 rate 54M Error for wireless request "Set Bit Rate" (8B20) :
SET failed on device wlan1 ; Operation not supported.
Is it possible to make some magic for this to work a little better?
And I get error when compiling latest compat-wireless driver:
/root/src/compat-wireless-2010-04-07/net/mac80211/main.c: In function
'ieee80211_alloc_hw':
/root/src/compat-wireless-2010-04-07/net/mac80211/main.c:392: error:
implicit declaration of function '__hw_addr_init'
make[3]: *** [/root/src/compat-wireless-2010-04-07/net/mac80211/main.o]
Error 1
make[2]: *** [/root/src/compat-wireless-2010-04-07/net/mac80211] Error 2 make[1]: *** [_module_/root/src/compat-wireless-2010-04-07] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r10'
make: *** [modules] Error 2
System is 2.6.31-gentoo-r10 with gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5), stable tree.
uname -a
Linux Glory 2.6.31-gentoo-r10 #2 SMP Tue Apr 6 17:09:27 Local time zone must be set--see zic m i686 Intel(R) Celeron(R) CPU E1500 @ 2.20GHz GenuineIntel GNU/Linux
gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with:/var/tmp/portage/sys-devel/gcc-4.3.4/work/gcc-4.3.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.3.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.3.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --disable-libgcj --with-arch=i686 --enable-languages=c,c++,treelang,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.3.4 p1.0, pie-10.1.5'
Thread model: posix
gcc version 4.3.4 (Gentoo 4.3.4 p1.0, pie-10.1.5)
Thank You.
Oleh
Quoted 7 lines · Oleh
Greetings,
I cant change bit rate of wireless connection for TP-LINK TL-WN722N (
ath9k_htcdriver from compat-wireless-2010-03-28). Here is how it happens, it is always 1 Mb/s but real speed may be higher:
Quoted 11 lines
iwconfig wlan1
wlan1 IEEE 802.11bgn ESSID:"TP-LINK"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:D6:73:98
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=38/70 Signal level=-72 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Rate control for ath9k_htc is handled by the firmware. So you can't set fixed rate using iwconfig.
The reported TX rate also stays at 1, because the firmware does not report the actual transmission rate.
You can check the actual throughput using iperf.
Sujith
Quoted 20 lines · Sujith
Quoted 7 lines · Oleh
Greetings,
I cant change bit rate of wireless connection for TP-LINK TL-WN722N (
ath9k_htcdriver from compat-wireless-2010-03-28). Here is how it happens, it is always 1 Mb/s but real speed may be higher:Quoted 11 lines
iwconfig wlan1
wlan1 IEEE 802.11bgn ESSID:"TP-LINK"
Mode:Managed Frequency:2.437 GHz Access Point:
00:1D:0F:D6:73:98
Bit Rate=1 Mb/s Tx-Power=20 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=38/70 Signal level=-72 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Quoted 6 lines
Rate control for
ath9k_htcis handled by the firmware. So you can't set fixed rate using iwconfig.The reported TX rate also stays at 1, because the firmware does not report the actual transmission rate.
You can check the actual throughput using iperf.
Hopefully we'll fix this with an eventual release of firmware. But for now a flag seems appropriate for hardware that cannot report proper rate back.
Luis