summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChin-Yen Lee <timlee@realtek.com>2026-06-25 14:15:43 +0800
committerPing-Ke Shih <pkshih@realtek.com>2026-07-03 11:39:58 +0800
commit76edcedda6437647ecd09b4b47593990a003b07a (patch)
tree2f839f8be2b65e3b28a122bb3c501b10509ab4a5
parentc1eabaaa088ddbb1b937cd339adfa4c18e93c93d (diff)
wifi: rtw89: wow: use MLD address in WoWLAN ARP replies for MLO stations
Currently, WoWLAN ARP replies for MLO stations use the link address in the ARP hardware address fields. As a result, peers may learn the link address from the ARP reply and use it as the destination address for subsequent traffic. Some APs may not forward frames addressed to the link address, causing connectivity issues. Use the MLD address instead when generating WoWLAN ARP replies so peers learn the correct address for MLO stations. Signed-off-by: Chin-Yen Lee <timlee@realtek.com> Signed-off-by: Ping-Ke Shih <pkshih@realtek.com> Link: https://patch.msgid.link/20260625061545.44808-9-pkshih@realtek.com
-rw-r--r--drivers/net/wireless/realtek/rtw89/fw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/realtek/rtw89/fw.c b/drivers/net/wireless/realtek/rtw89/fw.c
index 09338466be95..44eb71c38580 100644
--- a/drivers/net/wireless/realtek/rtw89/fw.c
+++ b/drivers/net/wireless/realtek/rtw89/fw.c
@@ -2982,9 +2982,9 @@ static struct sk_buff *rtw89_arp_response_get(struct rtw89_dev *rtwdev,
arp_hdr->ar_pln = 4;
arp_hdr->ar_op = htons(ARPOP_REPLY);
- ether_addr_copy(arp_skb->sender_hw, rtwvif_link->mac_addr);
+ ether_addr_copy(arp_skb->sender_hw, rtwvif->mac_addr);
arp_skb->sender_ip = rtwvif->ip_addr;
- ether_addr_copy(arp_skb->target_hw, rtwvif_link->mac_addr);
+ ether_addr_copy(arp_skb->target_hw, rtwvif->mac_addr);
arp_skb->target_ip = rtwvif->ip_addr;
return skb;