morrownr / 7612u

Linux Support for USB WiFi Adapters that are based on the MT7612U Chipset
73 stars 9 forks source link

Question: Is STA+AP concurrent mode supported in mt7612u ? #2

Closed jimyang2008 closed 2 years ago

jimyang2008 commented 3 years ago

Here's what I have tried

# add wlan1
sudo iw phy phy0 interface add wlan1 type managed
# change MAC to be different from wlan0
sudo ip link set wlan1 address <different_MAC_from_wlan0>
# try to setup AP on wlan0 and STA on wlan1
sudo hostapd -i wlan0 /etc/hostapd/hostapd-5g.conf
sudo wpa_supplicant -i wlan1 -c /etc/wpa_supplicant/wpa_supplicant-wlan1.conf

The observations are

morrownr commented 3 years ago

The short answer is yes.

It has been some time since I tried this so my memory is not fresh and I am currently in the process of moving with most equipment packed so my ability to check things out is limited.

With that said, here is the relevant statement from $ iw list

{ IBSS } <= 1, #{ managed, AP, mesh point, P2P-client, P2P-GO } <= 2,

total <= 2, #channels <= 1, STA/AP BI must match

Make sure both are on the same channel as I think that is the problem I have seen people run into.

Cheers

morrownr commented 3 years ago

Is this issue solved?