Message ID | 20250401201259.50627-1-janusz.dziedzic@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | wifi: allow tagged control packets | expand |
> > This is initial version I tested using Mediatek mt7915e and hostapd. > Guys please check/comment. > How serious are you with this? ;-) On a very quick read: the first patch cannot build, there's a security issue I think, the nl80211 attribute is defined wrong, you're making unrelated changes, and you're probably breaking older hostapd versions. johannes
śr., 2 kwi 2025 o 09:00 Johannes Berg <johannes@sipsolutions.net> napisał(a): > > > > > This is initial version I tested using Mediatek mt7915e and hostapd. > > Guys please check/comment. > > > > How serious are you with this? ;-) > :) > On a very quick read: the first patch cannot build, there's a security > issue I think, the nl80211 attribute is defined wrong, you're making > unrelated changes, and you're probably breaking older hostapd versions. > Just do minimal imp/check and share RFC, while don't know this approach could be accepted. BR Janusz -- Janusz Dziedzic
On Wed, 2025-04-02 at 09:17 +0200, Janusz Dziedzic wrote: > > Just do minimal imp/check and share RFC, while don't know this > approach could be accepted. > What choices are there? What's the alternative? Go back to sending the frames via raw sockets? I guess it works but it's not great? johannes
śr., 2 kwi 2025 o 09:24 Johannes Berg <johannes@sipsolutions.net> napisał(a): > > On Wed, 2025-04-02 at 09:17 +0200, Janusz Dziedzic wrote: > > > > Just do minimal imp/check and share RFC, while don't know this > > approach could be accepted. > > > > What choices are there? What's the alternative? Go back to sending the > frames via raw sockets? I guess it works but it's not great? > Yes, back to netdev/bridge eap read in hostapd should fix receive path. But, don't see it on netdev/bridge when use tcpdump - guess we change smth here for rx path (or skip not protected when control port used). Some background: - backhaul AP send primary_vlan_id in assoc resp in multi_ap IE - backhaul STA (agent) if support multi_ap profile >= 2 should tag EAPOLs with primary_vlan_id - with control_port we have today hostapd backhaul AP don't get this tagged EAPOLs Other issue is sending tagged EAPOL from hostapd when backhaul STA multi_ap_profile >= 2. But RX path looks like regression compare to raw sockets. BR Janusz