diff options
Diffstat (limited to 'include/net/regulatory.h')
-rw-r--r-- | include/net/regulatory.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/regulatory.h b/include/net/regulatory.h index 7dcaa2794fde..f17ed590d64a 100644 --- a/include/net/regulatory.h +++ b/include/net/regulatory.h | |||
@@ -18,6 +18,7 @@ | |||
18 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 18 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <linux/rcupdate.h> | ||
21 | 22 | ||
22 | /** | 23 | /** |
23 | * enum environment_cap - Environment parsed from country IE | 24 | * enum environment_cap - Environment parsed from country IE |
@@ -35,6 +36,7 @@ enum environment_cap { | |||
35 | /** | 36 | /** |
36 | * struct regulatory_request - used to keep track of regulatory requests | 37 | * struct regulatory_request - used to keep track of regulatory requests |
37 | * | 38 | * |
39 | * @rcu_head: RCU head struct used to free the request | ||
38 | * @wiphy_idx: this is set if this request's initiator is | 40 | * @wiphy_idx: this is set if this request's initiator is |
39 | * %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This | 41 | * %REGDOM_SET_BY_COUNTRY_IE or %REGDOM_SET_BY_DRIVER. This |
40 | * can be used by the wireless core to deal with conflicts | 42 | * can be used by the wireless core to deal with conflicts |
@@ -72,6 +74,7 @@ enum environment_cap { | |||
72 | * @list: used to insert into the reg_requests_list linked list | 74 | * @list: used to insert into the reg_requests_list linked list |
73 | */ | 75 | */ |
74 | struct regulatory_request { | 76 | struct regulatory_request { |
77 | struct rcu_head rcu_head; | ||
75 | int wiphy_idx; | 78 | int wiphy_idx; |
76 | enum nl80211_reg_initiator initiator; | 79 | enum nl80211_reg_initiator initiator; |
77 | enum nl80211_user_reg_hint_type user_reg_hint_type; | 80 | enum nl80211_user_reg_hint_type user_reg_hint_type; |
@@ -101,6 +104,7 @@ struct ieee80211_reg_rule { | |||
101 | }; | 104 | }; |
102 | 105 | ||
103 | struct ieee80211_regdomain { | 106 | struct ieee80211_regdomain { |
107 | struct rcu_head rcu_head; | ||
104 | u32 n_reg_rules; | 108 | u32 n_reg_rules; |
105 | char alpha2[2]; | 109 | char alpha2[2]; |
106 | u8 dfs_region; | 110 | u8 dfs_region; |