[PATCH v3 18/24] wfx: add data_tx.c/data_tx.h

Kalle Valo kvalo at codeaurora.org
Tue Dec 22 15:27:42 UTC 2020


Jerome Pouiller <Jerome.Pouiller at silabs.com> writes:

> +static bool ieee80211_is_action_back(struct ieee80211_hdr *hdr)
> +{
> +	struct ieee80211_mgmt *mgmt = (struct ieee80211_mgmt *)hdr;
> +
> +	if (!ieee80211_is_action(mgmt->frame_control))
> +		return false;
> +	if (mgmt->u.action.category != WLAN_CATEGORY_BACK)
> +		return false;
> +	return true;
> +}

Don't use ieee80211_ prefix within a driver, it's reserved for mac80211.
Use wfx_ instead.

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

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


More information about the devel mailing list