OK, so I've been experimenting a bit and the problem seems to be related to the country settings. I am currently in Kazakhstan, but when I set the country to Kazakhstan on the 5GHz configuration, it stops working.
Here's a working CAPsMAN configuration that has everything set correctly (country is set to Kazakhstan). Everything works, except the 5GHz radio.
/caps-man channel
add band=2ghz-onlyn control-channel-width=20mhz extension-channel=disabled name=channel2
add band=5ghz-n/ac control-channel-width=20mhz extension-channel=eC name=channel5 \
skip-dfs-channels=yes
/caps-man datapath
add bridge=bridge1 client-to-client-forwarding=yes name=datapath1
/caps-man security
add authentication-types=wpa2-psk encryption=aes-ccm group-encryption=aes-ccm name=\
security1 passphrase=xxx
/caps-man configuration
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest2 \
security=security1 ssid=WifiTest2
add channel=channel5 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest5 \
security=security1 ssid=WifiTest5
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest25 \
security=security1 ssid=WifiTest
add channel=channel5 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest52 \
security=security1 ssid=WifiTest
/caps-man manager
set enabled=yes upgrade-policy=suggest-same-version
/caps-man provisioning
add action=create-dynamic-enabled master-configuration=WifiTest52 name-format=prefix \
name-prefix=cap-ap5- radio-mac=xx:xx:xx:xx:xx:x8 slave-configurations=WifiTest5
add action=create-dynamic-enabled master-configuration=WifiTest25 name-format=prefix \
name-prefix=cap-ap2- radio-mac=xx:xx:xx:xx:xx:x9 slave-configurations=WifiTest2
The 5GHz interface, however, reports "no supported channel":
[admin@MikroTik] > /caps-man interface print detail where name=cap-ap5-1
Flags: M - master, D - dynamic, B - bound, X - disabled, I - inactive, R - running
0 MDBI ;;; no supported channel
name="cap-ap5-1" mac-address=xx:xx:xx:xx:xx:x8 arp-timeout=auto
radio-mac=xx:xx:xx:xx:xx:x8 master-interface=none configuration=WifiTest52
current-state="no-channel"
Now, if I change
nothing but the country setting (replacing "kazakhstan" by "germany", for example) it begins to work:
/caps-man configuration
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest2 \
security=security1 ssid=WifiTest2
add channel=channel5 country=germany datapath=datapath1 mode=ap name=WifiTest5 security=\
security1 ssid=WifiTest5
add channel=channel2 country=kazakhstan datapath=datapath1 mode=ap name=WifiTest25 \
security=security1 ssid=WifiTest
add channel=channel5 country=germany datapath=datapath1 mode=ap name=WifiTest52 security=\
security1 ssid=WifiTest
If you compare this to the example above, you'll find that the only thing that has changed is the country setting.
The 5GHz interface comes up fine (channel 48, 5240 MHz, for indoor use), and devices begin to see the 5GHz SSID:
[admin@MikroTik] > /caps-man interface print detail where name=cap-ap5-1
Flags: M - master, D - dynamic, B - bound, X - disabled, I - inactive, R - running
0 MDB name="cap-ap5-1" mac-address=xx:xx:xx:xx:xx:x8 arp-timeout=auto
radio-mac=xx:xx:xx:xx:xx:x8 master-interface=none configuration=WifiTest52
l2mtu=1600 current-state="running-ap" current-channel="5240/20-eC/ac/P(23dBm)"
current-rate-set="OFDM:6-54 BW:1x-2x SGI:1x-2x HT:0-23 VHTMCS:SS1=0-9,SS2=0-9,SS3=0-
9"
current-basic-rate-set="OFDM:6 BW:1x HT:0-7" current-registered-clients=0
current-authorized-clients=0
Now what's the best way to work around this problem with the country settings? I'm pretty sure that 5GHz radio is allowed in Kazakhstan, but I have found no way to configure it properly.