CAP AX no samsung device can connect

I’ve seen ton of post about Mikrotik wifi equipment, yet I’ve decided to give it a shot.
I’ve got a ton of Samsung “smartthing” equipment that worked ok with previous TP Link Omada (EAP 670)
I’m extremely disappointed with this “cap ax”

I’ve followed precisely this https://help.mikrotik.com/docs/spaces/ROS/pages/224559120/WiFi#WiFi-CAPsMAN-CAPVLANconfigurationexample%3A to setup my

  • CCR2004 as main router with wifi-qcom package (replaced wireless package)
  • CRS as POE switch, it just… switches (no qcom package here)
  • caps (they come with new packages preinstalled)
    So assume my config is exactly the same as linked one

Result:

  • android samsung phones, laptops - connect
  • no other samsung “smart device” connects (fridge etc.)

yes yes: I have a separate profile without WPA3, they reside on 2.4Ghz N band only (like the “guest” from linked example)

all the CCR logs say is repeated every second:

dhcp_iot deassigned 192.168.60.209 for 40:CA:63:72:7C:B9 Samsung-Oven
dhcp_iot assigned 192.168.60.209 for 40:CA:63:72:7C:B9 Samsung-Oven
40:CA:63:72:7C:B9@cap-wifi2-virtual4 disconnected, connection lost, signal strength -49

I’ve pinned this to be concerned with ‘security’ only issue as exposing open network results in some devices (tested on one cause I have too many of them to f&*^% go one by one) connecting ok.

I’ve seen also: http://forum.mikrotik.com/t/ax-series-lineup-wifi-issues/166664/1

How to make these devices connect? I cannot imagine that they won’t work
Where do I even look for meaningful logs (debug tag doesn’t add ANY value - seriously wtf Mikrotik?!)

Good Evening,

I haven`t had the pleasure to work with Samsung IOT-Devices yet…
But I had my fair share of IOT connectivity issues…

I don`t have a lot of Information on your System…
If I had to diagnose the Issue, I would configure a cAPax as a basic AP.
Same SSID and Password, but nothing else (Virtual-Interfaces / Slave-Interface, VLAN, AccessList, etc)
Furthermore If possible, also provide a unrestricted Internet-Access to the Network.


If you are comfortable with RouterOS / Mikrotik, it is a quick and easy way to Isolate the Issue.

Please show your config (of all involved devices):

/export file=anynameyoulike

Next, please supply all RouterOS and firmware versions of all involved devices.

No reason to install wifi-qcom on the CCR, CAPsMAN is available from the main package (since 7.13.x).

Hi Guys

I don’t know if that will help, what i found with the newest Samsung Smart TV is the settings for fast Roaming FT,
as long i have switch off that, all working good

let me know if that works for yours

Thanks!!

Yes, FT can be issue, so if MFP. OP try this as template:

/interface wifi security
add authentication-types=wpa2-psk disabled=no management-protection=disabled name=Administracija wps=disable ft=no

Good catch all, It’s about time to make a list of devices that will and won’t work with FT enabled.

Ipad Air 2

Well, on my armbian boards I get “wpa_supplicant[647]: FT: Invalid key management type (2)” and fails to use ft (tested built in Chinese wifi chip and My Mediatek usb sticks). Also Im pretty sure my Samsung Galaxy tab S9 FE+ does support ft (haven’t verified), but fails to use it (the same as armbian), meanwhile S22 is fine. Still testing, but it seems that ft does have issues and is causing at least some part of disconnects and connectivity problems in general on 5ghz radios. I do use my wap ax to test connection to my home network, 2.4ghz bands connection is fine overall, can use ft or whatever I want and connection holds. 5ghz band is a different story - it drops at least once daily whit reason code 3 if ft is on. Whit out ft I tested connection over 3 days and it was fine.

