[PATCH 5/6] ath11k: support ARP and NS offload

Kalle Valo kvalo at kernel.org
Thu Dec 9 08:07:26 PST 2021


Carl Huang <cjhuang at codeaurora.org> writes:

> Support ARP and NS offload in WoW state.
>
> Tested this way: put machineA with QCA6390 to WoW state,
> ping/ping6 machineA from another machineB, check sniffer to see
> any ARP response and Neighbour advertisement from machineA.
>
> Tested-on: QCA6390 hw2.0 PCI WLAN.HST.1.0.1-01740-QCAHSTSWPLZ_V2_TO_X86-1
>
> Signed-off-by: Carl Huang <cjhuang at codeaurora.org>
> Signed-off-by: Baochen Qiang <bqiang at codeaurora.org>

[...]

> +static int ath11k_wow_protocol_offload(struct ath11k *ar, bool enable)
> +{
> +	int ret;
> +
> +	ret = ath11k_wow_arp_ns_offload(ar, enable);
> +
> +	return ret;

For consistency, please add error handling for
ath11k_wow_arp_ns_offload().

-- 
https://patchwork.kernel.org/project/linux-wireless/list/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches



More information about the ath11k mailing list