Here's my WiFi 5G configuration. Nothing extraordinary: What device are you using? Setting gain manually should only be used for devices where antenna can be detached. Otherwise you should use TX Power and leave gain to default. It's MikroTik hAP ax^3, currently with 7.14.3. I didn't enter antenna ...