/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-XX \
disabled=no disconnect-timeout=15s distance=indoors frequency=auto \
hw-retries=15 installation=outdoor mode=ap-bridge on-fail-retry-time=1s \
security-profile=NAF1 ssid=NAF1 wireless-protocol=802.11 wmm-support=\
enabled wps-mode=disabled
Well not very well defined this way ....
- avoid 802.11b (as told by rextended)
-channel-width=20/40mhz-XX . 40 Mhz Wide channel is mostly a problem in 2.4GHz band. And with XX you don't even control what side the extension channel is on (eg Ce or eC)
-disconnect=15s .... desperate attempt to hold on ! 15 seconds without the ability to send just one packet !?
-frequency=auto . Here all is open. What will you get? Unpredictable stability!
-hw-retries=15 .... helps to keep up the higher rates longer. The interface rate selection process will respond slowly to worsening conditions with interface rate reductions, but indeed more retries.
-on-fail-retry-time=1s , this is not helping at all. You only retry every second, instead of 10 times per second.
Check the connection quality. It is in the "registration table"! Check signal strength and SNR. Check interface rate and it's fluctuations! Do the same for the TX/RX CCQ!
(low CCQ can also be caused by obstructions, like a wall)
But start to observe the environment for a while with "Freq Usage" , and "Snooper", then select the proper channel avoiding interference based on the observation.