Re: [PATCH ath-next] wifi: ath12k: Advertise multicast Ethernet encapsulation offload support
Rameshkumar Sundaram <[email protected]>
| Newsgroups | org.infradead.lists.ath12k,org.kernel.vger.linux-wireless |
|---|---|
| Message-ID | <[email protected]> |
On 6/23/2026 3:35 PM, Tamizh Chelvam Raja wrote: > Advertise IEEE80211_OFFLOAD_ENCAP_MCAST to inform mac80211 that > multicast frame encapsulation is handled in hardware. This allows > mac80211 to pass Ethernet-formatted multicast frames directly to > the driver. > > In ath12k_wifi7_mac_op_tx(), refine the logic that selects the MLO > multicast replication path. Add a sta pointer check so that only unicast > Hardware-encap frames use the direct transmit path, while multicast > Hardware-encap frames fall through to the MLO replication loop and are > transmitted on each active link. > > In the MLO replication loop, use skb_clone() for Hardware-encap frames. > These frames are already in Ethernet format and do not require > 802.11 link address rewriting by ath12k_mlo_mcast_update_tx_link_address(). > > Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.6-01243-QCAHKSWPL_SILICONZ-1 > > Signed-off-by: Tamizh Chelvam Raja <[email protected]> Reviewed-by: Rameshkumar Sundaram <[email protected]>