You are not logged in.

#1 2016-12-09 21:09:12

dlh
Member
Registered: 2010-11-26
Posts: 44

Can't connect to 5GHz network with RTL8812AE

Hi everyone,

I can't connect to 5GHz network with my brand new ASUS PCE-AC51 and 2.4 GHz speed is at maximum 8 Mbit/s.  I guess the problem is related to lack of firmware and something wrong with wpa_supplicant.  I am using netctl in order to connect to wifi networks.  I also applied this patch https://github.com/torvalds/linux/commi … 3fe339162b but no luck.

03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter [10ec:8812] (rev 01)
> wpa_cli scan; wpa_cli scan_results

Selected interface 'wlp3s0'
OK
Selected interface 'wlp3s0'
bssid / frequency / signal level / flags / ssid
xx:xx:xx:xx:xx:db       2462    -66     [WPA-PSK-CCMP+TKIP][WPA2-PSK-CCMP+TKIP][WPS][ESS]       Internety
xx:xx:xx:xx:xx:d0       5560    -45     [WPA-PSK-TKIP][WPA2-PSK-CCMP][WPS][ESS] Internety
> dmesg | grep wlp3s0

[   15.771865] rtl8821ae 0000:03:00.0 wlp3s0: renamed from wlan0
[   16.471597] IPv6: ADDRCONF(NETDEV_UP): wlp3s0: link is not ready
[   19.972209] wlp3s0: authenticate with xx:xx:xx:xx:xx:db
[   19.973228] wlp3s0: send auth to xx:xx:xx:xx:xx:db (try 1/3)
[   19.980383] wlp3s0: authenticated
[   19.980503] wlp3s0: associating with AP with corrupt probe response
[   19.987456] wlp3s0: associate with xx:xx:xx:xx:xx:db (try 1/3)
[   19.999150] wlp3s0: RX AssocResp from xx:xx:xx:xx:xx:db (capab=0x411 status=0 aid=3)
[   19.999316] wlp3s0: associated
[   19.999333] IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
[  555.089061] wlp3s0: Connection to AP xx:xx:xx:xx:xx:db lost
[  566.800728] wlp3s0: authenticate with xx:xx:xx:xx:xx:d0
[  566.801557] wlp3s0: send auth to xx:xx:xx:xx:xx:d0 (try 1/3)
[  566.901472] wlp3s0: send auth to xx:xx:xx:xx:xx:d0 (try 2/3)
[  567.003048] wlp3s0: send auth to xx:xx:xx:xx:xx:d0 (try 3/3)
[  567.104594] wlp3s0: authentication with xx:xx:xx:xx:xx:d0 timed out
[  567.690755] wlp3s0: authenticate with xx:xx:xx:xx:xx:db
[  567.691924] wlp3s0: send auth to xx:xx:xx:xx:xx:db (try 1/3)
[  567.712238] wlp3s0: authenticated
[  567.712289] wlp3s0: associating with AP with corrupt probe response
[  567.713984] wlp3s0: associate with xx:xx:xx:xx:xx:db (try 1/3)
[  567.731489] wlp3s0: RX AssocResp from xx:xx:xx:xx:xx:db (capab=0x411 status=0 aid=3)
[  567.731651] wlp3s0: associated
> dmesg | grep rtl

[   15.686413] rtl8821ae: Using firmware rtlwifi/rtl8812aefw.bin
[   15.686416] rtl8821ae: Using firmware rtlwifi/rtl8812aefw_wowlan.bin
[   15.687834] rtl8821ae 0000:03:00.0: Direct firmware load for rtlwifi/rtl8812aefw.bin failed with error -2
[   15.687836] rtlwifi: Selected firmware is not available
[   15.687839] rtl8821ae 0000:03:00.0: Direct firmware load for rtlwifi/rtl8812aefw_wowlan.bin failed with error -2
[   15.687840] rtlwifi: Selected firmware is not available
[   15.709960] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[   15.710158] rtlwifi: rtlwifi: wireless switch is on
[   15.771865] rtl8821ae 0000:03:00.0 wlp3s0: renamed from wlan0
[   16.239193] rtl8821ae:rtl8821ae_download_fw [rtl8821ae]:<0-0> Checksum report OK ! REG_MCUFWDL:0x00000304 .
[   16.597491] rtl8821ae:rtl8821ae_download_fw [rtl8821ae]:<0-1> Checksum report OK ! REG_MCUFWDL:0x00000704 .
[  555.089038] rtlwifi:rtl_watchdog_wq_callback [rtlwifi]:<0-0> AP off, try to reconnect now
[  563.440003] rtl8821ae:rtl8821ae_download_fw [rtl8821ae]:<0-1> Checksum report OK ! REG_MCUFWDL:0x80000704 .
[  893.645592] rtlwifi:rtl_watchdog_wq_callback [rtlwifi]:<0-0> AP off, try to reconnect now
[  901.970609] rtl8821ae:rtl8821ae_download_fw [rtl8821ae]:<0-1> Checksum report OK ! REG_MCUFWDL:0x00000704 .
[  922.352250] rtl8821ae:rtl8821ae_download_fw [rtl8821ae]:<0-0> Checksum report OK ! REG_MCUFWDL:0x00000704 .
> ll /lib/firmware/rtlwifi/

