mispp
March 4, 2019, 9:01pm
1
As subject says, tplink archer c7 (v2 and v5) on 2.4ghz cap around 20mbit.
Both routers have the following build: openwrt-18.06 branch (git-19.020.41695-6f6641d)](https://github.com/openwrt/luci ) / OpenWrt 18.06.2 r7676-cddd7b4c77
Mode is "N", channels is set to auto and channel width is set to 20MHz.
Any idea what might be the issue?
jeff
March 4, 2019, 9:13pm
2
20 Mpbs throughput is reasonable for 2.4 GHz, single stream, especially for older clients that may not support the newer modulation approaches.
Which client are you using to test with?
What does iw dev wlan1-1 station dump
show (for the AP in use)?
mispp
March 4, 2019, 9:27pm
3
Client used is Dell Latitude E7440
Since i have two routers (v2 and v5), output below is for both. Behavior/speed is the same on both.
v2:
root@archerc7v2:~# iw dev wlan1 station dump
Station 20:3d:bd:9f:78:5a (on wlan1)
inactive time: 920 ms
rx bytes: 3720
rx packets: 19
tx bytes: 489
tx packets: 5
tx retries: 0
tx failed: 0
rx drop misc: 0
signal: -44 [-52, -45, -59] dBm
signal avg: -44 [-52, -44, -59] dBm
tx bitrate: 1.0 MBit/s
rx bitrate: 72.2 MBit/s MCS 7 short GI
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: no
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 9 seconds
v5:
root@archerc7v5:~# iw dev wlan1 station dump
Station d8:fc:93:32:d4:cb (on wlan1)
inactive time: 0 ms
rx bytes: 10181695
rx packets: 65060
tx bytes: 110178720
tx packets: 95627
tx retries: 4104
tx failed: 64
rx drop misc: 57
signal: -53 [-66, -55, -58] dBm
signal avg: -53 [-65, -54, -59] dBm
tx bitrate: 54.0 MBit/s
rx bitrate: 54.0 MBit/s
expected throughput: 37.994Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: no
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 3618 seconds
Station cc:61:e5:9a:fc:5e (on wlan1)
inactive time: 3820 ms
rx bytes: 1343530
rx packets: 7504
tx bytes: 13133455
tx packets: 10268
tx retries: 616
tx failed: 1
rx drop misc: 0
signal: -25 [-27, -33, -36] dBm
signal avg: -27 [-29, -34, -38] dBm
tx bitrate: 54.0 MBit/s
rx bitrate: 6.0 MBit/s
expected throughput: 37.994Mbps
authorized: yes
authenticated: yes
associated: yes
preamble: short
WMM/WME: no
MFP: no
TDLS peer: no
DTIM period: 2
beacon interval:100
short preamble: yes
short slot time:yes
connected time: 3515 seconds
mk24
March 4, 2019, 9:45pm
4
The V2 connection is at MCS7, which means that the client is only using or only has one antenna chain. The best connection is MCS15 which would have a raw data rate of 144 Mbps.
The V5 is connected to its client in g mode. I see that the client MAC address is not the same, likely it is not the same laptop.
Channel "auto" just selects channel 1, there is no automatic changing. You should scan for neighboring networks and manually choose the channel with the least interference (from the group of 1, 6, and 11).
mispp
March 4, 2019, 10:37pm
5
Dell latitude is connected actually to v5, mac d8:fc:93. The v2 router output i sent just to show both setups.
I also have some other laptops at hand, like two thinkpad t440s which also cap at 20mbit
As suggested, i tried again to set routers to:
v2 to channel 6
v5 to channel 11
(I think i also tried 1 and 11 before just to spread them more)
Speed test shows again ~20Mb/s. If i connect to v2 over 5GHz, then i get 75Mb/s at speedtest.net
In gnome-settings, latitude shows link speed of 54Mb/s
So i guess, N mode is not used?
And how did you know that connection is in G mode, based on the speed?
mk24
March 5, 2019, 12:58am
6
n speeds will list an MCS number. Also there is no 54.0 Mb rate in n. It is the maximum rate possible with g.
On a Linux laptop (as well as an OpenWrt router), the iw list command will show the machine's wifi card and driver capabilities. If you don't see anything about HT or MCS, it is not capable of n.
1 Like
mispp
March 5, 2019, 7:12am
7
The router definitely supports N. Laptop should as well based on the intel ac7260 product breif.
iw list
on the laptop shows the following:
[root@latice ~]# iw list
Wiphy phy0
max # scan SSIDs: 20
max scan IEs length: 425 bytes
max # sched scan SSIDs: 20
max # match sets: 11
max # scan plans: 2
max scan plan interval: 65535
max scan plan iterations: 254
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports RSN-IBSS.
Device supports AP-side u-APSD.
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP-128 (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* AP/VLAN
* monitor
* P2P-client
* P2P-GO
* P2P-device
Band 1:
Capabilities: 0x11ee
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 2412 MHz [1] (22.0 dBm)
* 2417 MHz [2] (22.0 dBm)
* 2422 MHz [3] (22.0 dBm)
* 2427 MHz [4] (22.0 dBm)
* 2432 MHz [5] (22.0 dBm)
* 2437 MHz [6] (22.0 dBm)
* 2442 MHz [7] (22.0 dBm)
* 2447 MHz [8] (22.0 dBm)
* 2452 MHz [9] (22.0 dBm)
* 2457 MHz [10] (22.0 dBm)
* 2462 MHz [11] (22.0 dBm)
* 2467 MHz [12] (22.0 dBm) (no IR)
* 2472 MHz [13] (22.0 dBm) (no IR)
Band 2:
Capabilities: 0x11ee
HT20/HT40
SM Power Save disabled
RX HT20 SGI
RX HT40 SGI
TX STBC
RX STBC 1-stream
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 4 usec (0x05)
HT Max RX data rate: 300 Mbps
HT TX/RX MCS rate indexes supported: 0-15
VHT Capabilities (0x038071a0):
Max MPDU length: 3895
Supported Channel Width: neither 160 nor 80+80
short GI (80 MHz)
TX STBC
SU Beamformee
VHT RX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT RX highest supported: 0 Mbps
VHT TX MCS set:
1 streams: MCS 0-9
2 streams: MCS 0-9
3 streams: not supported
4 streams: not supported
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
VHT TX highest supported: 0 Mbps
Bitrates (non-HT):
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
Frequencies:
* 5180 MHz [36] (22.0 dBm) (no IR)
* 5200 MHz [40] (22.0 dBm) (no IR)
* 5220 MHz [44] (22.0 dBm) (no IR)
* 5240 MHz [48] (22.0 dBm) (no IR)
* 5260 MHz [52] (22.0 dBm) (no IR, radar detection)
* 5280 MHz [56] (22.0 dBm) (no IR, radar detection)
* 5300 MHz [60] (22.0 dBm) (no IR, radar detection)
* 5320 MHz [64] (22.0 dBm) (no IR, radar detection)
* 5500 MHz [100] (22.0 dBm) (no IR, radar detection)
* 5520 MHz [104] (22.0 dBm) (no IR, radar detection)
* 5540 MHz [108] (22.0 dBm) (no IR, radar detection)
* 5560 MHz [112] (22.0 dBm) (no IR, radar detection)
* 5580 MHz [116] (22.0 dBm) (no IR, radar detection)
* 5600 MHz [120] (22.0 dBm) (no IR, radar detection)
* 5620 MHz [124] (22.0 dBm) (no IR, radar detection)
* 5640 MHz [128] (22.0 dBm) (no IR, radar detection)
* 5660 MHz [132] (22.0 dBm) (no IR, radar detection)
* 5680 MHz [136] (22.0 dBm) (no IR, radar detection)
* 5700 MHz [140] (22.0 dBm) (no IR, radar detection)
* 5720 MHz [144] (22.0 dBm) (no IR, radar detection)
* 5745 MHz [149] (22.0 dBm) (no IR)
* 5765 MHz [153] (22.0 dBm) (no IR)
* 5785 MHz [157] (22.0 dBm) (no IR)
* 5805 MHz [161] (22.0 dBm) (no IR)
* 5825 MHz [165] (22.0 dBm) (no IR)
Supported commands:
* new_interface
* set_interface
* new_key
* start_ap
* new_station
* new_mpath
* set_mesh_config
* set_bss
* authenticate
* associate
* deauthenticate
* disassociate
* join_ibss
* join_mesh
* remain_on_channel
* set_tx_bitrate_mask
* frame
* frame_wait_cancel
* set_wiphy_netns
* set_channel
* set_wds_peer
* start_sched_scan
* probe_client
* set_noack_map
* register_beacons
* start_p2p_device
* set_mcast_rate
* connect
* disconnect
* channel_switch
* set_qos_map
* add_tx_ts
* set_multicast_to_unicast
Supported TX frame types:
* IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* IBSS: 0x40 0xb0 0xc0 0xd0
* managed: 0x40 0xd0
* AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* mesh point: 0xb0 0xc0 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* P2P-device: 0x40 0xd0
WoWLAN support:
* wake up on disconnect
* wake up on magic packet
* wake up on pattern match, up to 20 patterns of 16-128 bytes,
maximum packet offset 0 bytes
* can do GTK rekeying
* wake up on GTK rekey failure
* wake up on EAP identity request
* wake up on 4-way handshake
* wake up on rfkill release
* wake up on network detection, up to 11 match sets
software interface modes (can always be added):
* AP/VLAN
* monitor
valid interface combinations:
* #{ managed } <= 1, #{ AP, P2P-client, P2P-GO } <= 1, #{ P2P-device } <= 1,
total <= 3, #channels <= 2
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
Device supports TX status socket option.
Device supports HT-IBSS.
Device supports SAE with AUTHENTICATE command
Device supports low priority scan.
Device supports scan flush.
Device supports per-vif TX power setting
P2P GO supports CT window setting
P2P GO supports opportunistic powersave setting
Driver supports full state transitions for AP/GO clients
Driver supports a userspace MPM
Driver/device bandwidth changes during BSS lifetime (AP/GO mode)
Device supports static SMPS
Device supports dynamic SMPS
Device supports WMM-AC admission (TSPECs)
Device supports configuring vdev MAC-addr on create.
Device supports randomizing MAC-addr in scans.
Device supports randomizing MAC-addr in sched scans.
Device supports randomizing MAC-addr in net-detect scans.
Supported extended features:
* [ RRM ]: RRM
* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
Hegabo
March 5, 2019, 10:02am
8
How far are the PCs from the router?
mispp
March 5, 2019, 10:32am
9
v5 - maybe half-meter (on the same desk)
v2 - when testing on v2 it is a bit farther, maybe 2-3m with no obstacles in between
mispp
March 5, 2019, 8:31pm
11
No, not a distance thing.
To me it seems as the router refuses to work in N mode. Is there some way i can force N mode?
Googling has found only that hwmode
has to be 11g
and htmode
to be HT20
which is set here, but still no cigar.
Any idea what to try next?
root@archerc7v5:/etc/config# cat wireless
config wifi-device 'radio0'
option type 'mac80211'
option channel '36'
option hwmode '11a'
option path 'pci0000:00/0000:00:00.0'
option htmode 'VHT80'
option legacy_rates '1'
option country 'AT'
option disabled '0'
config wifi-device 'radio1'
option type 'mac80211'
option hwmode '11g'
option path 'platform/qca956x_wmac'
option country 'AT'
option htmode 'HT20'
option channel '11'
option legacy_rates '0'
config wifi-iface 'default_radio1'
option device 'radio1'
option network 'lan'
option mode 'ap'
option ssid 'R7'
option key 'xxxxxxxxx'
option encryption 'psk2+ccmp'
option wmm '0'
config wifi-iface
option network 'wwan'
option ssid 'R5'
option encryption 'psk2'
option device 'radio0'
option mode 'sta'
option bssid '14:CC:20:BE:62:40'
option key 'xxxxxxxxx'
root@archerc7v5:/etc/config# cat /var/run/hostapd-phy1.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=AT
ieee80211d=1
hw_mode=g
supported_rates=60 90 120 180 240 360 480 540
basic_rates=60 120 240
beacon_int=100
channel=11
ieee80211n=1
ht_coex=0
ht_capab=[SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][DSSS_CCK-40]
interface=wlan1
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
preamble=1
wmm_enabled=0
ignore_broadcast_ssid=0
uapsd_advertisement_enabled=1
wpa_passphrase=xxxxxxxxxxxx
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=R7
bridge=br-lan
wpa_disable_eapol_key_retries=0
wpa_key_mgmt=WPA-PSK
okc=0
disable_pmksa_caching=1
bssid=b0:be:76:59:c5:17
mispp:
option wmm '0'
how did that end up there? it prevents you from N mode!
4 Likes
mispp
March 6, 2019, 6:43am
13
solved!
this was the issue.
thanks!
it would be nice to have in gui that infopoint which says that this is prerequisite for N so someone doesnt do the same mistake.
1 Like
tmomas
March 6, 2019, 6:52am
14
@mispp If your problem is solved, please consider marking this topic as [Solved]. (Click the pencil behind the topic...)
You can also mark the reply that solved your problem:
1 Like
system
Closed
March 16, 2019, 6:52am
15
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.