All of lore.kernel.org
 help / color / mirror / Atom feed
* [ath9k-devel] compat-wireless
@ 2010-04-08 13:08 Oleh
  2010-04-09  3:33 ` Sujith
  0 siblings, 1 reply; 3+ messages in thread
From: Oleh @ 2010-04-08 13:08 UTC (permalink / raw)
  To: ath9k-devel

  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel]  compat-wireless
  2010-04-08 13:08 [ath9k-devel] compat-wireless Oleh
@ 2010-04-09  3:33 ` Sujith
  2010-04-12 18:07   ` Luis R. Rodriguez
  0 siblings, 1 reply; 3+ messages in thread
From: Sujith @ 2010-04-09  3:33 UTC (permalink / raw)
  To: ath9k-devel

Oleh wrote:
>   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

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ath9k-devel] compat-wireless
  2010-04-09  3:33 ` Sujith
@ 2010-04-12 18:07   ` Luis R. Rodriguez
  0 siblings, 0 replies; 3+ messages in thread
From: Luis R. Rodriguez @ 2010-04-12 18:07 UTC (permalink / raw)
  To: ath9k-devel

On Thu, Apr 08, 2010 at 08:33:49PM -0700, Sujith wrote:
> Oleh wrote:
> >   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
> 
> 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.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-04-12 18:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-04-08 13:08 [ath9k-devel] compat-wireless Oleh
2010-04-09  3:33 ` Sujith
2010-04-12 18:07   ` Luis R. Rodriguez

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.