mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-08-30 16:53:20 -04:00
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
This commit is contained in:
committed by
Ping-Ke Shih
parent
c1eabaaa08
commit
76edcedda6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user