[Fire HD 8 and HD 10 Original Android Development] psi78:
Don't really have a clue of this, but this could maybe the relevant part in your logcat:

08-15 21:31:54.103 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:bd:ea:31 dialog_token=13 freq=5785 status_code=0 result=TIMEOUT

08-15 21:31:54.104 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:bd:ea:31 result=FAILURE

08-15 21:31:55.012 488 2129 D DhcpClient: Broadcasting DHCPDISCOVER

08-15 21:31:56.145 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:bd:ea:30 dialog_token=14 freq=5785 status_code=0 result=TIMEOUT

08-15 21:31:56.147 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:bd:ea:30 result=FAILURE

08-15 21:31:56.164 488 2203 D DhcpClient: Received packet: cc:f7:35:09:0f:25 OFFER, ip /10.0.6.182, mask /255.255.255.0, DNS servers: /10.0.6.1 , gateways [/10.0.6.1] lease time 86400, domain adultstore

08-15 21:31:56.165 488 2129 D DhcpClient: Got pending lease: IP address 10.0.6.182/24 Gateway 10.0.6.1 DNS servers: [ 10.0.6.1 ] Domains adultstore DHCP server /10.0.6.1 Vendor info null lease 86400 seconds

08-15 21:31:56.168 488 2129 D DhcpClient: Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=10.0.6.182 serverid=10.0.6.1

08-15 21:31:58.191 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:bd:ea:32 dialog_token=15 freq=5785 status_code=0 result=TIMEOUT

08-15 21:31:58.192 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:bd:ea:32 result=FAILURE

08-15 21:32:00.233 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:bd:ea:33 dialog_token=16 freq=5785 status_code=0 result=TIMEOUT

08-15 21:32:00.233 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:bd:ea:33 result=FAILURE

08-15 21:32:00.698 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:44:31 dialog_token=17 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:00.699 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:44:31 result=FAILURE

08-15 21:32:01.176 488 2129 D DhcpClient: Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=10.0.6.182 serverid=10.0.6.1

08-15 21:32:01.217 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:44:35 dialog_token=18 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:01.222 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:44:35 result=FAILURE

08-15 21:32:01.743 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:44:37 dialog_token=19 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:01.743 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:44:37 result=FAILURE

08-15 21:32:03.803 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:ea:31 dialog_token=20 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:03.803 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:ea:31 result=FAILURE

08-15 21:32:05.845 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:ea:32 dialog_token=21 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:05.845 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:ea:32 result=FAILURE

08-15 21:32:06.190 488 2129 D DhcpClient: Broadcasting DHCPREQUEST ciaddr=0.0.0.0 request=10.0.6.182 serverid=10.0.6.1

08-15 21:32:07.909 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ac:4c:a5:b5:ea:34 dialog_token=22 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:07.909 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ac:4c:a5:b5:ea:34 result=FAILURE

08-15 21:32:09.946 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:ea:35 dialog_token=23 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:09.946 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:ea:35 result=FAILURE

08-15 21:32:11.989 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ae:4c:a5:b6:ea:37 dialog_token=24 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:11.989 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ae:4c:a5:b6:ea:37 result=FAILURE

08-15 21:32:12.656 2126 2126 I wpa_supplicant: wlan0: GAS-QUERY-DONE addr=ac:4c:a5:b5:44:34 dialog_token=25 freq=2462 status_code=0 result=TIMEOUT

08-15 21:32:12.656 2126 2126 I wpa_supplicant: wlan0: ANQP-QUERY-DONE addr=ac:4c:a5:b5:44:34 result=FAILURE

08-15 21:32:14.166 488 2129 D DhcpClient: Broadcasting DHCPDISCOVER

08-15 21:32:14.569 488 573 I PowerManagerService: Waking up from sleep (uid=1000 reason=android.policy:pOWER)...

08-15 21:32:14.570 488 488 W UsageStatsService: Event reported without a package name

08-15 21:32:14.577 488 514 I DisplayPowerController: Blocking screen on until initial contents have been drawn.

08-15 21:32:14.579 488 507 W KernelCpuProcReader: File not exist: /proc/uid_cpupower/time_in_state

08-15 21:32:14.579 488 507 W KernelCpuProcReader: File not exist: /proc/uid_cpupower/concurrent_active_time

08-15 21:32:14.580 488 507 W KernelCpuProcReader: File not exist: /proc/uid_cpupower/concurrent_policy_time

08-15 21:32:14.590 272 272 D SurfaceFlinger: Set power mode=2, type=0 flinger=0x7f1c043000

08-15 21:32:14.590 257 449 I hwcomposer: [HWC] SetPowerMode(2) Display(0)

08-15 21:32:14.590 488 512 I DisplayManagerService: Display device changed state: "Built-in Screen", ON

08-15 21:32:14.604 488 573 I InputReader: Reconfiguring input devices. changes=0x00000004

08-15 21:32:14.642 272 476 D IMGSRV : gralloc_device_alloc:1039: hnd=0x7f1c138d20 ID=8910 fd=32 ref=0 1200(1216)x1920(1920)-0x1 usage=0xb00 size=9338880(9338880) cache=0

08-15 21:32:14.642 272 476 D IMGSRV : gralloc_register_buffer:1328: hnd=0x7f1c138e60 ID=8910 fd=53 ref=2

08-15 21:32:14.642 272 476 D IMGSRV : gralloc_device_free:1178: ID=8910 ref=1

08-15 21:32:14.644 660 928 D IMGSRV : gralloc_register_buffer:1328: hnd=0x7eda4f1960 ID=8910 fd=94 ref=1

08-15 21:32:14.658 2126 2126 E wpa_supplicant: wpa_driver_nl80211_driver_cmd: failed to issue private commands, error msg: Out of memory

Edit: Do your WLAN routers have IPV6 enabled? Maybe an IPV6 DHCP/ DNS request leading to delays there🤔🤔 (since it shows several timouts/failures in conjunction with an ipv6 address, also apparently leading to an out of memory error)