[BPI-R2] MT7615 Anyone got DBDC properly working?

Hi guys :metal:

I need some help here please, this issue is kinda unexplainable to me.

So since the internal wifi chip is basically unusable in a proper production environment (it just stops authenticating after being on for a longer time) I tried getting 2.4GHz and 5GHz working on my MT7615 PCIe card.

I can get either 2.4GHz or 5GHz working wihout issue when NOT in DBDC mode, all good there.

I can ONLY get 2.4GHz working properly when in DBDC mode for some reason.

5GHz “works” in the sense that I can see the SSID in my list and try to connect to it, I even get an IP address but then then client just disconnects after a few seconds and I can’t reconnect again. If I want to try to reconnect again and be “successful” then I need to wait for the station to be recognized from hostapd to be disconnected ro restart hostapd.

Does anyone got a working hostapd config or something that I could check if I’m missing something?

The same config works in non-DBDC mode btw. so it’s just odd for me that it doesn’t work for some reason in DBDC mode with the appropiate interface. wlan0 for 2.4GHz and wlan1 for 5GHz as seen in the “iw list” capabilities.

My config:

interface=wlan1
bridge=br1
driver=nl80211
hw_mode=a
ctrl_interface=/var/run/wlan1
ctrl_interface_group=0

logger_syslog=-1
logger_syslog_level=1
logger_stdout=-1
logger_stdout_level=1


beacon_int=100
dtim_period=2

ssid=xxx
utf8_ssid=1

auth_algs=3
wpa=2
wpa_key_mgmt=WPA-PSK WPA-PSK-SHA256
rsn_pairwise=CCMP
rsn_preauth=1
ieee80211w=2
wpa_psk=xxx

channel=44
vht_oper_centr_freq_seg0_idx=50
acs_exclude_dfs=0

max_num_sta=255

ieee80211d=1
ieee80211h=1
spectrum_mgmt_required=1
local_pwr_constraint=3
country_code=xx

ieee80211n=1
ht_capab=[LDPC][HT40+][HT40-][GF][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-3839]

ieee80211ac=1
vht_capab=[MAX-A-MPDU-LEN-EXP3][MAX-MPDU-7991][RXLDPC][SHORT-GI-80][TX-STBC-2BY1][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][BF-ANTENNA-2][SOUNDING-DIMENSION-2]
vht_oper_chwidth=1

wmm_enabled=1
wmm_ac_bk_cwmin=4
wmm_ac_bk_cwmax=10
wmm_ac_bk_aifs=7
wmm_ac_bk_txop_limit=0
wmm_ac_bk_acm=0
wmm_ac_be_aifs=3
wmm_ac_be_cwmin=4
wmm_ac_be_cwmax=10
wmm_ac_be_txop_limit=0
wmm_ac_be_acm=0
wmm_ac_vi_aifs=2
wmm_ac_vi_cwmin=3
wmm_ac_vi_cwmax=4
wmm_ac_vi_txop_limit=94
wmm_ac_vi_acm=0
wmm_ac_vo_aifs=2
wmm_ac_vo_cwmin=2
wmm_ac_vo_cwmax=3
wmm_ac_vo_txop_limit=47
wmm_ac_vo_acm=0

I replaced some values with “x” because of… well obvious reasons.

To pre-answer some possible questions that may come: There are two phys and two wlan interfaces when in DBDC mode. There are three seperate configs to be used with the appropiate mode and interface with appropiate adjusted capabilities.

I really don’t know what else to try here…

1 Like

Ok figured something out when searching and testing.

You HAVE TO bring up the first interface first with 2.4GHz and then you can bring up the second interface with 5GHz.

Wow, that’s an extensive hostapd config. I assume that it makes the most of the MT7615’s capabilities, right?