MT7915E Incorrectly Trying to use 6 GHz Band

We have a problem with the MT7915 radio. Sometimes it switches to the 6 GHz band instead of the selected channel. I find this issue in the HE20/HE40/HE80 MHz modes, across different regions and channels that I have tested. I tested it using the command ubus hostapd switch_chan, as well as through the config file. I discovered that the AM region is mostly garbaged. I mainly use the KZ and CN regions, and everything is almost fine there.

I also conducted some experiments with the mt76 driver and tried to disable the transition to 6 GHz wherever it seemed possible to me. And I feel that it sometimes works, but not always. But with the given config, I always get 6 GHz:

config wifi-device 'radio1'
		...
        option channel '36'
        option band '5g'
        option htmode 'HE40'
        option txpower '20'
        option country 'AM'
        ...

I also noticed a strange way to achieve operation at the required frequency, bandwidth, and region. If you make many attempts to switch (ubus hostapd switch_chan) to random channels, at some point it is possible to set the desired configuration. I stumbled upon this while running my script, which switches to a random channel with bandwidth every 2 seconds.

Forexample:

ubus call hostapd.wlan1 switch_chan "{'freq':5180,'bcn_count':10,'bandwidth':40,'sec_channel_offset':0,'ht':true,'he':true}"

I even tried to ban 6GHz via device tree. But it doesn't work for me.

&pcie0 {
	wifi@0,0 {
		compatible = "mediatek,mt76";
		reg = <0x0000 0 0 0 0>;
		mediatek,mtd-eeprom = <&factory 0x0>;
		nvmem-cells = <&macaddr_factory_e00c>;
		nvmem-cell-names = "mac-address";
		ieee80211-freq-limit = <5000000 6000000>;
	};
};

The issue with switching to 6 GHz occurs in all versions of OpenWRT v21.02.0-rc1 and later.

Is there anyone in the community who cares, understands this, and can help?
Maybe you have a firmware fix, ideas or some workaround?

link to open issue on github.

Your observation about switching rwgions is correct, you cannot switch DFS zone between etsi/fcc/jp , essentially restrictions just accumulate.

1 Like

Thank you for your response! Can you explain in more detail? I don’t understand what DFS has to do with it, since the switch to 6 GHz occurs on channels without DFS.

CC: AM
HTMode: HE40
Frequencies:
* 5180 MHz [36] (18.0 dBm) -> 6GHz
* 5200 MHz [40] (18.0 dBm) -> 6GHz
* 5220 MHz [44] (18.0 dBm) -> 6GHz
* 5240 MHz [48] (18.0 dBm) -> 6GHz
* 5260 MHz [52] (18.0 dBm) (radar detection) -> 6GHz
* 5280 MHz [56] (18.0 dBm) (radar detection) -> 6GHz
* 5300 MHz [60] (18.0 dBm) (radar detection) -> 6GHz
* 5320 MHz [64] (18.0 dBm) (radar detection) -> 6GHz
* 5500 MHz [100] (disabled) -> 6GHz
* 5520 MHz [104] (disabled) -> 6GHz
* 5540 MHz [108] (disabled) -> 6GHz
* 5560 MHz [112] (disabled) -> 6GHz
* 5580 MHz [116] (disabled) -> 6GHz
* 5600 MHz [120] (disabled) -> 6GHz
* 5620 MHz [124] (disabled) -> 6GHz
* 5640 MHz [128] (disabled) -> 6GHz
* 5660 MHz [132] (disabled) -> 6GHz
* 5680 MHz [136] (disabled) -> 6GHz
* 5700 MHz [140] (disabled) -> 6GHz
* 5720 MHz [144] (disabled) -> 6GHz
* 5745 MHz [149] (disabled)
* 5765 MHz [153] (disabled) -> 6GHz
* 5785 MHz [157] (disabled) -> 6GHz
* 5805 MHz [161] (disabled)
* 5825 MHz [165] (disabled) -> 6GHz
* 5845 MHz [169] (disabled) -> 6GHz
* 5865 MHz [173] (disabled) -> 6GHz

I have noticed the same issue just after flashing sysupgrade image on my Xiaomi AX3200. It showed 6GHz band and, obviously, it didn't work. But after another reboot it started working as normal. I tried reflashing once again and couldn't reproduce the issue. AP works as expected so far.

Which region are you using?

Russian Federation

1 Like

The region of Russia, like many other regions, is mostly stable. I noticed that switching to 6 GHz happens very rarely. I am also concerned about why the radio switches to 6 GHz. It would make more sense if it turned off in case of issues.