Skip to contentSkip to conversation

Progress on Ath9k HT support on Adhoc mode

ath9k-devel le thanh son 1 participant 1 message Feb 8, 2011

lore
Share & tools
lore
#0 lore raw

Dear All

I have added the patch of HT support in adhoc mode by Alex to compat-wireless-2011-01-24 and other patch on iw tool. My radio card is AR9220 on AR71xx processor board.
The set up is as following:

iw phy phy0 interface add wlan01 type ibss
ifconfig wlan01 up
iw wlan01 ibss join test2 5745 HT40+

There are some issues as follows:
1. It could not get higher MCS. Normally just MCS0 Station 00:xx:xx:xx:xx:ee (on wlan01)

        inactive time:  300 ms                                                  
        rx bytes:       63190                                                   
        rx packets:     1173                                                    
        tx bytes:       11724                                                   
        tx packets:     100                                                     
        tx retries:     0                                                       
        tx failed:      0                                                       
        signal:         -51 dBm                                                 
        signal avg:     -52 dBm                                                 
        tx bitrate:     6.5 MBit/s MCS 0  

2. I tested throughput by iperf, tcp, it shows very low throughput, just about 1.3 Mbps. It means the lowest bit rate is in operation, not higher bit rate (such as MCS 15)

Please not that if I change to AP-STA mode, then immediately the higher MCS schemes activated (normally MCS15), so the signal is quite good.

3. Although I just set up 1 point to point link and expected only ONE adhoc station shown in the output of iw dev wlan0 station dump. But in fact it shows more than one stations ?!

root at OpenWrt:/# iw dev wlan01 station dump
Station 00:xx:xx:xx:xx:22 (on wlan01)

        inactive time:  42740 ms                                                
        rx bytes:       229                                                     
        rx packets:     2                                                       
        tx bytes:       0                                                       
        tx packets:     0                                                       
        tx retries:     0                                                       
        tx failed:      0                                                       
        signal:         -51 dBm                                                 
        signal avg:     -50 dBm                                                 
        tx bitrate:     6.0 MBit/s                                              
Station 00:xx:xx:xx:xx:10 (on wlan01)                                           
        inactive time:  24060 ms                                                
        rx bytes:       470                                                     
        rx packets:     4                                                       
        tx bytes:       0                                                       
        tx packets:     0                                                       
        tx retries:     0                                                       
        tx failed:      0                                                       
        signal:         -50 dBm                                                 
        signal avg:     -51 dBm                                                 
        tx bitrate:     6.0 MBit/s                                              
Station 00:xx:xx:xx:xx:f5 (on wlan01)                                           
        inactive time:  0 ms                                                    
        rx bytes:       7254                                                    
        rx packets:     1499                                                    
        tx bytes:       3412532                                                 
        tx packets:     2411                                                    
        tx retries:     0                                                       
        tx failed:      0                                                       
        signal:         -52 dBm                                                 
        signal avg:     -52 dBm                                                 
        tx bitrate:     6.0 MBit/s                                              
Station 00:xx:xx:xx:xx:ee (on wlan01)                                           
        inactive time:  300 ms                                                  
        rx bytes:       63190                                                   
        rx packets:     1173                                                    
        tx bytes:       11724                                                   
        tx packets:     100                                                     
        tx retries:     0                                                       
        tx failed:      0                                                       
        signal:         -51 dBm                                                 
        signal avg:     -52 dBm                                                 
        tx bitrate:     6.5 MBit/s MCS 0                                        
root at OpenWrt:/# iw dev wlan01 link                                              
Joined IBSS 02:xx:xx:xx:xx:45 (on wlan01)                                       
        SSID: test2                                                             
        freq: 5745                  

The question is whether I set up correctly ? How should I set up ?

Thanks in advance

Le

Quoted 30 lines

Hi all,

