Modify

Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#7670 closed task (no_response)

about ath9k performance. STA(WDS) and AP (WDS) bridge mode.

Reported by: sniperpr@… Owned by: developers
Priority: low Milestone: Backfire 10.03.1
Component: kernel Version: Backfire 10.03
Keywords: ath9k bridge slow Cc:

Description

Why ath9k AP performance as high
Bridge the two routers do it very slowly.
AP client laptop connection speeds can be up to 150Mbps, although the bridge mode connection is MCS15, but speed is only 20Mbps.

thanks.

Attachments (1)

file.rar (101.2 KB) - added by sniperpr@… 7 years ago.
chariot

Download all attachments as: .zip

Change History (14)

comment:1 Changed 8 years ago by jow

I believe this is fixed by r22302

comment:2 Changed 8 years ago by anonymous

no,r22302, AP and STA did not fix slow speed link.
AP and STA are WDS mode.

thanks your Reply.

comment:3 Changed 8 years ago by nbd

I have no idea what the description is supposed to mean. Could you please rephrase and give some details on your setup?
It might be helpful to copy&paste the network and wireless configs from both ends.

Changed 7 years ago by sniperpr@…

chariot

comment:4 Changed 7 years ago by sniperpr@…

thanks nbd reply.

cat /etc/config/wireless
config wifi-device radio0

option type mac80211
option channel 157
option macaddr 00:80:48:62:4b:98[[BR]]
option hwmode 11na
option htmode HT40+
list ht_capab SHORT-GI-40
list ht_capab TX-STBC
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40

config wifi-iface

option device radio0
option network lan
option mode ap
option ssid lue
option encryption none
option wds 1





cat /etc/config/wireless

config wifi-device radio0

option type mac80211
option channel 157
option macaddr 00:80:48:62:4b:98[[BR]]
option hwmode 11na
option htmode HT40+
list ht_capab SHORT-GI-40
list ht_capab TX-STBC
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40

config wifi-iface

option device radio0
option network lan
option mode ap
option ssid lue
option encryption none
option wds 1

point 1 192.168.0.57
point 2 192.168.0.34
AP1 ar7130,atheros 9220
STA1 AR7130,atheros 9220.
Switch 100M


point 1 ============== STA1 ---------- AP1 ================point 2

please check my files.
i'm user Chariot test it.

Now speed is 84.081Mbps. but Bridge Mode below the single AP mode.

thanks. :-)

comment:5 Changed 7 years ago by anonymous

thanks nbd reply.

cat /etc/config/wireless
config wifi-device radio0

option type mac80211
option channel 157
option macaddr 00:80:48:62:4b:98[[BR]]
option hwmode 11na
option htmode HT40+
list ht_capab SHORT-GI-40
list ht_capab TX-STBC
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40

config wifi-iface

option device radio0
option network lan
option mode ap
option ssid lue
option encryption none
option wds 1





cat /etc/config/wireless

config wifi-device radio0

option type mac80211
option channel 157
option macaddr 00:80:48:62:4b:98[[BR]]
option hwmode 11na
option htmode HT40+
list ht_capab SHORT-GI-40
list ht_capab TX-STBC
list ht_capab RX-STBC1
list ht_capab DSSS_CCK-40

config wifi-iface

option device radio0
option network lan
option mode ap
option ssid lue
option encryption none
option wds 1

point 1 192.168.0.57

point 2 192.168.0.34

AP1 ar7130,atheros 9220

STA1 AR7130,atheros 9220.

Switch 100M

#------ wirless link

point 1 ============== STA1 ---------- AP1 ================point 2

please check my files.
i'm user Chariot test it.

Now speed is 84.081Mbps. but Bridge Mode below the single AP mode.

thanks. :-)

comment:6 Changed 7 years ago by nbd

Please show me the output of 'cat /sys/kernel/debug/ieee80211/phy*/stations/*/rc_stats' on the AP and the STA

comment:7 Changed 7 years ago by anonymous

I'm also seeing this on the wndr3700 on a fresh r22522 off trunk. The throughput drops to about 10% over the STA link. Master AP is a Time Capsule and has a healthy 1.7Mb/s off the WAN when connecting wirelessly directly to it. Wget on the OpenWRT, on the other hand, sees barely 100kb/s.

iwconfig says

wlan0     IEEE 802.11bgn  ESSID:"sekret"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:1F:F3:C3:BA:EA   
          Bit Rate=78 Mb/s   Tx-Power=20 dBm   
          RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=54/70  Signal level=-56 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Wireless conf

