]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-client.git/commit
wifi: mac80211: use ap_addr for 4-address NULL frame destination
authorTamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com>
Thu, 26 Mar 2026 16:47:22 +0000 (22:17 +0530)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Apr 2026 13:43:02 +0000 (15:43 +0200)
commit594be50a3f0a6b7389f40f7acbf0dd731beb5204
tree35237371923c94e926d4ca18281d2947eb6c6ca6
parent469d5d5a3b7a133837004a18f34c899625fd5941
wifi: mac80211: use ap_addr for 4-address NULL frame destination

Currently ieee80211_send_4addr_nullfunc() uses deflink.u.mgd.bssid
for addr1 and addr3 fields. In MLO configurations, deflink.u.mgd.bssid
represents link 0's BSSID and is not updated when link 0 is not an
assoc link. This causes 4-address NULL frames to be sent to the
wrong address, preventing WDS AP_VLAN interface creation on the peer AP.

To fix this use sdata->vif.cfg.ap_addr instead, which contains the AP's MLD
address populated during authentication/association and remains
valid regardless of which links are active.

This ensures 4-address NULL frames reach the correct AP, allowing
proper WDS operation over MLO connections.

Co-developed-by: Sathishkumar Muruganandam <quic_murugana@quicinc.com>
Signed-off-by: Sathishkumar Muruganandam <quic_murugana@quicinc.com>
Signed-off-by: Tamizh Chelvam Raja <tamizh.raja@oss.qualcomm.com>
Link: https://patch.msgid.link/20260326164723.553927-3-tamizh.raja@oss.qualcomm.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mlme.c