I would like to confirm my findings. My test platform configurations are follow.
Board: pcengine alix3d2
Linux kernel: 2.6.35 from linux-wireless git
Driver: compat-wireless-2011-01-17 and iw-0.9.21 with the patch suggested by Alex.
Radio card: Ubiqiti SR71a on channel 36 with HT40+ Measurement tool and settings: Iperf, UDP, 100Mb offered load

Recored throughput: 50-54Mbps (one antenna); 78-80Mbps (two or three antennas).

Any one have idea how I can achieve 100Mbps+ throughput with my current setup?

By the way, I tried to the "[PATCH 1/1] compat-wireless: Fix ath9k debug log issue" patch. However, I am still getting these error logs.

[  228.982367] cfg80211: Found new beacon on frequency: 5180 MHz (Ch 36) 
on phy0
[  229.699391] cfg80211: Found new beacon on frequency: 5745 MHz (Ch 
149) on phy0
[  229.853470] cfg80211: Found new beacon on frequency: 5805 MHz (Ch 
161) on phy0
[  231.971055] wlan0: Trigger new scan to find an IBSS to join
[  232.108921] ath: ce24be20
[  232.112313] ath: ce24be48
Quoted 8 lines
[  232.127773] ath: ce24be04
[  232.200898] ath: ce24be20
[  232.204872] ath: ce24be48
[  232.220331] ath: ce24be04
[  232.292898] ath: ce24be20
[  232.296855] ath: ce24be48
[  232.312308] ath: ce24be04
[  232.384899] ath: ce24be20
[  234.932420] wlan0: Selected IBSS BSSID ae:d9:24:0e:d9:52 based on 
configured SSID
[  236.433296] wlan0: no IPv6 routers present

regards;

Peizhao

Quoted 64 lines · Mohammed Shafi
Quoted 28 lines · Peizhao Hu

Hi Alex,

I am testing the patch. I got the following dmesg message.

I am using compat-wireless-2011-01-17.tar.bz2 and iw-0.9.21.tar.bz2 with both patches. The linux kernel is 2.6.35 from linux-wireless.

[ 7549.786227] wlan0: No active IBSS STAs - trying to scan for other
IBSS networks with same SSID (merge)
[ 7549.925224] ath: cf559e20
[ 7549.928625] ath: cf559e48
[ 7549.944108] ath: cf559e04
[ 7550.073159] ath: cf559e20
[ 7550.077125] ath: cf559e48
[ 7550.092581] ath: cf559e04
[ 7550.277151] ath: cf559e20
[ 7550.281123] ath: cf559e48
[ 7550.296581] ath: cf559e04
[ 7550.369159] ath: cf559e20
[ 7550.373132] ath: cf559e48
[ 7550.388592] ath: cf559e04
[ 7550.461160] ath: cf559e20
[ 7550.465117] ath: cf559e48
[ 7550.480581] ath: cf559e04
[ 7550.553160] ath: cf559e20
[ 7550.557127] ath: cf559e48
[ 7550.572581] ath: cf559e04
[ 7550.701149] ath: cf559e20
Quoted 8 lines
[ 7550.705107] ath: cf559e48
[ 7550.720570] ath: cf559e04
[ 7550.793161] ath: cf559e20
[ 7550.797116] ath: cf559e48
[ 7550.812569] ath: cf559e04
[ 7550.885171] ath: cf559e20
[ 7550.889124] ath: cf559e48
[ 7550.904582] ath: cf559e04

Can you please try with this patch named [PATCH 1/1] compat-wireless:
Fix ath9k debug log issue.

Quoted 25 lines

regards;

Peizhao

Quoted 19 lines · Alexander Simon

Hi there,

i just want to let you know i just released my patch for this on linux- wireless.
http://article.gmane.org/gmane.linux.kernel.wireless.general/63191
I really apreciate any tests/comments/proposals on this!

Regards, Alex

Am Mittwoch, 22. Dezember 2010, 09:25:39 schrieb Robert Chan:

Quoted 9 lines

Hi All,

May I ask whether the HT support (for Adhoc) is already in the trunk?

Thanks.

Regards,

Robert