| .. | .. |
|---|
| 5 | 5 | |
|---|
| 6 | 6 | /* |
|---|
| 7 | 7 | * Copyright 2008-2011 Luis R. Rodriguez <mcgrof@qca.qualcomm.com> |
|---|
| 8 | + * Copyright (C) 2019 Intel Corporation |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * Permission to use, copy, modify, and/or distribute this software for any |
|---|
| 10 | 11 | * purpose with or without fee is hereby granted, provided that the above |
|---|
| .. | .. |
|---|
| 22 | 23 | enum ieee80211_regd_source { |
|---|
| 23 | 24 | REGD_SOURCE_INTERNAL_DB, |
|---|
| 24 | 25 | REGD_SOURCE_CRDA, |
|---|
| 26 | + REGD_SOURCE_CACHED, |
|---|
| 25 | 27 | }; |
|---|
| 26 | 28 | |
|---|
| 27 | 29 | extern const struct ieee80211_regdomain __rcu *cfg80211_regdomain; |
|---|
| .. | .. |
|---|
| 112 | 114 | u8 country_ie_len); |
|---|
| 113 | 115 | |
|---|
| 114 | 116 | /** |
|---|
| 115 | | - * regulatory_hint_disconnect - informs all devices have been disconneted |
|---|
| 117 | + * regulatory_hint_disconnect - informs all devices have been disconnected |
|---|
| 116 | 118 | * |
|---|
| 117 | 119 | * Regulotory rules can be enhanced further upon scanning and upon |
|---|
| 118 | 120 | * connection to an AP. These rules become stale if we disconnect |
|---|
| .. | .. |
|---|
| 152 | 154 | * TODO: May be make this timeout available through regdb? |
|---|
| 153 | 155 | */ |
|---|
| 154 | 156 | #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); |
|---|
| 163 | 157 | |
|---|
| 164 | 158 | /** |
|---|
| 165 | 159 | * regulatory_propagate_dfs_state - Propagate DFS channel state to other wiphys |
|---|