Weaker signal on OpenWrt compared to stock firmware | Totolink x5000r

I installed OpenWrt on Totolink x5000r and it looks like the signal strength (range) is weaker after that. I modified the channel, ht mode and txpower to reproduce the same functionality, but I gave up.

Can you provide me other factors that can impact the signal quality?

SSH in to the router and run cat /etc/config/wireless

Redact the passwords in the "option key" sections.

Post results using "Preformatted text" (icon highlighted in red)...

OpenWRT Posting Icons

did you update your location (country ?), in the wifi settings ?

I temporary flushed back to stock firmware

Yes, I set country to PL

Can't really help you with an OpenWRT issue if you're on stock.

So, either re-flash OpenWRT, or mark your issue as solved.

Thanks.

This is my wireless config:

config wifi-device 'radio0'
        option type 'mac80211'
        option channel 'auto'
        option hwmode '11g'
        option path 'soc/soc:pcie-controller/pci0000:00/0000:00:01.0/0000:01:00.0'
        option htmode 'HT20'
        option country 'PL'
        option txpower '20'
		option cell_density '0'

config wifi-iface
        option device 'radio0'
        option mode 'ap'
        option ssid 'MyNetwork_2Ghz'
        option network 'lan'
        option encryption 'psk2'
        option key 'password'

config wifi-device 'radio1'
        option type 'mac80211'
        option channel 'auto'
        option hwmode '11a'
        option path 'soc/soc:pcie-controller/pci0000:00/0000:00:02.0/0000:02:00.0'
        option htmode 'HE80'
        option country 'PL'
        option txpower '20'
		option cell_density '0'

config wifi-iface
        option device 'radio1'
        option mode 'ap'
        option ssid 'MyNetwork_5Ghz'
        option network 'lan'
        option encryption 'psk2'
        option key 'password'

So you're referring to the 2.4 Ghz being weaker?

Take channel off of auto, and assign it.

Set Distance to 100 (meters) to start.

Use a WiFi analyzer app to see what channels are being used in your neighborhood, what your signal strength is, and what parts of your house are dead zones.

I'm referring to the 5 Ghz. I assigned channel manually but the signal is still worst than on stock firmware.

Is there a difference between txpower and distance?

There is.

Most of the same suggestions for 5 Ghz...

What channel did you use?

I believe

option htmode 'HE80'

is for WiFi 6 (AX), not 5 Ghz (AC).

This device supports WiFi 6 (AX) and it works with htmode 'HE80'
I've been testing on channel 36 and 100

You have HE80 defined for the 5 Ghz interface.

100 is a DFS channel (radar).

In read this router supports HE80 on 5GHz and HE40 on 2,4 GHz

And it appears it doesn't work well...in OpenWRT.

I would suggest using VHT20, VHT40, or VHT80 for 5 Ghz, and test.

Currently I use r18466-1e4469b090 SNAPSHOT which I find stable on my device.
Here is my wireless config:

config wifi-device 'radio0'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0'
        option channel '6'
        option band '2g'
        option htmode 'HE20'
        option country 'ZA'
        option cell_density '0'

config wifi-iface 'default_radio0'
        option device 'radio0'
        option network 'IOT'
        option mode 'ap'
        option ssid 'my_IOT'
        option encryption 'psk2'
        option key 'xxx'
        option ieee80211w '1'

config wifi-device 'radio1'
        option type 'mac80211'
        option path '1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0+1'
        option channel '104'
        option country 'ZA'
        option band '5g'
        option htmode 'HE80'
        option cell_density '0'

config wifi-iface 'default_radio1'
        option device 'radio1'
        option network 'lan'
        option mode 'ap'
        option ssid 'my_lan'
        option encryption 'psk2'
        option key 'xxx'
        option ieee80211w '1'