Same here with rb5009 and two cAPax … enabling ft for 5GHz ends in disconnections of Devices like Samsung TV for example.
But on the Samsung TV I have observed the following when ft=on. I have one SSID for 2.4GHz and 5GHz on two cAPs … with ft=on I suddenly see my SSID twice on the TV (1x with the note 5GHz) and he wants again the (allready known) wifi password … with ft=off I see, as normal, my SSID only once ?
Maybe you could connect devices that support roaming to a virtual AP where ft=on and the master interface is ft=off for all devices that do not support it ?

You can create virtual SSIDs whit different security settings and you most likely see two SSIDs because security settings have changed. Important thing to remember - security change on SSID may require you to reconnect device (forget network and enter password again).

Btw wap ax whit out ft still got reason code 3 today, so removing ft is not a complete fix. It does help thru.

I am on 7.18.2 (Capsman on RB5009, two cAPax) … with ft=off works like a charme !

If there is no fp setting, I assume it’s off?

There is a difference in the two screenshots. No visible equals unset, while ft=no it is explicitly set. As “no” is default, the result will be the same.

aye.

“ft (no | yes: default: no)
Whether to enable 802.11r fast BSS transitions ( roaming).”
https://help.mikrotik.com/docs/spaces/ROS/pages/224559120/WiFi#:~:text=ft%20(no,BSS%20transitions%20(%20roaming).

Thanks

That's my config, iote is the network with recommended settings.
No success, samsung devices (fridge in this case) cannot connect

[admin@main] > /interface/wifi/configuration/print  
Flags: X - disabled 
 0   name="home-wifi" mode=ap ssid="home" manager=local security=home 
     security.authentication-types=wpa2-psk,wpa3-psk .passphrase="XXXXXXXXXXXXX" .ft=yes .ft-over-ds=yes 
     datapath=wifi_vlan_40 
     datapath.bridge=local .vlan-id=40 
     steering=80211kv-home 
     steering.neighbor-group=dynamic-home-93582c49 .rrm=yes .wnm=yes 

 1   name="iotl" mode=ap ssid="iotl" manager=local security=iotl 
     security.authentication-types=wpa-psk,wpa2-psk .passphrase="shiteasypass" .ft=yes .ft-over-ds=yes 
     datapath=iot_legacy_vlan_61 
     datapath.bridge=local .vlan-id=61 

 2   name="guest" mode=ap ssid="guest" manager=local security=guest 
     security.authentication-types=wpa2-psk,wpa3-psk .passphrase="XXX" .ft=yes .ft-over-ds=yes 
     datapath=guest_vlan_80 
     datapath.bridge=local .vlan-id=80 

 3   name="iot" mode=ap ssid="iot" manager=local security=iot 
     security.authentication-types=wpa-psk,wpa2-psk .passphrase="alsoshiteasy" .ft=yes .ft-over-ds=yes 
     datapath.bridge=local .vlan-id=60 
     steering=80211kv-iot 
     steering.neighbor-group=dynamic-iot-597bfb1e .rrm=yes .wnm=yes 

 4   name="iotl-open" mode=ap ssid="ioto" country=Poland manager=local datapath=iot_legacy_open_vlan_62 
     datapath.bridge=local .vlan-id=62 

 5 X name="home-wifi-local" mode=ap manager=local security=home 
     security.authentication-types=wpa2-psk,wpa3-psk .passphrase="XXXXXX" .ft=yes .ft-over-ds=yes 
     datapath=wifi_vlan_40_local 
     datapath.bridge=local .traffic-processing=on-cap .vlan-id=40 

 6   name="iote" mode=ap ssid="iote" manager=local security=iote 
     security.authentication-types=wpa2-psk .passphrase="shiteasypass" .management-protection=disabled .wps=disable .ft=no 
     datapath=iot_legacy_vlan_61 
     datapath.bridge=local .vlan-id=61 

