hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/net/wireless/reg.h
....@@ -5,6 +5,7 @@
55
66 /*
77 * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com>
8
+ * Copyright (C) 2019 Intel Corporation
89 *
910 * Permission to use, copy, modify, and/or distribute this software for any
1011 * purpose with or without fee is hereby granted, provided that the above
....@@ -22,6 +23,7 @@
2223 enum ieee80211_regd_source {
2324 REGD_SOURCE_INTERNAL_DB,
2425 REGD_SOURCE_CRDA,
26
+ REGD_SOURCE_CACHED,
2527 };
2628
2729 extern const struct ieee80211_regdomain __rcu *cfg80211_regdomain;
....@@ -112,7 +114,7 @@
112114 u8 country_ie_len);
113115
114116 /**
115
- * regulatory_hint_disconnect - informs all devices have been disconneted
117
+ * regulatory_hint_disconnect - informs all devices have been disconnected
116118 *
117119 * Regulotory rules can be enhanced further upon scanning and upon
118120 * connection to an AP. These rules become stale if we disconnect
....@@ -152,14 +154,6 @@
152154 * TODO: May be make this timeout available through regdb?
153155 */
154156 #define REG_PRE_CAC_EXPIRY_GRACE_MS 2000
155
-
156
-/**
157
- * regulatory_pre_cac_allowed - if pre-CAC allowed in the current dfs domain
158
- * @wiphy: wiphy for which pre-CAC capability is checked.
159
-
160
- * Pre-CAC is allowed only in ETSI domain.
161
- */
162
-bool regulatory_pre_cac_allowed(struct wiphy *wiphy);
163157
164158 /**
165159 * regulatory_propagate_dfs_state - Propagate DFS channel state to other wiphys