diff options
author | Veerendranath Jakkam <quic_vjakkam@quicinc.com> | 2024-09-04 08:39:15 +0530 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2024-09-06 12:56:33 +0200 |
commit | 0fdcc994a42cf1306bc0e9ca6c9adeec657f5f02 (patch) | |
tree | 9da4fc1137eabb05bc183e5e12feb60a4bb868ac /net/wireless/core.h | |
parent | cac9544cecf6d0aa1ad629ba8f403b05b8bee005 (diff) |
wifi: cfg80211: make BSS source types public
Define public enum with BSS source types in core.h. Upcoming patches
need this to store BSS source type in struct cfg80211_internal_bss.
Signed-off-by: Veerendranath Jakkam <quic_vjakkam@quicinc.com>
Link: https://patch.msgid.link/20240904030917.3602369-2-quic_vjakkam@quicinc.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'net/wireless/core.h')
-rw-r--r-- | net/wireless/core.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/net/wireless/core.h b/net/wireless/core.h index 41c8c0e3ba2e..eace1800f5de 100644 --- a/net/wireless/core.h +++ b/net/wireless/core.h @@ -170,6 +170,12 @@ static inline int for_each_rdev_check_rtnl(void) if (for_each_rdev_check_rtnl()) {} else \ list_for_each_entry(rdev, &cfg80211_rdev_list, list) +enum bss_source_type { + BSS_SOURCE_DIRECT = 0, + BSS_SOURCE_MBSSID, + BSS_SOURCE_STA_PROFILE, +}; + struct cfg80211_internal_bss { struct list_head list; struct list_head hidden_list; |