turris omnia 5GHz wifi, country set to germany: channel 144 kills wifi0
To reproduce:
Turris Omnia Indiegogo edition, flashed with latest medkit (5.2 from HBS).
Minimalist setup as router, country Germany after the wizard basically only wifi was configured.
5GHz wifi on wlan0, mode ac, channel 140 80MHz channel width.
Effect: wifi0 doesn't come back up again, chassis led is off. reboot doesn't help. Once in this mode it's easiest to turn wifi0 off, switch it to 2.4GHz, turn it back on and go from there.
To fix: Switch to another channel with no overlap with channel 144, e.g. 136, 149 or 153. Changing the channel width to 20MHz obviously works too, but doesn't seem like a good fix.
Expected behaviour: a warning regarding this (probably country specific) issue + switching to a closeby working channel like 136 or 149
relevant excerpt from /var/log/messages:
May 31 02:13:54 turris kernel: [ 1873.286161] ath10k_pci 0000:02:00.0: pdev param 0 not supported by firmware
May 31 02:13:54 turris kernel: [ 1873.307231] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
May 31 02:13:54 turris kernel: [ 1873.330053] IPv6: ADDRCONF(NETDEV_CHANGE): wlan1: link becomes ready
May 31 02:13:54 turris kernel: [ 1873.337351] br-lan: port 6(wlan0) entered blocking state
May 31 02:13:54 turris kernel: [ 1873.342766] br-lan: port 6(wlan0) entered disabled state
May 31 02:13:54 turris kernel: [ 1873.348247] device wlan0 entered promiscuous mode
May 31 00:13:54 turris hostapd: wlan0: interface state UNINITIALIZED->COUNTRY_UPDATE
May 31 00:13:54 turris hostapd: wlan1: interface state COUNTRY_UPDATE->ENABLED
May 31 00:13:54 turris hostapd: wlan1: AP-ENABLED
May 31 00:13:54 turris hostapd: **Channel 144 (secondary) not allowed for AP mode, flags: 0x109 RADAR**
May 31 00:13:54 turris hostapd: wlan0: IEEE 802.11 Configured channel (140) not found from the channel list of current mode (2) IEEE 802.11a
May 31 00:13:54 turris hostapd: wlan0: IEEE 802.11 Hardware does not support configured channel
May 31 00:13:54 turris hostapd: Could not select hw_mode and channel. (-3)
May 31 00:13:54 turris hostapd: wlan0: interface state COUNTRY_UPDATE->DISABLED
May 31 00:13:54 turris hostapd: wlan0: AP-DISABLED
May 31 00:13:54 turris hostapd: wlan0: Unable to setup interface.
May 31 00:13:54 turris hostapd: wlan0: interface state DISABLED->DISABLED
May 31 00:13:54 turris hostapd: wlan0: AP-DISABLED
May 31 00:13:54 turris hostapd: wlan0: CTRL-EVENT-TERMINATING
May 31 00:13:54 turris hostapd: hostapd_free_hapd_data: Interface wlan0 wasn't started