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

From: Kalle Valo
Date: Tue Dec 22 2020 - 10:29:25 EST


Jerome Pouiller <Jerome.Pouiller@xxxxxxxxxx> 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