When devices are connected to the Mikrotik AP we experience quick battery drain, where the devices have very high wake time and problems entering deep sleep.
I ran tcpdump on a Android device and can see that every 20-30 seconds there are "empty" packets sent from the Mikrotik to the device and cause wakelocks. The only information in these IPv4 packets seems to be source and destination MAC address.
Constant packets. Mikrotik MAC = d4:ca:*, device MAC = 88:30:*.
Full info of packet:
When running the tool "Packet sniffer" inside WinBox simultaneously on the wifi interface these packets are not recorded.
Note that there are 5 seconds offset.
What are these packets? Some kind of keepalive? Can I disable them to stop my devices from draining battery?
I have run tcpdump on other vendor APs but have not seen this elsewhere.
Things I have done and verified:
- Tests were done on a completely silent network with one single device.
- No neighbor APs transmitting on adjacent channels.
- Disabled STP, CDP/MNDP.
- Isolated Wifi interface to separate bridge.
- Set device ARP static in Mikrotik.
> interface wireless advanced print
0 name="wlan1" mtu=1500 mac-address=D4:CA:6D:21:4E:05 arp=enabled
disable-running-check=no interface-type=Atheros 11N
radio-name="D4CA6D214E05" mode=ap-bridge ssid="DegFi" area=""
frequency-mode=manual-txpower country=sweden antenna-gain=0
frequency=2422 band=2ghz-onlyg channel-width=20mhz scan-list=default
wireless-protocol=802.11 rate-set=default
supported-rates-b=1Mbps,2Mbps,5.5Mbps,11Mbps
supported-rates-a/g=6Mbps,9Mbps,12Mbps,18Mbps,24Mbps,36Mbps,48Mbps,
54Mbps
basic-rates-b=1Mbps basic-rates-a/g=6Mbps max-station-count=2007
distance=indoors tx-power-mode=default noise-floor-threshold=default
nv2-noise-floor-offset=default periodic-calibration=default
periodic-calibration-interval=60 dfs-mode=none antenna-mode=ant-a
wds-mode=disabled wds-default-bridge=none wds-default-cost=100
wds-cost-range=50-150 wds-ignore-ssid=no update-stats-interval=disabled
bridge-mode=disabled default-authentication=yes default-forwarding=no
default-ap-tx-limit=0 default-client-tx-limit=0
proprietary-extensions=post-2.9.25 wmm-support=disabled hide-ssid=no
security-profile=wifi disconnect-timeout=3s on-fail-retry-time=100ms
preamble-mode=both compression=no allow-sharedkey=no
station-bridge-clone-mac=00:00:00:00:00:00 ht-ampdu-priorities=0
ht-guard-interval=any
ht-supported-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7,mcs-8,
mcs-9,mcs-10,mcs-11,mcs-12,mcs-13,mcs-14,mcs-15,mcs-16,mcs-17,
mcs-18,mcs-19,mcs-20,mcs-21,mcs-22,mcs-23
ht-basic-mcs=mcs-0,mcs-1,mcs-2,mcs-3,mcs-4,mcs-5,mcs-6,mcs-7
ht-txchains=1 ht-rxchains=1 ht-amsdu-limit=8192 ht-amsdu-threshold=8192
tdma-period-size=2 nv2-queue-count=2 nv2-qos=default nv2-cell-radius=30
nv2-security=disabled nv2-preshared-key="" hw-retries=7
frame-lifetime=0 adaptive-noise-immunity=none
hw-fragmentation-threshold=disabled hw-protection-mode=none
hw-protection-threshold=0 frequency-offset=0 rate-selection=advanced
multicast-helper=default
> interface bridge print
1 R name="wifi-bridge" mtu=1500 l2mtu=2290 arp=enabled
mac-address=D4:CA:6D:21:4E:05 protocol-mode=none priority=0x8000
auto-mac=yes admin-mac=00:00:00:00:00:00 max-message-age=40s
forward-delay=30s transmit-hold-count=6 ageing-time=5m
> interface wireless security-profiles print
1 name="wifi" mode=dynamic-keys authentication-types=wpa2-psk
unicast-ciphers=tkip group-ciphers=tkip wpa-pre-shared-key="***"
wpa2-pre-shared-key="***" supplicant-identity="" eap-methods=""
tls-mode=no-certificates tls-certificate=none static-algo-0=none
static-key-0="" static-algo-1=none static-key-1="" static-algo-2=none
static-key-2="" static-algo-3=none static-key-3=""
static-transmit-key=key-0 static-sta-private-algo=none
static-sta-private-key="" radius-mac-authentication=no
radius-mac-accounting=no radius-eap-accounting=no interim-update=0s
radius-mac-format=XX:XX:XX:XX:XX:XX radius-mac-mode=as-username
radius-mac-caching=disabled group-key-update=5m
management-protection=disabled management-protection-key=""