config wifi-device  radio0
	option type     mac80211
	option channel  10
        option country  NO
	option macaddr	30:46:9a:0b:8a:bd
	option hwmode	11ng
	option htmode	HT20
	list ht_capab	SHORT-GI-40
	list ht_capab	TX-STBC
	list ht_capab	RX-STBC1
	list ht_capab	DSSS_CCK-40
	option disabled 0

config wifi-iface
	option device   radio0
	option network  wan
        option 'mode' 'sta'
        option 'ssid' 'sekret'
	option 'encryption' 'psk2+tkip'
        option 'key' 'sekret'

little else as been changed from the build apart from tying the wan to wlan0.

comment:8 Changed 7 years ago by anonymous

Changing to psk2+aes had no effect I'm afraid.

here's the rc_stats off PHY0. PHY1 doesn't have anything in stations:

type      rate     throughput  ewma prob   this prob  this succ/attempt   success    attempts
HT20/LGI   PMCS0        0.0        0.0        0.0          0(  0)          0          27
HT20/LGI    MCS1        0.0        0.0        0.0          0(  0)          0          24
HT20/LGI    MCS2        0.0        0.0        0.0          0(  0)          0          20
HT20/LGI    MCS3        0.0        0.0        0.0          0(  0)          0          24
HT20/LGI    MCS4        0.0        0.0        0.0          0(  0)          0          24
HT20/LGI    MCS5        0.0        0.0        0.0          0(  0)          0          22
HT20/LGI    MCS6        0.0        0.0        0.0          0(  0)          0          22
HT20/LGI    MCS7        0.0        0.0        0.0          0(  2)          0          22
HT20/LGI    MCS8       11.7      100.0      100.0          0(  0)         10          10
HT20/LGI    MCS9       20.8      100.0      100.0          0(  0)         12          12
HT20/LGI    MCS10      28.0      100.0      100.0          0(  0)         19          19
HT20/LGI    MCS11      33.7      100.0      100.0          0(  0)         11          11
HT20/LGI    MCS12      42.5       98.7      100.0          0(  0)         20          21
HT20/LGI  t MCS13      49.0       99.9      100.0          0(  0)         98          99
HT20/LGI T  MCS14      52.0       99.9      100.0          2(  2)        133         138
HT20/LGI    MCS15      40.7       74.9       50.0          0(  0)        355         371

Total packet count::    ideal 475      lookaround 184
Average A-MPDU length: 1.0

comment:9 Changed 7 years ago by sniperpr

thanks all.

AP