[admin@main] > /interface/wifi/provisioning/print  
Flags: X - DISABLED
Columns: ACTION, MASTER-CONFIGURATION, SLAVE-CONFIGURATIONS
#    ACTION                  MASTER-CONFIGURATION  SLAVE-CONFIGURATIONS
;;; 5-cap
0    create-dynamic-enabled  home-wifi             guest               
;;; 2-cap
1    create-dynamic-enabled  home-wifi             guest               
                                                   iot                 
                                                   iotl                
                                                   iotl-open           
                                                   iote                
;;; 5ac
2 X  create-dynamic-enabled  home-wifi             guest               
                                                   iot                 
;;; experiments only
3 X  create-dynamic-enabled  *E                                        
;;; 5-hap
4    create-dynamic-enabled  guest                 home-wifi           
                                                   guest               
;;; 2-hap
5    create-dynamic-enabled  guest                 home-wifi           
                                                   guest               
                                                   iot                 
                                                   iotl                
                                                   iotl-open           
                                                   iote    

Not really, that is a view on a part of the configuration that you believe is related, there could be other settings elsewhere, seemingly unrelated, that could cause the connection problem.

Post your complete configuration for review:

It is also worth checking what frequency the 5G is running on. I have experienced similar issues of not being able to see SSID, because router os decided to use higher frequency (5800+) due to surrounding noise.

In that instance i could see the ssid from phone but not from laptop.

When i manually set to lower frequency, equivalent to 36-40 band (cant remember exact numbers), i was able to see the ssid when scanning.

Not all devices are able to use full 5g frequency range.

Thanks all

In the AI era I've decided to give it to Claude. Case is partly-solved, meaning the Samsung devices connect but the actual root cause seems to be broken on both parties (Mikrotik and Samsung).
It has nothing to do with FT.

Analysis below:

SOLVED: Samsung appliances (SmartThings) won't stay connected to cAP ax / CAPsMAN – root cause and fix

Setup: CCR2004 as CAPsMAN controller. The access points are cAP ax and hAP ax3 on RouterOS 7.25 with the wifi-qcom package, traffic processing on the CAP, and one VLAN per SSID through datapath.vlan-id. The appliances are a Samsung fridge, oven, washer, dryer and dishwasher.

Symptom: the appliances only stayed connected to an open SSID. On any WPA2 SSID, onboarding failed with app error 15-200 / "cannot connect", or the device associated and then dropped in a loop. The MikroTik log showed disconnected, connection lost, followed 2 s later by connected, over and over.

What a capture shows

I captured over the air in monitor mode on the AP's channel, including the 4-way handshake, and decrypted it in Wireshark:

  • Association and the 4-way handshake (M1–M4) succeed. The PTK and GTK are installed and unicast traffic decrypts fine.
  • The station itself then sends a Deauthentication with reason 8 ("leaving"). The AP doesn't kick it.
  • That deauth comes 0–10 ms after the 2nd–4th "unexpected" group-addressed (broadcast/multicast) frame the AP sent on that SSID.
  • A test with WPA1/TKIP made it explicit: the fridge reported reason 14 (MIC failure), which then triggered the 60 s TKIP countermeasure lockout.

Root cause

The Samsung Wi-Fi module doesn't tolerate certain broadcast frames. A standard client silently discards a group frame it can't decrypt or doesn't understand. After a few such frames, the Samsung module instead treats the connection as broken and disassociates. I found three sources of these frames, and each one had to be removed:

  1. Other VLANs leaking into the SSID. The CAP's bridge had vlan-filtering=no. That made the CAP flood broadcasts from every VLAN (still 802.1Q-tagged) out of every SSID. In the decrypted capture, these leaked frames failed decryption/MIC, while broadcasts from the SSID's own VLAN decrypted fine. To the station they are broadcast frames encrypted wrongly. This produced drops about 2 s after every connect.
  2. STP BPDUs. The CAP's own bridge (RSTP, the default) sends a BPDU every 2 s out of every port, including the wifi interfaces. Fixing #1 stretched sessions to 7–9 s, and the drop then landed on the ~4th BPDU (28 of 37 drops within 7 ms of a BPDU).
  3. CDP from neighbor discovery, from both the CAP and the router, because the router has VLAN interfaces for the SSID VLANs. With STP off, every drop (7/7) came 0–10 ms after a CDP frame, usually the 2nd–4th CDP frame of the session. Sessions therefore lasted a multiple of the 30 s discovery interval (27–58 s).

