Antenna gain should not be changed, especially for devices with built-in antennas. What were you trying to achieve anyway?
If your signal is too weak, fix position or alignment. Playing with antenna gain is not the right way and can be illegal.
Hi, tested on hAP ac lite RB952Ui-5ac2nD.
What are we trying to achieve - make basic wireless configuration.
1. Frequency Mode -> regulatory-domain. (If apply is pressed after this step, it is accepted.)
2. Country -> select country (in my case Bulgaria).
3. Press Apply -> error returned: "minimal antenna-gain for this country is 2 (6)".
It is worth to note that the CLI shows and allows the setting of the antenna-gain parameter (value-name).
/interface wireless> print advanced
2 name="wlan5" mtu=1500 l2mtu=1600 mac-address=C4:AD:34:xx:xx:xx arp=enabled disable-running-check=no interface-type=Atheros AR9888
radio-name="C4AD3XXXXXX" mode=ap-bridge ssid="5GHz" area="" frequency-mode=regulatory-domain country=no_country_set
installation=any antenna-gain=0 frequency=5180 band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX secondary-channel=""
scan-list=default wireless-protocol=802.11 rate-set=default …….
The default value is 0: antenna-gain=0.
After changing the value through CLI to 2, the above settings are accepted.
The default value for antenna-gain is 0 for both 2.4 and 5 GHz.
Apart from the issues with working with Tx power, I would suggest that If the country is supposed to be set through WinBox (GUI), then an internal software check should be made and the corresponding antenna-gain value for the respective country be set automatically, so the country change is accepted. If the value is the same for all
, then it should be easier.
You do not have the required permissions to view the files attached to this post.