razem 764K
-rw-r--r-- 1 root root  11K 10-05 12:35 rtl8188efw.bin
-rw-r--r-- 1 root root  14K 10-05 12:35 rtl8188eufw.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cfw.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cfwU_B.bin
-rw-r--r-- 1 root root  15K 10-05 12:35 rtl8192cfwU.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cufw_A.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cufw_B.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cufw.bin
-rw-r--r-- 1 root root  16K 10-05 12:35 rtl8192cufw_TMSC.bin
-rw-r--r-- 1 root root  31K 10-05 12:35 rtl8192defw.bin
-rw-r--r-- 1 root root  32K 10-05 12:35 rtl8192eefw.bin
-rw-r--r-- 1 root root  25K 10-05 12:35 rtl8192eu_ap_wowlan.bin
-rw-r--r-- 1 root root  32K 10-05 12:35 rtl8192eu_nic.bin
-rw-r--r-- 1 root root  26K 10-05 12:35 rtl8192eu_wowlan.bin
-rw-r--r-- 1 root root  79K 10-05 12:35 rtl8192sefw.bin
-rw-r--r-- 1 root root 120K 10-05 12:35 rtl8712u.bin
-rw-r--r-- 1 root root  22K 10-05 12:35 rtl8723aufw_A.bin
-rw-r--r-- 1 root root  24K 10-05 12:35 rtl8723aufw_B.bin
-rw-r--r-- 1 root root  19K 10-05 12:35 rtl8723aufw_B_NoBT.bin
-rw-r--r-- 1 root root  31K 10-05 12:35 rtl8723befw.bin
-rw-r--r-- 1 root root  21K 10-05 12:35 rtl8723bu_ap_wowlan.bin
-rw-r--r-- 1 root root  32K 10-05 12:35 rtl8723bu_nic.bin
-rw-r--r-- 1 root root  26K 10-05 12:35 rtl8723bu_wowlan.bin
-rw-r--r-- 1 root root  23K 10-05 12:35 rtl8723fw_B.bin
-rw-r--r-- 1 root root  12K 10-05 12:35 rtl8723fw.bin
-rw-r--r-- 1 root root  29K 10-05 12:35 rtl8821aefw.bin
-rw-r--r-- 1 root root  20K 10-05 12:35 rtl8821aefw_wowlan.bin

Last edited by dlh (2016-12-16 20:31:23)

Offline

#2 2018-03-08 13:31:11

Expez
Member
Registered: 2012-03-31
Posts: 14

Re: Can't connect to 5GHz network with RTL8812AE

Did you find a solution to this problem?  I'm getting extremely slow speeds too with the same card.

Offline

#3 2018-03-08 14:55:25

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 16,276

Re: Can't connect to 5GHz network with RTL8812AE

What are the output of ip link and of iw phy   ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2018-03-08 16:54:39

Expez
Member
Registered: 2012-03-31
Posts: 14

Re: Can't connect to 5GHz network with RTL8812AE

ewaller wrote:

What are the output of ip link and of iw phy   ?

$ ip link
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: wlp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DORMANT group default qlen 1000
    link/ether b0:6e:bf:9b:f2:ae brd ff:ff:ff:ff:ff:ff
3: eno1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN mode DEFAULT group default qlen 1000
    link/ether 74:d0:2b:9c:9a:d1 brd ff:ff:ff:ff:ff:ff
