just for the purpose of completeness, this is what i ended up doing. I was not able to combine SSID, it would go back to defaulting to 2ghz no matter what I tried.. maybe there is something i am just missing.
Looks a lot better, think that channels is a bit redundant (as one definition per channel is enough). But that is not the problem.
What could be the problem is clients connecting while the 5GHz radio is performing DFS scanning (for a minute at max). DUring that time only the 2.4GHz radio is available. Bu tbe aware...it is up to the device to make a choice which radio it will connect to.
When I see devices connected to the 2.4GHz radio (and after all radios are available), I just remove them from the Registration. Afterwards, they reconnect and tend to prefer 5GHz.
Question: what is the difference between the two datapaths? Why not use a single datapath (definition)?
And are you aware that the highlighted parts underneath are allready set?
/interface wifi
set [ find default-name=wifi2 ] channel=router-2ghz \
channel.skip-dfs-channels=10min-cac configuration=router-2ghz \
configuration.mode=ap .tx-chains="" datapath.bridge=bridge disabled=no \
name=router-2ghz security=foxglenacres
security.connect-priority=0 .ft=\
yes .ft-over-ds=yes
set [ find default-name=wifi1 ] channel=router-5ghz configuration=router-5ghz \
configuration.mode=ap datapath=router-datapah disabled=no name=\
router-5ghz security=foxglenacres
security.authentication-types="" .ft=\
yes .ft-over-ds=yes
And please be aware that empty settings could screw things up. Like security.authentication-types="".
This will overwrite the setting from security!
Hence you want to have a single security definition and use it in the confguration.
Edit
Think the underneath config is sufficient in your situation.
Haven't tested it, passphrase is (obviously) missing. Lot of cleaning up nevertheless....
And naming convention of the different parts makes it a lot more readable.
Hope this brings you to the preferred situation.
/interface wifi channel
add band=2ghz-ax disabled=no frequency=2412,2437,2460 name=2ghz-channel width=\
20mhz
add band=5ghz-ax disabled=no frequency=5180-5700 name=5ghz-channel \
skip-dfs-channels=10min-cac width=20/40/80mhz
/interface wifi datapath
add bridge=bridge disabled=no name=wifi-datapath
/interface wifi security
add authentication-types=wpa2-psk connect-priority=0/1 disabled=no ft=yes \
ft-over-ds=yes group-encryption=ccmp name=foxglenacres
/interface wifi configuration
add channel=2ghz-channel country="United States" datapath=wifi-datapath \
disabled=no mode=ap name=2ghz-configuration security=foxglenacres ssid=\
foxglenacres tx-power=5
add channel=5ghz-channel country="United States" datapath=wifi-datapah \
disabled=no mode=ap name=5ghz-configuration security=foxglenacres ssid=\
foxglenacres
/interface wifi
set [ find default-name=wifi1 ]configuration=5ghz-configuration \
disabled=no name=5ghz-wifi
set [ find default-name=wifi2 ] configuration=2ghz-configuration \
disabled=no name=2ghz-wifi
/interface wifi provisioning
add action=create-dynamic-enabled disabled=no master-configuration=\
5ghz-cnfiguration name-format=%I supported-bands=5ghz-ax
add action=create-dynamic-enabled disabled=no master-configuration=\
2ghz-configuration name-format=%I supported-bands=2ghz-ax