[PATCH] mt76: fix determining multicast frame in sta mode

Felix Fietkau nbd at nbd.name
Fri Aug 13 03:33:27 PDT 2021


On 2021-08-09 23:13, sean.wang at mediatek.com wrote:
> From: Sean Wang <sean.wang at mediatek.com>
> 
> We should use hdr->addr3 as the destination address to determine the frame
> is multicast frame or not when the device is running in sta mode.
> 
> We can simply use ieee80211_get_DA for ap mode and sta mode both cases.
That does not make any sense to me. When a sta sends a packet with DA
set to a multicast address, it will be sent as unicast to the AP. Why
should it be treated as multicast by the driver?

- Felix



More information about the Linux-mediatek mailing list