Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 56f20f3e authored by Amar Singhal's avatar Amar Singhal
Browse files

cfg80211: Add new wiphy flag WIPHY_FLAG_DFS_OFFLOAD



Add new flag WIPHY_FLAG_DFS_OFFLOAD to the wiphy structure. When this
flag is defined, the driver would handle all the DFS related operations.

CRs-Fixed: 630797
Change-Id: I592722607788dc4e2167c90bb684071cc9fb6986
Signed-off-by: default avatarAmar Singhal <asinghal@codeaurora.org>
parent d6cd5fb2
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -2382,6 +2382,7 @@ struct cfg80211_ops {
 *	responds to probe-requests in hardware.
 *	responds to probe-requests in hardware.
 * @WIPHY_FLAG_OFFCHAN_TX: Device supports direct off-channel TX.
 * @WIPHY_FLAG_OFFCHAN_TX: Device supports direct off-channel TX.
 * @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL: Device supports remain-on-channel call.
 * @WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL: Device supports remain-on-channel call.
 * @WIPHY_FLAG_DFS_OFFLOAD: The driver handles all the DFS related operations.
 */
 */
enum wiphy_flags {
enum wiphy_flags {
	WIPHY_FLAG_CUSTOM_REGULATORY		= BIT(0),
	WIPHY_FLAG_CUSTOM_REGULATORY		= BIT(0),
@@ -2405,6 +2406,7 @@ enum wiphy_flags {
	WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD	= BIT(19),
	WIPHY_FLAG_AP_PROBE_RESP_OFFLOAD	= BIT(19),
	WIPHY_FLAG_OFFCHAN_TX			= BIT(20),
	WIPHY_FLAG_OFFCHAN_TX			= BIT(20),
	WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL	= BIT(21),
	WIPHY_FLAG_HAS_REMAIN_ON_CHANNEL	= BIT(21),
	WIPHY_FLAG_DFS_OFFLOAD                  = BIT(22)
};
};


/**
/**