ieee80211_proto.h revision 1.23.16.4 1 /* $NetBSD: ieee80211_proto.h,v 1.23.16.4 2018/07/16 20:11:11 phil Exp $ */
2
3 /*-
4 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD
5 *
6 * Copyright (c) 2001 Atsushi Onoe
7 * Copyright (c) 2002-2009 Sam Leffler, Errno Consulting
8 * All rights reserved.
9 *
10 * Redistribution and use in source and binary forms, with or without
11 * modification, are permitted provided that the following conditions
12 * are met:
13 * 1. Redistributions of source code must retain the above copyright
14 * notice, this list of conditions and the following disclaimer.
15 * 2. Redistributions in binary form must reproduce the above copyright
16 * notice, this list of conditions and the following disclaimer in the
17 * documentation and/or other materials provided with the distribution.
18 *
19 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
20 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
21 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
22 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
23 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
24 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
28 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 *
30 * $FreeBSD$
31 */
32 #ifndef _NET80211_IEEE80211_PROTO_H_
33 #define _NET80211_IEEE80211_PROTO_H_
34
35 /*
36 * 802.11 protocol implementation definitions.
37 */
38
39 enum ieee80211_state {
40 IEEE80211_S_INIT = 0, /* default state */
41 IEEE80211_S_SCAN = 1, /* scanning */
42 IEEE80211_S_AUTH = 2, /* try to authenticate */
43 IEEE80211_S_ASSOC = 3, /* try to assoc */
44 IEEE80211_S_CAC = 4, /* doing channel availability check */
45 IEEE80211_S_RUN = 5, /* operational (e.g. associated) */
46 IEEE80211_S_CSA = 6, /* channel switch announce pending */
47 IEEE80211_S_SLEEP = 7, /* power save */
48 };
49 #define IEEE80211_S_MAX (IEEE80211_S_SLEEP+1)
50
51 #define IEEE80211_SEND_MGMT(_ni,_type,_arg) \
52 ((*(_ni)->ni_ic->ic_send_mgmt)(_ni, _type, _arg))
53
54 extern const char *mgt_subtype_name[];
55 extern const char *ctl_subtype_name[];
56 extern const char *ieee80211_phymode_name[IEEE80211_MODE_MAX];
57 extern const int ieee80211_opcap[IEEE80211_OPMODE_MAX];
58
59 static __inline const char *
60 ieee80211_mgt_subtype_name(uint8_t subtype)
61 {
62 return mgt_subtype_name[(subtype & IEEE80211_FC0_SUBTYPE_MASK) >>
63 IEEE80211_FC0_SUBTYPE_SHIFT];
64 }
65
66 static __inline const char *
67 ieee80211_ctl_subtype_name(uint8_t subtype)
68 {
69 return ctl_subtype_name[(subtype & IEEE80211_FC0_SUBTYPE_MASK) >>
70 IEEE80211_FC0_SUBTYPE_SHIFT];
71 }
72
73 #if __NetBSD__
74 void ieee80211_auth_setup(void);
75 #endif
76
77 const char *ieee80211_reason_to_string(uint16_t);
78
79 void ieee80211_proto_attach(struct ieee80211com *);
80 void ieee80211_proto_detach(struct ieee80211com *);
81 void ieee80211_proto_vattach(struct ieee80211vap *);
82 void ieee80211_proto_vdetach(struct ieee80211vap *);
83
84 void ieee80211_promisc(struct ieee80211vap *, bool);
85 void ieee80211_allmulti(struct ieee80211vap *, bool);
86 void ieee80211_syncflag(struct ieee80211vap *, int flag);
87 void ieee80211_syncflag_ht(struct ieee80211vap *, int flag);
88 void ieee80211_syncflag_vht(struct ieee80211vap *, int flag);
89 void ieee80211_syncflag_ext(struct ieee80211vap *, int flag);
90
91 #define ieee80211_input(ni, m, rssi, nf) \
92 ((ni)->ni_vap->iv_input(ni, m, NULL, rssi, nf))
93 int ieee80211_input_all(struct ieee80211com *, struct mbuf *, int, int);
94
95 int ieee80211_input_mimo(struct ieee80211_node *, struct mbuf *);
96 int ieee80211_input_mimo_all(struct ieee80211com *, struct mbuf *);
97
98 struct ieee80211_bpf_params;
99 int ieee80211_mgmt_output(struct ieee80211_node *, struct mbuf *, int,
100 struct ieee80211_bpf_params *);
101 int ieee80211_raw_xmit(struct ieee80211_node *, struct mbuf *,
102 const struct ieee80211_bpf_params *);
103 #if __FreeBSD__
104 int ieee80211_output(struct ifnet *, struct mbuf *,
105 const struct sockaddr *, struct route *ro);
106 #elif __NetBSD__
107 int ieee80211_output(struct ifnet *, struct mbuf *,
108 const struct sockaddr *, const struct rtentry *ro);
109 #endif
110 int ieee80211_vap_pkt_send_dest(struct ieee80211vap *, struct mbuf *,
111 struct ieee80211_node *);
112 int ieee80211_raw_output(struct ieee80211vap *, struct ieee80211_node *,
113 struct mbuf *, const struct ieee80211_bpf_params *);
114 void ieee80211_send_setup(struct ieee80211_node *, struct mbuf *, int, int,
115 const uint8_t [IEEE80211_ADDR_LEN], const uint8_t [IEEE80211_ADDR_LEN],
116 const uint8_t [IEEE80211_ADDR_LEN]);
117 int ieee80211_vap_transmit(struct ifnet *ifp, struct mbuf *m);
118 void ieee80211_vap_qflush(struct ifnet *ifp);
119 int ieee80211_send_nulldata(struct ieee80211_node *);
120 int ieee80211_classify(struct ieee80211_node *, struct mbuf *m);
121 struct mbuf *ieee80211_mbuf_adjust(struct ieee80211vap *, int,
122 struct ieee80211_key *, struct mbuf *);
123 struct mbuf *ieee80211_encap(struct ieee80211vap *, struct ieee80211_node *,
124 struct mbuf *);
125 void ieee80211_free_mbuf(struct mbuf *);
126 int ieee80211_send_mgmt(struct ieee80211_node *, int, int);
127 struct ieee80211_appie;
128 int ieee80211_send_probereq(struct ieee80211_node *ni,
129 const uint8_t sa[IEEE80211_ADDR_LEN],
130 const uint8_t da[IEEE80211_ADDR_LEN],
131 const uint8_t bssid[IEEE80211_ADDR_LEN],
132 const uint8_t *ssid, size_t ssidlen);
133 struct mbuf * ieee80211_ff_encap1(struct ieee80211vap *, struct mbuf *,
134 const struct ether_header *);
135 void ieee80211_tx_complete(struct ieee80211_node *,
136 struct mbuf *, int);
137
138 /*
139 * The formation of ProbeResponse frames requires guidance to
140 * deal with legacy clients. When the client is identified as
141 * "legacy 11b" ieee80211_send_proberesp is passed this token.
142 */
143 #define IEEE80211_SEND_LEGACY_11B 0x1 /* legacy 11b client */
144 #define IEEE80211_SEND_LEGACY_11 0x2 /* other legacy client */
145 #define IEEE80211_SEND_LEGACY 0x3 /* any legacy client */
146 struct mbuf *ieee80211_alloc_proberesp(struct ieee80211_node *, int);
147 int ieee80211_send_proberesp(struct ieee80211vap *,
148 const uint8_t da[IEEE80211_ADDR_LEN], int);
149 struct mbuf *ieee80211_alloc_rts(struct ieee80211com *ic,
150 const uint8_t [IEEE80211_ADDR_LEN],
151 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
152 struct mbuf *ieee80211_alloc_cts(struct ieee80211com *,
153 const uint8_t [IEEE80211_ADDR_LEN], uint16_t);
154 struct mbuf *ieee80211_alloc_prot(struct ieee80211_node *,
155 const struct mbuf *, uint8_t, int);
156
157 uint8_t *ieee80211_add_rates(uint8_t *, const struct ieee80211_rateset *);
158 uint8_t *ieee80211_add_xrates(uint8_t *, const struct ieee80211_rateset *);
159 uint8_t *ieee80211_add_ssid(uint8_t *, const uint8_t *, u_int);
160 uint8_t *ieee80211_add_wpa(uint8_t *, const struct ieee80211vap *);
161 uint8_t *ieee80211_add_rsn(uint8_t *, const struct ieee80211vap *);
162 uint8_t *ieee80211_add_qos(uint8_t *, const struct ieee80211_node *);
163 uint16_t ieee80211_getcapinfo(struct ieee80211vap *,
164 struct ieee80211_channel *);
165 struct ieee80211_wme_state;
166 uint8_t * ieee80211_add_wme_info(uint8_t *frm, struct ieee80211_wme_state *wme);
167
168 void ieee80211_reset_erp(struct ieee80211com *);
169 void ieee80211_set_shortslottime(struct ieee80211com *, int onoff);
170 int ieee80211_iserp_rateset(const struct ieee80211_rateset *);
171 void ieee80211_setbasicrates(struct ieee80211_rateset *,
172 enum ieee80211_phymode);
173 void ieee80211_addbasicrates(struct ieee80211_rateset *,
174 enum ieee80211_phymode);
175
176 /*
177 * Return the size of the 802.11 header for a management or data frame.
178 */
179 static __inline int
180 ieee80211_hdrsize(const void *data)
181 {
182 const struct ieee80211_frame *wh = data;
183 int size = sizeof(struct ieee80211_frame);
184
185 /* NB: we don't handle control frames */
186 #if __FreeBSD__
187 KASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL,
188 ("%s: control frame", __func__));
189 #elif __NetBSD__
190 FBSDKASSERT((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) != IEEE80211_FC0_TYPE_CTL,
191 ("%s: control frame", __func__));
192 #else
193 #error
194 #endif
195 if (IEEE80211_IS_DSTODS(wh))
196 size += IEEE80211_ADDR_LEN;
197 if (IEEE80211_QOS_HAS_SEQ(wh))
198 size += sizeof(uint16_t);
199 return size;
200 }
201
202 /*
203 * Like ieee80211_hdrsize, but handles any type of frame.
204 */
205 static __inline int
206 ieee80211_anyhdrsize(const void *data)
207 {
208 const struct ieee80211_frame *wh = data;
209
210 if ((wh->i_fc[0]&IEEE80211_FC0_TYPE_MASK) == IEEE80211_FC0_TYPE_CTL) {
211 switch (wh->i_fc[0] & IEEE80211_FC0_SUBTYPE_MASK) {
212 case IEEE80211_FC0_SUBTYPE_CTS:
213 case IEEE80211_FC0_SUBTYPE_ACK:
214 return sizeof(struct ieee80211_frame_ack);
215 case IEEE80211_FC0_SUBTYPE_BAR:
216 return sizeof(struct ieee80211_frame_bar);
217 }
218 return sizeof(struct ieee80211_frame_min);
219 } else
220 return ieee80211_hdrsize(data);
221 }
222
223 /*
224 * Template for an in-kernel authenticator. Authenticators
225 * register with the protocol code and are typically loaded
226 * as separate modules as needed. One special authenticator
227 * is xauth; it intercepts requests so that protocols like
228 * WPA can be handled in user space.
229 */
230 struct ieee80211_authenticator {
231 const char *ia_name; /* printable name */
232 int (*ia_attach)(struct ieee80211vap *);
233 void (*ia_detach)(struct ieee80211vap *);
234 void (*ia_node_join)(struct ieee80211_node *);
235 void (*ia_node_leave)(struct ieee80211_node *);
236 };
237 void ieee80211_authenticator_register(int type,
238 const struct ieee80211_authenticator *);
239 void ieee80211_authenticator_unregister(int type);
240 const struct ieee80211_authenticator *ieee80211_authenticator_get(int auth);
241
242 struct ieee80211req;
243 /*
244 * Template for an MAC ACL policy module. Such modules
245 * register with the protocol code and are passed the sender's
246 * address of each received auth frame for validation.
247 */
248 struct ieee80211_aclator {
249 const char *iac_name; /* printable name */
250 int (*iac_attach)(struct ieee80211vap *);
251 void (*iac_detach)(struct ieee80211vap *);
252 int (*iac_check)(struct ieee80211vap *,
253 const struct ieee80211_frame *wh);
254 int (*iac_add)(struct ieee80211vap *,
255 const uint8_t mac[IEEE80211_ADDR_LEN]);
256 int (*iac_remove)(struct ieee80211vap *,
257 const uint8_t mac[IEEE80211_ADDR_LEN]);
258 int (*iac_flush)(struct ieee80211vap *);
259 int (*iac_setpolicy)(struct ieee80211vap *, int);
260 int (*iac_getpolicy)(struct ieee80211vap *);
261 int (*iac_setioctl)(struct ieee80211vap *, struct ieee80211req *);
262 int (*iac_getioctl)(struct ieee80211vap *, struct ieee80211req *);
263 };
264 void ieee80211_aclator_register(const struct ieee80211_aclator *);
265 void ieee80211_aclator_unregister(const struct ieee80211_aclator *);
266 const struct ieee80211_aclator *ieee80211_aclator_get(const char *name);
267
268 /* flags for ieee80211_fix_rate() */
269 #define IEEE80211_F_DOSORT 0x00000001 /* sort rate list */
270 #define IEEE80211_F_DOFRATE 0x00000002 /* use fixed legacy rate */
271 #define IEEE80211_F_DONEGO 0x00000004 /* calc negotiated rate */
272 #define IEEE80211_F_DODEL 0x00000008 /* delete ignore rate */
273 #define IEEE80211_F_DOBRS 0x00000010 /* check basic rate set */
274 #define IEEE80211_F_JOIN 0x00000020 /* sta joining our bss */
275 #define IEEE80211_F_DOFMCS 0x00000040 /* use fixed HT rate */
276 int ieee80211_fix_rate(struct ieee80211_node *,
277 struct ieee80211_rateset *, int);
278
279 /*
280 * WME/WMM support.
281 */
282 struct wmeParams {
283 uint8_t wmep_acm;
284 uint8_t wmep_aifsn;
285 uint8_t wmep_logcwmin; /* log2(cwmin) */
286 uint8_t wmep_logcwmax; /* log2(cwmax) */
287 uint8_t wmep_txopLimit;
288 uint8_t wmep_noackPolicy; /* 0 (ack), 1 (no ack) */
289 };
290 #define IEEE80211_TXOP_TO_US(_txop) ((_txop)<<5)
291 #define IEEE80211_US_TO_TXOP(_us) ((_us)>>5)
292
293 struct chanAccParams {
294 uint8_t cap_info; /* version of the current set */
295 struct wmeParams cap_wmeParams[WME_NUM_AC];
296 };
297
298 struct ieee80211_wme_state {
299 u_int wme_flags;
300 #define WME_F_AGGRMODE 0x00000001 /* STATUS: WME aggressive mode */
301 u_int wme_hipri_traffic; /* VI/VO frames in beacon interval */
302 u_int wme_hipri_switch_thresh;/* aggressive mode switch thresh */
303 u_int wme_hipri_switch_hysteresis;/* aggressive mode switch hysteresis */
304
305 struct wmeParams wme_params[4]; /* from assoc resp for each AC*/
306 struct chanAccParams wme_wmeChanParams; /* WME params applied to self */
307 struct chanAccParams wme_wmeBssChanParams;/* WME params bcast to stations */
308 struct chanAccParams wme_chanParams; /* params applied to self */
309 struct chanAccParams wme_bssChanParams; /* params bcast to stations */
310
311 int (*wme_update)(struct ieee80211com *);
312 };
313
314 void ieee80211_wme_initparams(struct ieee80211vap *);
315 void ieee80211_wme_updateparams(struct ieee80211vap *);
316 void ieee80211_wme_updateparams_locked(struct ieee80211vap *);
317 void ieee80211_wme_vap_getparams(struct ieee80211vap *vap,
318 struct chanAccParams *);
319 void ieee80211_wme_ic_getparams(struct ieee80211com *ic,
320 struct chanAccParams *);
321 int ieee80211_wme_vap_ac_is_noack(struct ieee80211vap *vap, int ac);
322
323 /*
324 * Return the WME TID from a QoS frame. If no TID
325 * is present return the index for the "non-QoS" entry.
326 */
327 static __inline uint8_t
328 ieee80211_gettid(const struct ieee80211_frame *wh)
329 {
330 uint8_t tid;
331
332 if (IEEE80211_QOS_HAS_SEQ(wh)) {
333 if (IEEE80211_IS_DSTODS(wh))
334 tid = ((const struct ieee80211_qosframe_addr4 *)wh)->
335 i_qos[0];
336 else
337 tid = ((const struct ieee80211_qosframe *)wh)->i_qos[0];
338 tid &= IEEE80211_QOS_TID;
339 } else
340 tid = IEEE80211_NONQOS_TID;
341 return tid;
342 }
343
344 void ieee80211_waitfor_parent(struct ieee80211com *);
345 void ieee80211_start_locked(struct ieee80211vap *);
346 #if __FreeBSD__
347 void ieee80211_init(void *);
348 #elif __NetBSD__
349 int ieee80211_init(struct ifnet *);
350 #endif
351 void ieee80211_start_all(struct ieee80211com *);
352 void ieee80211_stop_locked(struct ieee80211vap *);
353 void ieee80211_stop(struct ieee80211vap *);
354 void ieee80211_stop_all(struct ieee80211com *);
355 void ieee80211_suspend_all(struct ieee80211com *);
356 void ieee80211_resume_all(struct ieee80211com *);
357 void ieee80211_restart_all(struct ieee80211com *);
358 void ieee80211_dturbo_switch(struct ieee80211vap *, int newflags);
359 void ieee80211_swbmiss(void *arg);
360 void ieee80211_beacon_miss(struct ieee80211com *);
361 int ieee80211_new_state(struct ieee80211vap *, enum ieee80211_state, int);
362 int ieee80211_new_state_locked(struct ieee80211vap *, enum ieee80211_state,
363 int);
364 void ieee80211_print_essid(const uint8_t *, int);
365 void ieee80211_dump_pkt(struct ieee80211com *,
366 const uint8_t *, int, int, int);
367
368 extern const char *ieee80211_opmode_name[];
369 extern const char *ieee80211_state_name[IEEE80211_S_MAX];
370 extern const char *ieee80211_wme_acnames[];
371
372 /*
373 * Beacon frames constructed by ieee80211_beacon_alloc
374 * have the following structure filled in so drivers
375 * can update the frame later w/ minimal overhead.
376 */
377 struct ieee80211_beacon_offsets {
378 uint8_t bo_flags[4]; /* update/state flags */
379 uint16_t *bo_caps; /* capabilities */
380 uint8_t *bo_cfp; /* start of CFParms element */
381 uint8_t *bo_tim; /* start of atim/dtim */
382 uint8_t *bo_wme; /* start of WME parameters */
383 uint8_t *bo_tdma; /* start of TDMA parameters */
384 uint8_t *bo_tim_trailer;/* start of fixed-size trailer */
385 uint16_t bo_tim_len; /* atim/dtim length in bytes */
386 uint16_t bo_tim_trailer_len;/* tim trailer length in bytes */
387 uint8_t *bo_erp; /* start of ERP element */
388 uint8_t *bo_htinfo; /* start of HT info element */
389 uint8_t *bo_ath; /* start of ATH parameters */
390 uint8_t *bo_appie; /* start of AppIE element */
391 uint16_t bo_appie_len; /* AppIE length in bytes */
392 uint16_t bo_csa_trailer_len;
393 uint8_t *bo_csa; /* start of CSA element */
394 uint8_t *bo_quiet; /* start of Quiet element */
395 uint8_t *bo_meshconf; /* start of MESHCONF element */
396 uint8_t *bo_vhtinfo; /* start of VHT info element (XXX VHTCAP?) */
397 uint8_t *bo_spare[2];
398 };
399 struct mbuf *ieee80211_beacon_alloc(struct ieee80211_node *);
400
401 /*
402 * Beacon frame updates are signaled through calls to iv_update_beacon
403 * with one of the IEEE80211_BEACON_* tokens defined below. For devices
404 * that construct beacon frames on the host this can trigger a rebuild
405 * or defer the processing. For devices that offload beacon frame
406 * handling this callback can be used to signal a rebuild. The bo_flags
407 * array in the ieee80211_beacon_offsets structure is intended to record
408 * deferred processing requirements; ieee80211_beacon_update uses the
409 * state to optimize work. Since this structure is owned by the driver
410 * and not visible to the 802.11 layer drivers must supply an iv_update_beacon
411 * callback that marks the flag bits and schedules (as necessary) an update.
412 */
413 enum {
414 IEEE80211_BEACON_CAPS = 0, /* capabilities */
415 IEEE80211_BEACON_TIM = 1, /* DTIM/ATIM */
416 IEEE80211_BEACON_WME = 2,
417 IEEE80211_BEACON_ERP = 3, /* Extended Rate Phy */
418 IEEE80211_BEACON_HTINFO = 4, /* HT Information */
419 IEEE80211_BEACON_APPIE = 5, /* Application IE's */
420 IEEE80211_BEACON_CFP = 6, /* CFParms */
421 IEEE80211_BEACON_CSA = 7, /* Channel Switch Announcement */
422 IEEE80211_BEACON_TDMA = 9, /* TDMA Info */
423 IEEE80211_BEACON_ATH = 10, /* ATH parameters */
424 IEEE80211_BEACON_MESHCONF = 11, /* Mesh Configuration */
425 IEEE80211_BEACON_QUIET = 12, /* Quiet time IE */
426 IEEE80211_BEACON_VHTINFO = 13, /* VHT information */
427 };
428 int ieee80211_beacon_update(struct ieee80211_node *,
429 struct mbuf *, int mcast);
430
431 void ieee80211_csa_startswitch(struct ieee80211com *,
432 struct ieee80211_channel *, int mode, int count);
433 void ieee80211_csa_completeswitch(struct ieee80211com *);
434 void ieee80211_csa_cancelswitch(struct ieee80211com *);
435 void ieee80211_cac_completeswitch(struct ieee80211vap *);
436
437 /*
438 * Notification methods called from the 802.11 state machine.
439 * Note that while these are defined here, their implementation
440 * is OS-specific.
441 */
442 void ieee80211_notify_node_join(struct ieee80211_node *, int newassoc);
443 void ieee80211_notify_node_leave(struct ieee80211_node *);
444 void ieee80211_notify_scan_done(struct ieee80211vap *);
445 void ieee80211_notify_wds_discover(struct ieee80211_node *);
446 void ieee80211_notify_csa(struct ieee80211com *,
447 const struct ieee80211_channel *, int mode, int count);
448 void ieee80211_notify_radar(struct ieee80211com *,
449 const struct ieee80211_channel *);
450 enum ieee80211_notify_cac_event {
451 IEEE80211_NOTIFY_CAC_START = 0, /* CAC timer started */
452 IEEE80211_NOTIFY_CAC_STOP = 1, /* CAC intentionally stopped */
453 IEEE80211_NOTIFY_CAC_RADAR = 2, /* CAC stopped due to radar detectio */
454 IEEE80211_NOTIFY_CAC_EXPIRE = 3, /* CAC expired w/o radar */
455 };
456 void ieee80211_notify_cac(struct ieee80211com *,
457 const struct ieee80211_channel *,
458 enum ieee80211_notify_cac_event);
459 void ieee80211_notify_node_deauth(struct ieee80211_node *);
460 void ieee80211_notify_node_auth(struct ieee80211_node *);
461 void ieee80211_notify_country(struct ieee80211vap *, const uint8_t [],
462 const uint8_t cc[2]);
463 void ieee80211_notify_radio(struct ieee80211com *, int);
464 #endif /* _NET80211_IEEE80211_PROTO_H_ */
465