$ iw phy
Wiphy phy0
	max # scan SSIDs: 4
	max scan IEs length: 2243 bytes
	max # sched scan SSIDs: 0
	max # match sets: 0
	max # scan plans: 1
	max scan plan interval: -1
	max scan plan iterations: 0
	RTS threshold: 2347
	Retry short limit: 7
	Retry long limit: 4
	Coverage class: 0 (up to 0m)
	Device supports RSN-IBSS.
	Supported Ciphers:
		* WEP40 (00-0f-ac:1)
		* WEP104 (00-0f-ac:5)
		* TKIP (00-0f-ac:2)
		* CCMP-128 (00-0f-ac:4)
		* CCMP-256 (00-0f-ac:10)
		* GCMP-128 (00-0f-ac:8)
		* GCMP-256 (00-0f-ac:9)
		* CMAC (00-0f-ac:6)
		* CMAC-256 (00-0f-ac:13)
		* GMAC-128 (00-0f-ac:11)
		* GMAC-256 (00-0f-ac:12)
	Available Antennas: TX 0 RX 0
	Supported interface modes:
		 * IBSS
		 * managed
		 * AP
		 * AP/VLAN
		 * monitor
		 * mesh point
		 * P2P-client
		 * P2P-GO
	Band 1:
		Capabilities: 0x186e
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT Max RX data rate: 300 Mbps
		HT TX/RX MCS rate indexes supported: 0-15, 32
		Bitrates (non-HT):
			* 1.0 Mbps
			* 2.0 Mbps
			* 5.5 Mbps
			* 11.0 Mbps
			* 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] (20.0 dBm)
			* 2417 MHz [2] (20.0 dBm)
			* 2422 MHz [3] (20.0 dBm)
			* 2427 MHz [4] (20.0 dBm)
			* 2432 MHz [5] (20.0 dBm)
			* 2437 MHz [6] (20.0 dBm)
			* 2442 MHz [7] (20.0 dBm)
			* 2447 MHz [8] (20.0 dBm)
			* 2452 MHz [9] (20.0 dBm)
			* 2457 MHz [10] (20.0 dBm)
			* 2462 MHz [11] (20.0 dBm)
			* 2467 MHz [12] (20.0 dBm)
			* 2472 MHz [13] (20.0 dBm)
			* 2484 MHz [14] (disabled)
	Band 2:
		Capabilities: 0x186e
			HT20/HT40
			SM Power Save disabled
			RX HT20 SGI
			RX HT40 SGI
			No RX STBC
			Max AMSDU length: 7935 bytes
			DSSS/CCK HT40
		Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
		Minimum RX AMPDU time spacing: 16 usec (0x07)
		HT Max RX data rate: 300 Mbps
		HT TX/RX MCS rate indexes supported: 0-15, 32
		VHT Capabilities (0x33c019a2):
			Max MPDU length: 11454
			Supported Channel Width: neither 160 nor 80+80
			short GI (80 MHz)
			TX STBC
			SU Beamformer
			SU Beamformee
			+HTC-VHT
			RX antenna pattern consistency
			TX antenna pattern consistency
		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: 867 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: 867 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] (30.0 dBm)
			* 5200 MHz [40] (30.0 dBm)
			* 5220 MHz [44] (30.0 dBm)
			* 5240 MHz [48] (30.0 dBm)
			* 5260 MHz [52] (30.0 dBm) (no IR, radar detection)
			* 5280 MHz [56] (30.0 dBm) (no IR, radar detection)
			* 5300 MHz [60] (30.0 dBm) (no IR, radar detection)
			* 5320 MHz [64] (30.0 dBm) (no IR, radar detection)
			* 5500 MHz [100] (30.0 dBm) (no IR, radar detection)
			* 5520 MHz [104] (30.0 dBm) (no IR, radar detection)
			* 5540 MHz [108] (30.0 dBm) (no IR, radar detection)
			* 5560 MHz [112] (30.0 dBm) (no IR, radar detection)
			* 5580 MHz [116] (30.0 dBm) (no IR, radar detection)
			* 5600 MHz [120] (30.0 dBm) (no IR, radar detection)
			* 5620 MHz [124] (30.0 dBm) (no IR, radar detection)
			* 5640 MHz [128] (30.0 dBm) (no IR, radar detection)
			* 5660 MHz [132] (30.0 dBm) (no IR, radar detection)
			* 5680 MHz [136] (30.0 dBm) (no IR, radar detection)
			* 5700 MHz [140] (30.0 dBm) (no IR, radar detection)
			* 5745 MHz [149] (30.0 dBm)
			* 5765 MHz [153] (30.0 dBm)
			* 5785 MHz [157] (30.0 dBm)
			* 5805 MHz [161] (30.0 dBm)
			* 5825 MHz [165] (30.0 dBm)
	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
		 * probe_client
		 * set_noack_map
		 * register_beacons
		 * start_p2p_device
		 * set_mcast_rate
		 * connect
		 * disconnect
		 * set_qos_map
		 * 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 magic packet
		 * wake up on pattern match, up to 16 patterns of 13-128 bytes,
		   maximum packet offset 0 bytes
	software interface modes (can always be added):
		 * AP/VLAN
		 * monitor
	interface combinations are not supported
	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 AP scan.
	Device supports per-vif TX power setting
	Driver supports full state transitions for AP/GO clients
	Driver supports a userspace MPM
	Device supports configuring vdev MAC-addr on create.

Offline

Board footer

Powered by FluxBB