How to speed up connection establishment to WLAN?

Hi!

I have hAP ac2. My issue is slow WLAN connection establishment from my mobile devices. I used Quick Set, mode is Home AP Dual. The problem occurs with both 2.4 and 5 GHz.

I haven’t found any timeouts in logs yet, but it takes ~7 sec to connect to the Wi-Fi. If I disconnect from the Wi-Fi and reconnect immediately for the second time, it takes ~1 sec to connect. Distance between router and mobile is up to 1 meter, there are no visible obstacles.

Previously I had hAP classic, but I used to set it up manually from scratch. Now the setup guide I used is gone.

Which settings should I look first of all?

Thank you in advance!

The first setting to look at is “conflict detection” under the settings of the DHCP server. Switch that off.

Unfortunately,

conflict detection

didn’t help. I double checked logs, it takes 5 seconds between

<mac>@wlan2: connected, signal strength -50

and

defconf assigned <private ip> to <mac>

Are the wireless interfaces member ports of a bridge with protocol-mode other than none? If yes, set edge=yes at the respective rows of /interface bridge port table.

There is one bridge

/interface bridge> print
Flags: X - disabled, R - running 
 0 R ;;; defconf
     name="bridge" mtu=auto actual-mtu=1500 l2mtu=1598 arp=enabled arp-timeout=auto 
     mac-address=<mac> protocol-mode=rstp fast-forward=yes 
     igmp-snooping=no auto-mac=no admin-mac=<mac> ageing-time=5m 
     priority=0x8000 max-message-age=20s forward-delay=15s transmit-hold-count=6 
     vlan-filtering=no dhcp-snooping=no

with these ports

/interface bridge port> print
Flags: X - disabled, I - inactive, D - dynamic, H - hw-offload 
 #     INTERFACE   BRIDGE   HW  PVID PRIORITY  PATH-COST INTERNAL-PATH-COST    HORIZON
 0   H ;;; defconf
       ether2      bridge   yes    1     0x80         10                 10       none
 1 I H ;;; defconf
       ether3      bridge   yes    1     0x80         10                 10       none
 2 I H ;;; defconf
       ether4      bridge   yes    1     0x80         10                 10       none
 3 I H ;;; defconf
       ether5      bridge   yes    1     0x80         10                 10       none
 4 I   ;;; defconf
       wlan1       bridge          1     0x80         10                 10       none
 5 I   ;;; defconf
       wlan2       bridge          1     0x80         10                 10       none

All the porst above have set Edge=auto, so I have to change Edge=yes, right?

Only at the rows with interface=wlanX (4 and 5 on your print)