Open palbiez opened 4 months ago
The 5GHz chip - MT7613BE found in this router is handled in the driver as a special case in the MT7615 driver, internally referred to as 7663.
There is code in mt7615_init_wiphy
that sets up available channels:
if (is_mt7663(&phy->dev->mt76)) {
wiphy->iface_combinations = if_comb;
wiphy->n_iface_combinations = ARRAY_SIZE(if_comb);
} else {
wiphy->iface_combinations = if_comb_radar;
wiphy->n_iface_combinations = ARRAY_SIZE(if_comb_radar);
}
where if_comb
and if_comb_radar
have the following values:
static const struct ieee80211_iface_combination if_comb_radar[] = {
{
.limits = if_limits,
.n_limits = ARRAY_SIZE(if_limits),
.max_interfaces = MT7615_MAX_INTERFACES,
.num_different_channels = 1,
.beacon_int_infra_match = true,
.radar_detect_widths = BIT(NL80211_CHAN_WIDTH_20_NOHT) |
BIT(NL80211_CHAN_WIDTH_20) |
BIT(NL80211_CHAN_WIDTH_40) |
BIT(NL80211_CHAN_WIDTH_80) |
BIT(NL80211_CHAN_WIDTH_160) |
BIT(NL80211_CHAN_WIDTH_80P80),
}
};
static const struct ieee80211_iface_combination if_comb[] = {
{
.limits = if_limits,
.n_limits = ARRAY_SIZE(if_limits),
.max_interfaces = MT7615_MAX_INTERFACES,
.num_different_channels = 1,
.beacon_int_infra_match = true,
}
};
This directly causes DFS channels to not be available on MT7613.
I'm sure that this is intentional as there is a possibility that MT7663 firmware doesn't support detecting radar pulses (or doesn't detect them properly).
It would be trivial change the code and enable DFS channels, but you may be breaking local regulations if the hardware doesn't detect the radar pulses properly.
Hi, I'm new in Openwrt and installed yesterday a Cudy WR1300 v3 with the current 23.05.3 release. After creating a wireless network the 5g device is not coming up successful
The Channel Analisys says no data and my second SSID is says: "Wireless is not associated" restart is not successful
I changed the Country code to US nothing happens. Changed back to DE Changed the channel from Auto to 36. All is working well.
Network
Kernel log
Syslog