Were the BPDU/CDP frames badly encrypted? Not at the level visible without the key. I checked every group frame on that SSID in both captures (about 130k frames in total). The trigger frames use the same GTK (key ID 1) as the ARP/DHCP broadcasts the fridge accepts. Their CCMP packet numbers increase strictly in sequence with all the other group frames: there are no replays and no out-of-order packet numbers, so no replay-check failure. From the outside they are encrypted exactly like the frames the fridge happily accepts.

What does set them apart is the payload format. BPDUs (LLC 42 42 03) and CDP (SNAP with the Cisco OUI 00 00 0C) are 802.3/LLC frames. Every normal frame (IP, ARP) is Ethernet II, which 802.11 always carries behind the RFC 1042 SNAP header AA AA 03 00 00 00. My best explanation is that Samsung's Wi-Fi firmware treats a decrypted frame without that standard header (or a tagged foreign-VLAN frame) as a decryption/integrity failure. It counts it like a MIC failure (compare the reason-14 result under TKIP) and after a few of them deauths "to recover". A standards-compliant client just drops or passes up such frames. So it's a Samsung firmware bug triggered by legitimate-but-unusual broadcast frames. For the leaked VLAN frames in #1, the bad decryption was actually observed.

Fix

You need all three. Each one alone only made the sessions longer.

# 1) On every CAP: enable VLAN filtering so only the SSID's own VLAN reaches it
/interface bridge vlan
add bridge=bridge tagged=bridge,ether1 vlan-ids=<mgmt>
add bridge=bridge tagged=ether1 vlan-ids=<ssid vlans>      # wifi VAPs are added dynamically
/interface bridge set bridge vlan-filtering=yes            # careful: have mgmt VLAN right first

# 2) On CAPs with a single uplink: STP off, loop protection on spare ports instead
/interface bridge set bridge protocol-mode=none
/interface ethernet set ether2 loop-protect=on

# 3) Router and CAPs: neighbor discovery only on the management/LAN interfaces
/interface list add name=DISCOVERY
/interface list member add list=DISCOVERY interface=<mgmt vlan>
/ip neighbor discovery-settings set discover-interface-list=DISCOVERY

Notes:

  • A bridge filter rule (chain=output dst-mac-address=01:80:C2:00:00:00/FF:FF:FF:FF:FF:FF) does not stop BPDUs. They bypass the bridge filter (0 matches). Use protocol-mode=none.
  • Setting edge=yes on the wifi ports doesn't stop BPDUs either. Edge ports still send them.
  • I ruled out FT, PMF, WPS, PMKID, MTU, firewall/DNS, password complexity and signal strength. None of them changed anything.

Result: the fridge has been connected to WPA2 for hours with no periodic drops. All the Samsung appliances moved to WPA2, and the open SSID and its VLAN are gone.

How to check if you have the same problem

  • In the log, look at the interval between disconnected events for the device. About 2 s points to leaked VLAN frames; about 4–8 s points to BPDUs (2 s hello); a multiple of 30 s (typically 60 s) points to CDP from neighbor discovery.
  • Capture over the air from a laptop in monitor mode, on the AP's channel, filtered to the AP's BSSID. If the station sends deauth reason 8 a few ms after a broadcast/multicast frame from the AP, it's this issue.
  • Check that the CAP bridge has vlan-filtering=yes, and look at which broadcast frames actually reach the SSID (/tool sniffer on the wifi interface).

Despite written by AI, which is hard to read for humans, it sounds legit. You should share your findings with Mikrotik support as well. This can be valuable for many different incompatibilities with printers and other iot devices.

Yeah i would send them a ticket to make em aware of it.

Yes, thank you

Reported: Log into Atlassian - Support