mt76 icon indicating copy to clipboard operation
mt76 copied to clipboard

secondary AP not running if in STA mode

Open alex-eri opened this issue 4 years ago • 4 comments

STA works, but without WDS support

OpenWrt 19.07.4, r11208-ce6496d796, MediaTek MT7628AN ver:1 eco:2, Linux 4.14.195

in log I have many lines

daemon.err hostapd: Failed to set beacon parameters
daemon.notice hostapd: handle_probe_req: send failed

alex-eri avatar Nov 14 '20 22:11 alex-eri

Don't count on WDS: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/

lukasz1992 avatar Nov 16 '20 11:11 lukasz1992

But this is some kind of old version of WDS: https://patchwork.kernel.org/project/linux-wireless/patch/[email protected]/ _The old WDS 4-addr frame support is very limited, e.g.

  • no encryption is possible on such links
  • it cannot support rate/HT/VHT negotiation
  • management APIs are very restricted

These make the WDS legacy mode useless in practice.

All of these are resolved by the 4-addr AP/client support, so there's also no reason to improve WDS in the future.

Therefore, add a Kconfig option to disable legacy WDS. This gives people an "emergency valve" while they migrate to the better-supported 4-addr AP/client option; we plan to remove it (and the associated cfg80211/mac80211 code, which is the ultimate goal) in the future._

kofec avatar Nov 16 '20 15:11 kofec

Problem exists with WDS off. I tryed pseudobridge with relayd too.

alex-eri avatar Nov 18 '20 11:11 alex-eri

Similar issue here on GL-MT1300 (MT7615D) 2.4Ghz when trying to use STA/AP on the same radio.

DISTRIB_ID='OpenWrt' DISTRIB_RELEASE='SNAPSHOT' DISTRIB_REVISION='r19119-da2b97210c' DISTRIB_TARGET='ramips/mt7621' DISTRIB_ARCH='mipsel_24kc' DISTRIB_DESCRIPTION='OpenWrt SNAPSHOT r19119-da2b97210c'

Tue Mar 15 13:06:54 2022 daemon.notice hostapd: Configuration file: /var/run/hostapd-phy0.conf (phy wlan0-1) --> new PHY Tue Mar 15 13:06:54 2022 kern.info kernel: [ 306.269406] br-lan: port 3(wlan0-1) entered blocking state Tue Mar 15 13:06:54 2022 kern.info kernel: [ 306.274981] br-lan: port 3(wlan0-1) entered disabled state Tue Mar 15 13:06:54 2022 kern.info kernel: [ 306.281491] device wlan0-1 entered promiscuous mode Tue Mar 15 13:06:54 2022 daemon.notice hostapd: wlan0-1: interface state UNINITIALIZED->ENABLED Tue Mar 15 13:06:54 2022 daemon.notice hostapd: wlan0-1: AP-ENABLED Tue Mar 15 13:06:56 2022 daemon.notice netifd: radio0 (6384): sh: out of range Tue Mar 15 13:06:56 2022 daemon.notice netifd: Wireless device 'radio0' is now up Tue Mar 15 13:06:56 2022 daemon.notice netifd: Interface 'test' is enabled Tue Mar 15 13:06:56 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:02 2022 daemon.notice wpa_supplicant[3621]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN Tue Mar 15 13:07:11 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:11 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:11 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:12 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:12 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:12 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:12 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:17 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:18 2022 daemon.notice hostapd: handle_probe_req: send failed Tue Mar 15 13:07:27 2022 daemon.notice hostapd: handle_probe_req: send failed

simontretter avatar Mar 15 '22 13:03 simontretter