morrownr / USB-WiFi

USB WiFi Adapter Information for Linux
2.4k stars 161 forks source link

mt7921au: Client Mode WDS/4addr not working #422

Open ntzb opened 2 months ago

ntzb commented 2 months ago

Hi, to not mix the AP mode issue at https://github.com/morrownr/USB-WiFi/issues/392 I'm starting a new issue. I tried to activate 4addr on regular client mode, but it refused working. my device is FU-AX1800, with latest firmware, and chip mt7921au.

what I tried:

  1. multiple OS (debian, arch, clear linux) on a celeron mini pc.
  2. take down the interface before doing any changes ip link set dev wlx90de80d6883f down
  3. setting 4addr on the interface itself: iw dev wlx90de80d6883f set 4addr on
  4. setting 4addr on a new pseudo interface: iw dev wlx90de80d6883f interface add myNewIface type managed 4addr on

in all cases I got: command failed: Operation not supported (-95)

@morrownr since you successfully got it to work, can you please share your full env and steps taken?

ntzb commented 2 months ago

@morrownr any help will be appreciated

morrownr commented 2 months ago

@ntzb

I'm watching but my inability to dig deeper into this issue is due to some health issues in my family so my time is llimited. Hopefully, at some point, I have more time. There are some pretty smart people that stop by here not necessarily on a daily basis as this is not a social media site but over time some help should come along.

ntzb commented 2 months ago

of course, sorry. all the best

ntzb commented 1 month ago

decided to give it another go with OpenWRT, same thing (Operation not supported):

daemon.notice hostapd: Set new config for phy phy0:
daemon.notice wpa_supplicant[1635]: Set new config for phy phy0
daemon.notice netifd: radio0 (7858): sh: out of range
daemon.notice wpa_supplicant[1635]: Set new config for phy phy0
daemon.notice hostapd: Set new config for phy phy0:
daemon.notice wpa_supplicant[1635]: Set new config for phy phy0
daemon.notice wpa_supplicant[1635]: Failed to create device phy0-sta0: Operation not supported
daemon.err wpa_supplicant[1635]: Could not read interface phy0-sta0 flags: No such device
dacmon.notice upa_supplicant[1635]: n180211: Driver does not support authentication/association
daemon.notice wpa_supplicant[1635]: n180211: deinit ifname=phy0-sta0 disabled_11b_rates=0
daemon.err wpa_supplicant[1635]: Could not read interface phy0-sta0 flags: No such device
daemon.err wpa_supplicant[1635]: phy0-sta0: Failed to initialize driver interface

can the x86 hardware itself block the ability to use 4addr? all of my tries were done on the same PC

bjlockie commented 1 month ago

rfkillmaybe?

ntzb commented 1 month ago

please do elaborate

bjlockie commented 1 month ago
$ sudo rfkill
ID TYPE      DEVICE              SOFT      HARD
 0 bluetooth acer-bluetooth   blocked unblocked
 1 wlan      phy0           unblocked unblocked