type      rate     throughput  ewma prob   this prob  this succ/attempt   success    attempts
HT20/LGI    MCS0        6.1       98.3      100.0          0(  0)         63          67
HT20/LGI    MCS1       11.7       99.8      100.0          0(  0)        109         116
HT20/LGI    MCS2       15.4       93.2      100.0          0(  0)         98         109
HT20/LGI    MCS3       20.1       96.8      100.0          0(  0)        111         117
HT20/LGI    MCS4       27.7       98.9      100.0          0(  0)         78          81
HT20/LGI    MCS5       33.3       98.8      100.0          0(  0)         81          85
HT20/LGI    MCS6       33.3       92.1      100.0          0(  0)        109         121
HT20/LGI    MCS7       39.0       99.9      100.0          0(  0)        237         260
HT20/LGI    MCS8       11.5       98.3      100.0          0(  0)        121         130
HT20/LGI    MCS9       20.4       97.9      100.0          0(  0)        133         148
HT20/LGI    MCS10      27.5       98.2      100.0          0(  0)         89          93
HT20/LGI    MCS11      31.9       94.5      100.0          0(  0)         59          65
HT20/LGI    MCS12      42.9       99.6      100.0          0(  0)        119         123
HT20/LGI    MCS13      45.3       92.4      100.0          0(  0)         78          85
HT20/LGI    MCS14      51.5       98.9      100.0          0(  0)         82          89
HT20/LGI    MCS15      53.8       99.1      100.0          0(  0)         94         101
HT40/LGI    MCS0       12.1       99.5      100.0          0(  0)        113         124
HT40/LGI    MCS1       21.3       99.0      100.0          0(  0)        108         115
HT40/LGI    MCS2       27.1       94.3      100.0          0(  0)        112         121
HT40/LGI    MCS3       33.7       97.1      100.0          0(  0)         71          78
HT40/LGI    MCS4       43.7       99.7      100.0          0(  0)        117         126
HT40/LGI    MCS5       46.7       93.5      100.0          0(  0)        104         109
HT40/LGI    MCS6       53.0       99.6      100.0          0(  0)        102         112
HT40/LGI   PMCS7       55.4       99.8      100.0          0(  0)        120         129
HT40/LGI    MCS8       19.4       90.1      100.0          0(  0)         80          87
HT40/LGI    MCS9       31.9       91.9      100.0          0(  0)        100         110
HT40/LGI    MCS10      43.3       98.8      100.0          0(  0)        103         110
HT40/LGI    MCS11      49.5       99.1      100.0          0(  0)         81          87
HT40/LGI    MCS12      57.9       97.2      100.0          0(  0)         85          93
HT40/LGI  t MCS13      64.0       99.9      100.0          0(  0)       2360        2531
HT40/LGI T  MCS14      67.5       99.9      100.0          2(  2)      46991       50899
HT40/LGI    MCS15      59.9       86.3      100.0          0(  0)     506949      550392
HT40/SGI    MCS0       13.3       99.9      100.0          0(  0)         77          83
HT40/SGI    MCS1       20.6       88.7      100.0          0(  0)         80          90
HT40/SGI    MCS2       30.3       98.5      100.0          0(  0)         91          99
HT40/SGI    MCS3       33.4       90.4      100.0          0(  0)         74          83
HT40/SGI    MCS4       37.8       81.8      100.0          0(  0)         70          76
HT40/SGI    MCS5       51.9       99.1      100.0          0(  0)         80          83
HT40/SGI    MCS6       51.6       92.9      100.0          0(  0)         80          85
HT40/SGI    MCS7       55.0       95.2      100.0          0(  0)        151         165
HT40/SGI    MCS8       22.0       94.4      100.0          0(  0)         92          97
HT40/SGI    MCS9       37.0       99.9      100.0          0(  0)         85          86
HT40/SGI    MCS10      45.3       98.0      100.0          0(  0)         87          92
HT40/SGI    MCS11      49.4       94.3      100.0          0(  0)         81          85
HT40/SGI    MCS12      57.0       92.4      100.0          0(  0)        214         230
HT40/SGI    MCS13      57.6       87.6      100.0          0(  0)         82         151
HT40/SGI    MCS14      56.5       81.4      100.0          0(  0)      45384       54146
HT40/SGI    MCS15      53.9       76.1       23.0          0(  0)     530500      607486

Total packet count::    ideal 1122771      lookaround 14267
Average A-MPDU length: 1.0




ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:80:48:5C:53:F8
          inet addr:192.168.0.59  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1631 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:154046 (150.4 KiB)  TX bytes:1350 (1.3 KiB)

