Apple wifi issues: data from unknown device, sent deauth

I’m having wifi issues with Apple devices (ipads and iphones). I believe the Apple devices enters some micro-sleep causing Mikrotik to disconnect them. A typical log looks like the following:

10:48:01 wireless,info xx:xx:xx:xx:xx:xx@wlan1: connected
10:48:51 wireless,info xx:xx:xx:xx:xx:xx@wlan1: disconnected, extensive data loss
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:00 wireless,info wlan1: data from unknown device xx:xx:xx:xx:xx:xx, sent deauth
10:52:01 wireless,info xx:xx:xx:xx:xx:xx@wlan1: connected

This happens for all versions of Mikrotik 6.x that I have tried. The iOS devices are running 7.x and 8.x.

I have tried to adjust various settings, but none of them have improved the situation. The following tuning parameters have been adjusted:

adaptive-noise-immunity
hw-retries
signal-range
distance
disconnect-timeout
preamble (long)

Can Mikrotik support recommend settings that will work well with Apple devices?

Take export from your wireless settings and paste this on this forum please.

which SSID do you use?

/interface wireless
set [ find default-name=wlan1 ] adaptive-noise-immunity=ap-and-client-mode band=2ghz-b/g/n channel-width=20/40mhz-ht-above
default-authentication=no disabled=no disconnect-timeout=10s distance=indoors hw-protection-mode=rts-cts
l2mtu=2290 mode=ap-bridge ssid=xxx wireless-protocol=802.11
/interface wireless security-profiles
add authentication-types=wpa2-psk mode=dynamic-keys name=wlan-lan-profile wpa2-pre-shared-key=xxx
add authentication-types=wpa2-psk mode=dynamic-keys name=wlan-guest-profile wpa2-pre-shared-key=xxx
/interface wireless
add disabled=no l2mtu=2290 mac-address=xx:xx:xx:xx:xx:xx master-interface=wlan1 name=wlan1-guest security-profile=
wlan-guest-profile ssid=xxx
add default-authentication=no disabled=no l2mtu=2290 mac-address=xx:xx:xx:xx:xx:xx master-interface=wlan1 name=wlan1-lan
security-profile=wlan-lan-profile ssid=xxx

The SSIDs are standard names (A-z), no special characters.

Note: we have other wifi devices on the network (Android, Windows, Linux), but none of them show this symptom.

Weird, everything seems to be fine

are you using aes or tkip? what is the group update key?

check at the final of this topic

http://forum.mikrotik.com/viewtopic.php?f=7&t=25820&start=50

M.

I’m using aes-ccm. The group key update interval is 5 minutes.

please try to enable the wireless-fp package.

Can I keep my existing wireless settings and just enable wireless-fp? Is it possible to revert the change by disabling the package (e.g. system package disable wireless-fp)?

yes and yes

It seems as this appen for newer Apple IOS devices. iPhone 4s does not give this problem, but iPhone 5s and iPad Mini v2 does. Perhaps a newer wifi chipset with new power save functionality gives problem with Mikrotik implementation?

we have not seen such issues with our “newer apple devices”, so please enable wireless-fp and debug logs, and see what is going on in there when you use the new package

I still see logs fill up with these messages with wireless-fp as well. I can see it appearing with iOS 8.4 as well as 9.0 and RouterOS 6.31.

I still see these kind of logs as well. I’m running 6.35.4 with wireless-cm2 package.