eth0      Link encap:Ethernet  HWaddr 00:80:48:5C:53:F8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1137786 errors:0 dropped:0 overruns:0 frame:0
          TX packets:979165 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1269659619 (1.1 GiB)  TX bytes:904889766 (862.9 MiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:224 (224.0 B)  TX bytes:224 (224.0 B)

mon.wlan0 Link encap:UNSPEC  HWaddr 00-80-48-62-4B-98-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:18 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:8831 (8.6 KiB)  TX bytes:0 (0.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:80:48:62:4B:98
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1613 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:202847 (198.0 KiB)

wlan0.sta Link encap:Ethernet  HWaddr 00:80:48:62:4B:98
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:979162 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1137693 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:904889256 (862.9 MiB)  TX bytes:1299221391 (1.2 GiB)

STA

 cat /sys/kernel/debug/ieee80211/phy0/stations/00\:80\:48\:62\:4b\:98/rc_stats
type      rate     throughput  ewma prob   this prob  this succ/attempt   success    attempts
HT20/LGI    MCS0        6.2       99.1      100.0          0(  0)        111         116
HT20/LGI    MCS1       11.7       99.5      100.0          0(  0)         73          77
HT20/LGI    MCS2       15.5       94.1      100.0          0(  0)        106         115
HT20/LGI    MCS3       20.6       99.1      100.0          0(  0)         98         109
HT20/LGI    MCS4       26.0       92.8       75.0          0(  0)         72          79
HT20/LGI    MCS5       32.8       97.3      100.0          0(  0)         86          92
HT20/LGI    MCS6       36.1       99.7      100.0          0(  0)        159         166
HT20/LGI    MCS7       38.0       97.3      100.0          0(  0)        265         288
HT20/LGI    MCS8       10.7       91.2      100.0          0(  0)        138         147
HT20/LGI    MCS9       20.8       99.9      100.0          0(  0)        117         123
HT20/LGI    MCS10      26.1       92.9      100.0          0(  0)        116         126
HT20/LGI    MCS11      33.2       98.4      100.0          0(  0)        112         119
HT20/LGI    MCS12      42.2       97.9      100.0          0(  0)         90          99
HT20/LGI    MCS13      47.4       96.9      100.0          0(  0)         98         103
HT20/LGI    MCS14      46.0       88.4      100.0          0(  0)         75          83
HT20/LGI    MCS15      53.9       99.3      100.0          0(  0)        143         148
HT40/LGI    MCS0       11.9       97.9      100.0          0(  0)        154         165
HT40/LGI    MCS1       19.7       91.7       75.0          0(  0)        182         203
HT40/LGI    MCS2       28.2       98.1      100.0          0(  0)        142         153
HT40/LGI    MCS3       34.6       99.9      100.0          0(  0)        108         120
HT40/LGI    MCS4       40.2       91.6      100.0          0(  0)         85          92
HT40/LGI    MCS5       48.3       96.7      100.0          0(  0)        125         138
HT40/LGI    MCS6       52.9       99.5      100.0          0(  0)         75          77
HT40/LGI    MCS7       55.1       99.2      100.0          0(  0)        152         162
HT40/LGI    MCS8       20.8       96.8      100.0          0(  0)         87          96
HT40/LGI    MCS9       33.0       95.2      100.0          0(  0)        116         123
HT40/LGI    MCS10      37.9       86.4       75.0          0(  0)        120         125
HT40/LGI    MCS11      47.3       94.6      100.0          0(  0)        107         115
HT40/LGI    MCS12      56.1       94.3      100.0          0(  0)        126         136
HT40/LGI  t MCS13      64.0       99.9      100.0          0(  0)        344         352
HT40/LGI T  MCS14      67.5       99.9      100.0          2(  2)      30233       32674
HT40/LGI    MCS15      57.9       83.4      100.0          0(  0)     839434      904228
HT40/SGI    MCS0       12.0       90.4      100.0          0(  0)         79          86
HT40/SGI    MCS1       20.2       86.7      100.0          0(  0)         82          93
HT40/SGI    MCS2       30.8       99.9      100.0          0(  0)         86          88
HT40/SGI    MCS3       34.9       94.3      100.0          0(  0)         67          71
HT40/SGI    MCS4       46.0       99.5      100.0          0(  0)         78          86
HT40/SGI    MCS5       47.2       90.2      100.0          0(  0)         69          74
HT40/SGI    MCS6       55.0       99.1      100.0          0(  0)         76          81
HT40/SGI   PMCS7       56.9       98.5      100.0          0(  0)        143         156
HT40/SGI    MCS8       20.5       87.9      100.0          0(  0)         88          96
HT40/SGI    MCS9       34.2       92.4      100.0          0(  0)         97         107
HT40/SGI    MCS10      40.9       88.3      100.0          0(  0)        118         127
HT40/SGI    MCS11      52.2       99.7      100.0          0(  0)         74          76
HT40/SGI    MCS12      59.4       96.3      100.0          0(  0)         55          59
HT40/SGI    MCS13      51.1       77.7      100.0          0(  0)         91         154
HT40/SGI    MCS14      53.6       77.2      100.0          0(  0)      16977       24659
HT40/SGI    MCS15      37.6       53.0       11.1          0(  0)      87406      105429

Total packet count::    ideal 961450      lookaround 17685
Average A-MPDU length: 1.0



ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:80:48:5C:55:11
          inet addr:192.168.0.53  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:2150 errors:0 dropped:0 overruns:0 frame:0
          TX packets:305 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:203174 (198.4 KiB)  TX bytes:77565 (75.7 KiB)

eth0      Link encap:Ethernet  HWaddr 00:80:48:5C:55:11
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:979620 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1138114 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:904925667 (863.0 MiB)  TX bytes:1269747764 (1.1 GiB)
          Interrupt:4

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:1 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:76 (76.0 B)  TX bytes:76 (76.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:80:48:62:4B:9F
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1137815 errors:0 dropped:0 overruns:0 frame:0
          TX packets:979172 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1269671079 (1.1 GiB)  TX bytes:930348719 (887.2 MiB)

comment:10 Changed 7 years ago by anonymous

Apologies for cluttering the ticket with my issue. I'll happily open a new ticket if that would be better.

comment:11 Changed 7 years ago by nbd

Still an issue in the latest version?

comment:12 Changed 7 years ago by nbd

  • Resolution set to no_response
  • Status changed from new to closed

comment:13 Changed 7 years ago by sniperpr@…

Bridge mode is still slow.

nbd,Thank you for your efforts.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.