/freebsd-9.3-release/sys/net80211/ |
H A D | ieee80211_ratectl.h | 66 ieee80211_ratectl_deinit(struct ieee80211vap *vap) argument 68 vap->iv_rate->ir_deinit(vap); 74 const struct ieee80211vap *vap = ni->ni_vap; local 76 vap->iv_rate->ir_node_init(ni); 82 const struct ieee80211vap *vap = ni->ni_vap; local 84 vap->iv_rate->ir_node_deinit(ni); 90 const struct ieee80211vap *vap = ni->ni_vap; local 92 return vap->iv_rate->ir_rate(ni, arg, iarg); 96 ieee80211_ratectl_tx_complete(const struct ieee80211vap *vap, argument 103 ieee80211_ratectl_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni, void *arg1, void *arg2, void *arg3) argument 112 ieee80211_ratectl_setinterval(const struct ieee80211vap *vap, int msecs) argument [all...] |
H A D | ieee80211_adhoc.c | 91 adhoc_vdetach(struct ieee80211vap *vap) argument 96 adhoc_vattach(struct ieee80211vap *vap) argument 98 vap->iv_newstate = adhoc_newstate; 99 vap->iv_input = adhoc_input; 100 if (vap->iv_opmode == IEEE80211_M_IBSS) 101 vap->iv_recv_mgmt = adhoc_recv_mgmt; 103 vap->iv_recv_mgmt = ahdemo_recv_mgmt; 104 vap->iv_recv_ctl = adhoc_recv_ctl; 105 vap->iv_opdetach = adhoc_vdetach; 112 if (vap 120 struct ieee80211vap *vap = arg; local 130 adhoc_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 264 doprint(struct ieee80211vap *vap, int subtype) argument 289 struct ieee80211vap *vap = ni->ni_vap; local 683 struct ieee80211vap *vap = ni->ni_vap; local 871 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_sta.c | 87 sta_vdetach(struct ieee80211vap *vap) argument 92 sta_vattach(struct ieee80211vap *vap) argument 94 vap->iv_newstate = sta_newstate; 95 vap->iv_input = sta_input; 96 vap->iv_recv_mgmt = sta_recv_mgmt; 97 vap->iv_recv_ctl = sta_recv_ctl; 98 vap->iv_opdetach = sta_vdetach; 99 vap->iv_bmiss = sta_beacon_miss; 108 sta_beacon_miss(struct ieee80211vap *vap) argument 110 struct ieee80211com *ic = vap 183 sta_authretry(struct ieee80211vap *vap, struct ieee80211_node *ni, int reason) argument 208 sta_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 454 isdstods_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 475 isfromds_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 491 doprint(struct ieee80211vap *vap, int subtype) argument 516 struct ieee80211vap *vap = ni->ni_vap; local 916 struct ieee80211vap *vap = ni->ni_vap; local 946 struct ieee80211vap *vap = ni->ni_vap; local 1062 ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1105 ieee80211_parse_csaparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1216 contbgscan(struct ieee80211vap *vap) argument 1235 startbgscan(struct ieee80211vap *vap) argument 1254 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_tdma.c | 112 static void tdma_vdetach(struct ieee80211vap *vap); 114 static void tdma_beacon_miss(struct ieee80211vap *vap); 117 static int tdma_update(struct ieee80211vap *vap, 124 settxparms(struct ieee80211vap *vap, enum ieee80211_phymode mode, int rate) argument 126 vap->iv_txparms[mode].ucastrate = rate; 127 vap->iv_txparms[mode].mcastrate = rate; 143 ieee80211_tdma_vattach(struct ieee80211vap *vap) argument 147 KASSERT(vap->iv_caps & IEEE80211_C_TDMA, 148 ("not a tdma vap, caps 0x%x", vap 191 tdma_vdetach(struct ieee80211vap *vap) argument 209 struct ieee80211vap *vap = arg; local 219 tdma_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 285 tdma_beacon_miss(struct ieee80211vap *vap) argument 322 struct ieee80211vap *vap = ni->ni_vap; local 401 tdma_update(struct ieee80211vap *vap, const struct ieee80211_tdma_param *tdma, struct ieee80211_node *ni, int pickslot) argument 515 struct ieee80211vap *vap = ni->ni_vap; local 620 ieee80211_tdma_getslot(struct ieee80211vap *vap) argument 635 struct ieee80211vap *vap = ni->ni_vap; local 664 ieee80211_add_tdma(uint8_t *frm, struct ieee80211vap *vap) argument 704 ieee80211_tdma_update_beacon(struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo) argument 738 tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 766 tdma_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_crypto.c | 62 null_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, argument 65 if (!(&vap->iv_nw_keys[0] <= k && 66 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) { 81 *keyix = k - vap->iv_nw_keys; 87 null_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) argument 92 null_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k, argument 97 static void null_key_update(struct ieee80211vap *vap) {} argument 109 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) argument 111 return key->wk_cipher->ic_attach(vap, key); 118 dev_key_alloc(struct ieee80211vap *vap, argument 126 dev_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 133 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 160 ieee80211_crypto_vattach(struct ieee80211vap *vap) argument 185 ieee80211_crypto_vdetach(struct ieee80211vap *vap) argument 263 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument 422 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 456 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 470 ieee80211_crypto_delglobalkeys(struct ieee80211vap *vap) argument 488 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 530 struct ieee80211vap *vap = ni->ni_vap; local 574 struct ieee80211vap *vap = ni->ni_vap; local 623 struct ieee80211vap *vap = ni->ni_vap; local 641 struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_monitor.c | 77 monitor_vdetach(struct ieee80211vap *vap) argument 82 monitor_vattach(struct ieee80211vap *vap) argument 84 vap->iv_newstate = monitor_newstate; 85 vap->iv_input = monitor_input; 86 vap->iv_opdetach = monitor_vdetach; 90 * IEEE80211_M_MONITOR vap state machine handler. 93 monitor_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 95 struct ieee80211com *ic = vap->iv_ic; 100 ostate = vap->iv_state; 101 IEEE80211_DPRINTF(vap, IEEE80211_MSG_STAT 129 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_wds.c | 82 wds_vdetach(struct ieee80211vap *vap) argument 84 if (vap->iv_bss != NULL) { 86 if (vap->iv_bss->ni_wdsvap == vap) 87 vap->iv_bss->ni_wdsvap = NULL; 92 wds_vattach(struct ieee80211vap *vap) argument 94 vap->iv_newstate = wds_newstate; 95 vap->iv_input = wds_input; 96 vap->iv_recv_mgmt = wds_recv_mgmt; 97 vap 123 ieee80211_create_wds(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 238 struct ieee80211vap *vap; local 340 wds_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 410 struct ieee80211vap *vap = ni->ni_vap; local 747 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_proto.c | 179 null_update_beacon(struct ieee80211vap *vap, int item) argument 184 ieee80211_proto_vattach(struct ieee80211vap *vap) argument 186 struct ieee80211com *ic = vap->iv_ic; 187 struct ifnet *ifp = vap->iv_ifp; 193 vap->iv_rtsthreshold = IEEE80211_RTS_DEFAULT; 194 vap->iv_fragthreshold = IEEE80211_FRAG_DEFAULT; 195 vap->iv_bmiss_max = IEEE80211_BMISS_MAX; 196 callout_init(&vap->iv_swbmiss, CALLOUT_MPSAFE); 197 callout_init(&vap->iv_mgtsend, CALLOUT_MPSAFE); 198 TASK_INIT(&vap 249 ieee80211_proto_vdetach(struct ieee80211vap *vap) argument 492 struct ieee80211vap *vap = ni->ni_vap; local 870 setwmeparams(struct ieee80211vap *vap, const char *type, int ac, struct wmeParams *wmep, const paramType *phy) argument 884 ieee80211_wme_initparams_locked(struct ieee80211vap *vap) argument 962 ieee80211_wme_initparams(struct ieee80211vap *vap) argument 975 ieee80211_wme_updateparams_locked(struct ieee80211vap *vap) argument 1104 ieee80211_wme_updateparams(struct ieee80211vap *vap) argument 1173 ieee80211_start_locked(struct ieee80211vap *vap) argument 1258 struct ieee80211vap *vap = arg; local 1274 struct ieee80211vap *vap; local 1293 ieee80211_stop_locked(struct ieee80211vap *vap) argument 1319 ieee80211_stop(struct ieee80211vap *vap) argument 1334 struct ieee80211vap *vap; local 1354 struct ieee80211vap *vap; local 1375 struct ieee80211vap *vap; local 1404 struct ieee80211vap *vap; local 1423 struct ieee80211vap *vap = arg; local 1440 struct ieee80211vap *vap = arg; local 1484 struct ieee80211vap *vap; local 1512 struct ieee80211vap *vap; local 1536 struct ieee80211vap *vap; local 1571 struct ieee80211vap *vap; local 1598 struct ieee80211vap *vap; local 1628 struct ieee80211vap *vap; local 1657 struct ieee80211vap *vap = xvap; local 1771 ieee80211_new_state_locked(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 1920 ieee80211_new_state(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument [all...] |
H A D | ieee80211_hostap.c | 90 hostap_vdetach(struct ieee80211vap *vap) argument 95 hostap_vattach(struct ieee80211vap *vap) argument 97 vap->iv_newstate = hostap_newstate; 98 vap->iv_input = hostap_input; 99 vap->iv_recv_mgmt = hostap_recv_mgmt; 100 vap->iv_recv_ctl = hostap_recv_ctl; 101 vap->iv_opdetach = hostap_vdetach; 102 vap->iv_deliver_data = hostap_deliver_data; 108 struct ieee80211vap *vap = arg; local 110 if (ni->ni_vap == vap 120 struct ieee80211vap *vap = arg; local 133 struct ieee80211vap *vap = arg; local 156 hostap_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 351 hostap_deliver_data(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 451 doprint(struct ieee80211vap *vap, int subtype) argument 476 struct ieee80211vap *vap = ni->ni_vap; local 920 struct ieee80211vap *vap = ni->ni_vap; local 999 struct ieee80211vap *vap = ni->ni_vap; local 1233 ieee80211_parse_wpa(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1381 ieee80211_parse_rsn(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1477 struct ieee80211vap *vap = ni->ni_vap; local 1570 struct ieee80211vap *vap = ni->ni_vap; local 1617 struct ieee80211vap *vap = ni->ni_vap; local 1642 struct ieee80211vap *vap = ni->ni_vap; local 1681 struct ieee80211vap *vap = ni->ni_vap; local 2249 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_power.c | 64 ieee80211_power_vattach(struct ieee80211vap *vap) argument 66 if (vap->iv_opmode == IEEE80211_M_HOSTAP || 67 vap->iv_opmode == IEEE80211_M_IBSS) { 69 vap->iv_update_ps = ieee80211_update_ps; 70 vap->iv_set_tim = ieee80211_set_tim; 75 ieee80211_power_latevattach(struct ieee80211vap *vap) argument 81 if (vap->iv_opmode == IEEE80211_M_HOSTAP) { 82 vap->iv_tim_len = howmany(vap->iv_max_aid,8) * sizeof(uint8_t); 83 vap 94 ieee80211_power_vdetach(struct ieee80211vap *vap) argument 228 struct ieee80211vap *vap = ni->ni_vap; local 268 ieee80211_update_ps(struct ieee80211vap *vap, int nsta) argument 282 struct ieee80211vap *vap = ni->ni_vap; local 322 struct ieee80211vap *vap = ni->ni_vap; local 414 struct ieee80211vap *vap = ni->ni_vap; local 463 struct ieee80211vap *vap = ni->ni_vap; local 503 ieee80211_sta_pwrsave(struct ieee80211vap *vap, int enable) argument [all...] |
H A D | ieee80211_ratectl.c | 69 ieee80211_ratectl_init(struct ieee80211vap *vap) argument 71 if (vap->iv_rate == ratectls[IEEE80211_RATECTL_NONE]) 72 ieee80211_ratectl_set(vap, IEEE80211_RATECTL_AMRR); 73 vap->iv_rate->ir_init(vap); 77 ieee80211_ratectl_set(struct ieee80211vap *vap, int type) argument 84 IEEE80211_DPRINTF(vap, IEEE80211_MSG_RATECTL, 87 vap->iv_rate = ratectls[IEEE80211_RATECTL_NONE]; 91 vap->iv_rate = ratectls[type];
|
H A D | ieee80211_ioctl.c | 77 ieee80211_ioctl_getkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 79 struct ieee80211com *ic = vap->iv_ic; 94 ni = ieee80211_find_vap_node(&ic->ic_sta, vap, ik.ik_macaddr); 101 wk = &vap->iv_nw_keys[kid]; 102 IEEE80211_ADDR_COPY(&ik.ik_macaddr, vap->iv_bss->ni_macaddr); 109 if (wk->wk_keyix == vap->iv_def_txkey) 133 ieee80211_ioctl_getchanlist(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 135 struct ieee80211com *ic = vap->iv_ic; 143 ieee80211_ioctl_getchaninfo(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 145 struct ieee80211com *ic = vap 157 ieee80211_ioctl_getwpaie(struct ieee80211vap *vap, struct ieee80211req *ireq, int req) argument 206 ieee80211_ioctl_getstastats(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 311 ieee80211_ioctl_getscanresults(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 346 struct ieee80211vap *vap; member in struct:stainforeq 377 struct ieee80211vap *vap = ni->ni_vap; local 460 getstainfo_common(struct ieee80211vap *vap, struct ieee80211req *ireq, struct ieee80211_node *ni, size_t off) argument 503 ieee80211_ioctl_getstainfo(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 526 ieee80211_ioctl_getstatxpow(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 547 ieee80211_ioctl_getwmeparam(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 590 ieee80211_ioctl_getmaccmd(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 598 ieee80211_ioctl_getcurchan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 629 ieee80211_ioctl_getappie(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 655 ieee80211_ioctl_getregdomain(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 667 ieee80211_ioctl_getroam(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 678 ieee80211_ioctl_gettxparams(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 722 ieee80211_ioctl_getstavlan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 750 dummy_ioctl_get(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 757 ieee80211_ioctl_getdefault(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 787 ieee80211_ioctl_get80211(struct ieee80211vap *vap, u_long cmd, struct ieee80211req *ireq) argument 1129 ieee80211_ioctl_setkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1203 ieee80211_ioctl_delkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1243 struct ieee80211vap *vap; member in struct:mlmeop 1249 mlmedebug(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int op, int reason) argument 1293 struct ieee80211vap *vap = ni->ni_vap; local 1316 setmlme_dropsta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], struct mlmeop *mlmeop) argument 1341 setmlme_common(struct ieee80211vap *vap, int op, const uint8_t mac[IEEE80211_ADDR_LEN], int reason) argument 1476 setmlme_assoc_sta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1501 setmlme_assoc_adhoc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1532 ieee80211_ioctl_setmlme(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1555 ieee80211_ioctl_macmac(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1580 ieee80211_ioctl_setmaccmd(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1618 ieee80211_ioctl_setchanlist(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1664 ieee80211_ioctl_setstastats(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1690 ieee80211_ioctl_setstatxpow(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1710 ieee80211_ioctl_setwmeparam(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1892 setcurchan(struct ieee80211vap *vap, struct ieee80211_channel *c) argument 1954 ieee80211_ioctl_setchannel(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2033 ieee80211_ioctl_setcurchan(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2057 ieee80211_ioctl_setregdomain(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2095 ieee80211_ioctl_setroam(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2130 ieee80211_ioctl_settxparams(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2238 setwparsnie(struct ieee80211vap *vap, uint8_t *ie, int space) argument 2250 ieee80211_ioctl_setappie_locked(struct ieee80211vap *vap, const struct ieee80211req *ireq, int fc0) argument 2328 ieee80211_ioctl_setappie(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2346 ieee80211_ioctl_chanswitch(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2378 ieee80211_scanreq(struct ieee80211vap *vap, struct ieee80211_scan_req *sr) argument 2482 ieee80211_ioctl_scanreq(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2501 ieee80211_ioctl_setstavlan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2525 isvap11g(const struct ieee80211vap *vap) argument 2533 isvapht(const struct ieee80211vap *vap) argument 2544 dummy_ioctl_set(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2551 ieee80211_ioctl_setdefault(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2565 ieee80211_ioctl_set80211(struct ieee80211vap *vap, u_long cmd, struct ieee80211req *ireq) argument 3250 struct ieee80211vap *vap; local 3275 struct ieee80211vap *vap = ifp->if_softc; local [all...] |
H A D | ieee80211_scan.c | 170 ieee80211_scan_vattach(struct ieee80211vap *vap) argument 172 vap->iv_bgscanidle = (IEEE80211_BGSCAN_IDLE_DEFAULT*1000)/hz; 173 vap->iv_bgscanintvl = IEEE80211_BGSCAN_INTVAL_DEFAULT*hz; 174 vap->iv_scanvalid = IEEE80211_SCAN_VALID_DEFAULT*hz; 176 vap->iv_roaming = IEEE80211_ROAMING_AUTO; 177 memcpy(vap->iv_roamparms, defroam, sizeof(defroam)); 181 ieee80211_scan_vdetach(struct ieee80211vap *vap) argument 183 struct ieee80211com *ic = vap->iv_ic; 188 if (ss != NULL && ss->ss_vap == vap) { 264 scan_update_locked(struct ieee80211vap *vap, argument 350 struct ieee80211vap *vap = ss->ss_vap; local 360 copy_ssid(struct ieee80211vap *vap, struct ieee80211_scan_state *ss, int nssid, const struct ieee80211_scan_ssid ssids[]) argument 378 start_scan_locked(const struct ieee80211_scanner *scan, struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument 450 ieee80211_start_scan(struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument 480 ieee80211_check_scan(struct ieee80211vap *vap, int flags, u_int duration, u_int mindwell, u_int maxdwell, u_int nssid, const struct ieee80211_scan_ssid ssids[]) argument 569 ieee80211_check_scan_current(struct ieee80211vap *vap) argument 582 ieee80211_bg_scan(struct ieee80211vap *vap, int flags) argument 681 ieee80211_cancel_scan(struct ieee80211vap *vap) argument 708 ieee80211_cancel_anyscan(struct ieee80211vap *vap) argument 735 ieee80211_scan_next(struct ieee80211vap *vap) argument 751 ieee80211_scan_done(struct ieee80211vap *vap) argument 771 ieee80211_probe_curchan(struct ieee80211vap *vap, int force) argument 807 struct ieee80211vap *vap = ss->ss_vap; local 846 struct ieee80211vap *vap = ss->ss_vap; local 1102 ieee80211_add_scan(struct ieee80211vap *vap, const struct ieee80211_scanparams *sp, const struct ieee80211_frame *wh, int subtype, int rssi, int noise) argument 1165 ieee80211_scan_assoc_success(struct ieee80211vap *vap, const uint8_t mac[]) argument 1180 ieee80211_scan_assoc_fail(struct ieee80211vap *vap, const uint8_t mac[], int reason) argument 1196 ieee80211_scan_iterate(struct ieee80211vap *vap, ieee80211_scan_iter_func *f, void *arg) argument 1209 ieee80211_scan_flush(struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_output.c | 102 doprint(struct ieee80211vap *vap, int subtype) argument 106 return (vap->iv_opmode == IEEE80211_M_IBSS); 113 * Start method for vap's. All packets from the stack come 120 #define IS_DWDS(vap) \ 121 (vap->iv_opmode == IEEE80211_M_WDS && \ 122 (vap->iv_flags_ext & IEEE80211_FEXT_WDSLEGACY) == 0) 123 struct ieee80211vap *vap = ifp->if_softc; local 124 struct ieee80211com *ic = vap->iv_ic; 133 IEEE80211_DPRINTF(vap, IEEE80211_MSG_OUTPUT, 139 if (vap 388 struct ieee80211vap *vap; local 518 struct ieee80211vap *vap = ni->ni_vap; local 614 struct ieee80211vap *vap = ni->ni_vap; local 684 struct ieee80211vap *vap = ni->ni_vap; local 890 ieee80211_mbuf_adjust(struct ieee80211vap *vap, int hdrsize, struct ieee80211_key *key, struct mbuf *m) argument 972 ieee80211_crypto_getucastkey(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 991 ieee80211_crypto_getmcastkey(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 1010 ieee80211_encap(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 1365 ieee80211_fragment(struct ieee80211vap *vap, struct mbuf *m0, u_int hdrsize, u_int ciphdrsize, u_int mtu) argument 1623 ieee80211_add_powerconstraint(uint8_t *frm, struct ieee80211vap *vap) argument 1670 ieee80211_add_csa(uint8_t *frm, struct ieee80211vap *vap) argument 1708 ieee80211_add_wpa(uint8_t *frm, const struct ieee80211vap *vap) argument 1719 ieee80211_add_rsn(uint8_t *frm, const struct ieee80211vap *vap) argument 1752 struct ieee80211vap *vap = ni->ni_vap; local 1858 ieee80211_getcapinfo(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 1893 struct ieee80211vap *vap = ni->ni_vap; local 2230 struct ieee80211vap *vap = bss->ni_vap; local 2389 ieee80211_send_proberesp(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], int legacy) argument 2499 struct ieee80211vap *vap = ni->ni_vap; local 2515 struct ieee80211vap *vap = ni->ni_vap; local 2539 struct ieee80211vap *vap = ni->ni_vap; local 2690 struct ieee80211vap *vap = ni->ni_vap; local 2793 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_ddb.c | 104 DB_SHOW_COMMAND(vap, db_show_vap) 109 db_printf("usage: show vap <addr>\n"); 172 const struct ieee80211vap *vap; local 175 TAILQ_FOREACH(vap, &ic->ic_vaps, 178 vap->iv_ifp->if_xname, vap); 333 _db_show_vap(const struct ieee80211vap *vap, int showprocs) argument 335 const struct ieee80211com *ic = vap->iv_ic; 338 db_printf("%p:", vap); 339 db_printf(" bss %p", vap 500 struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_mesh.c | 191 ieee80211_mesh_rt_find(struct ieee80211vap *vap, argument 194 struct ieee80211_mesh_state *ms = vap->iv_mesh; 204 ieee80211_mesh_rt_add(struct ieee80211vap *vap, argument 207 struct ieee80211_mesh_state *ms = vap->iv_mesh; 210 KASSERT(ieee80211_mesh_rt_find(vap, dest) == NULL, 212 KASSERT(!IEEE80211_ADDR_EQ(vap->iv_myaddr, dest), 225 ieee80211_mesh_proxy_check(struct ieee80211vap *vap, argument 228 struct ieee80211_mesh_state *ms = vap->iv_mesh; 236 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_MESH, dest, 238 vap 276 ieee80211_mesh_rt_del(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN]) argument 294 ieee80211_mesh_rt_flush(struct ieee80211vap *vap) argument 308 ieee80211_mesh_rt_flush_peer(struct ieee80211vap *vap, const uint8_t peer[IEEE80211_ADDR_LEN]) argument 327 mesh_rt_flush_invalid(struct ieee80211vap *vap) argument 384 mesh_select_proto_path(struct ieee80211vap *vap, const char *name) argument 399 mesh_select_proto_metric(struct ieee80211vap *vap, const char *name) argument 502 mesh_vdetach(struct ieee80211vap *vap) argument 517 mesh_vattach(struct ieee80211vap *vap) argument 549 mesh_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 704 struct ieee80211vap *vap = arg; local 719 struct ieee80211vap *vap = ni->ni_vap; local 774 mesh_generateid(struct ieee80211vap *vap) argument 793 mesh_checkpseq(struct ieee80211vap *vap, const uint8_t source[IEEE80211_ADDR_LEN], uint32_t seq) argument 824 mesh_find_txnode(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN]) argument 847 mesh_forward(struct ieee80211vap *vap, struct mbuf *m, const struct ieee80211_meshcntl *mc) argument 930 mesh_decap(struct ieee80211vap *vap, struct mbuf *m, int hdrlen, int meshdrlen) argument 1020 mesh_isucastforme(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1044 struct ieee80211vap *vap = ni->ni_vap; local 1305 struct ieee80211vap *vap = ni->ni_vap; local 1554 struct ieee80211vap *vap = ni->ni_vap; local 1635 struct ieee80211vap *vap = ni->ni_vap; local 1768 struct ieee80211vap *vap = ni->ni_vap; local 1919 struct ieee80211vap *vap = ni->ni_vap; local 1979 struct ieee80211vap *vap = ni->ni_vap; local 2047 struct ieee80211vap *vap = ni->ni_vap; local 2098 struct ieee80211vap *vap = ni->ni_vap; local 2136 struct ieee80211vap *vap = ni->ni_vap; local 2275 mesh_verify_meshid(struct ieee80211vap *vap, const uint8_t *ie) argument 2288 mesh_verify_meshconf(struct ieee80211vap *vap, const uint8_t *ie) argument 2339 mesh_verify_meshpeer(struct ieee80211vap *vap, uint8_t subtype, const uint8_t *ie) argument 2373 ieee80211_add_meshid(uint8_t *frm, struct ieee80211vap *vap) argument 2391 ieee80211_add_meshconf(uint8_t *frm, struct ieee80211vap *vap) argument 2526 ieee80211_mesh_node_init(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 2538 struct ieee80211vap *vap = ni->ni_vap; local 2566 ieee80211_mesh_update_beacon(struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo) argument 2578 mesh_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2681 mesh_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_acl.c | 98 acl_attach(struct ieee80211vap *vap) argument 109 as->as_vap = vap; 110 vap->iv_as = as; 116 acl_detach(struct ieee80211vap *vap) argument 118 struct aclstate *as = vap->iv_as; 123 acl_free_all(vap); 124 vap->iv_as = NULL; 155 acl_check(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 157 struct aclstate *as = vap->iv_as; 172 acl_add(struct ieee80211vap *vap, cons argument 210 acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 229 acl_free_all(struct ieee80211vap *vap) argument 245 acl_setpolicy(struct ieee80211vap *vap, int policy) argument 272 acl_getpolicy(struct ieee80211vap *vap) argument 280 acl_setioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 287 acl_getioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_node.c | 128 * Set flags to be propagated to all vap's; 144 ieee80211_node_vattach(struct ieee80211vap *vap) argument 147 vap->iv_max_aid = IEEE80211_AID_DEF; 150 vap->iv_inact_init = IEEE80211_INACT_INIT; 151 vap->iv_inact_auth = IEEE80211_INACT_AUTH; 152 vap->iv_inact_run = IEEE80211_INACT_RUN; 153 vap->iv_inact_probe = IEEE80211_INACT_PROBE; 155 IEEE80211_DPRINTF(vap, IEEE80211_MSG_INACT, 157 vap->iv_inact_init, vap 162 ieee80211_node_latevattach(struct ieee80211vap *vap) argument 189 ieee80211_node_vdetach(struct ieee80211vap *vap) argument 211 struct ieee80211vap *vap = ni->ni_vap; local 224 struct ieee80211vap *vap = ni->ni_vap; local 242 struct ieee80211vap *vap = ni->ni_vap; local 279 struct ieee80211vap *vap = ni->ni_vap; local 323 ieee80211_create_ibss(struct ieee80211vap* vap, struct ieee80211_channel *chan) argument 422 ieee80211_reset_bss(struct ieee80211vap *vap) argument 461 check_bss(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 501 check_bss_debug(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 570 struct ieee80211vap *vap = ni->ni_vap; local 608 struct ieee80211vap *vap; local 695 struct ieee80211vap *vap = selbs->ni_vap; local 755 ieee80211_sta_join(struct ieee80211vap *vap, struct ieee80211_channel *chan, const struct ieee80211_scan_entry *se) argument 850 node_alloc(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 954 struct ieee80211vap *vap = ni->ni_vap; local 1047 struct ieee80211vap *vap = ni->ni_vap; local 1111 ieee80211_alloc_node(struct ieee80211_node_table *nt, struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1168 ieee80211_tmp_node(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1205 ieee80211_dup_bss(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1232 ieee80211_node_create_wds(struct ieee80211vap *vap, const uint8_t bssid[IEEE80211_ADDR_LEN], struct ieee80211_channel *chan) argument 1336 ieee80211_find_vap_node_locked_debug(struct ieee80211_node_table *nt, const struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line) argument 1370 ieee80211_find_vap_node_debug(struct ieee80211_node_table *nt, const struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line) argument 1394 ieee80211_fakeup_adhoc_node(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1479 ieee80211_add_neighbor(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp) argument 1610 ieee80211_find_txnode_debug(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line) argument 1676 struct ieee80211vap *vap = ni->ni_vap; local 1874 struct ieee80211vap *vap = ni->ni_vap; local 1933 struct ieee80211vap *vap; local 2078 struct ieee80211vap *vap; local 2217 struct ieee80211vap *vap; local 2306 struct ieee80211vap *vap = ni->ni_vap; local 2486 struct ieee80211vap *vap = ni->ni_vap; local 2545 struct ieee80211vap *vap; member in struct:rssiinfo 2554 struct ieee80211vap *vap = ni->ni_vap; local 2573 struct ieee80211vap *vap = ni->ni_vap; local 2594 struct ieee80211vap *vap = ni->ni_vap; local 2611 ieee80211_getrssi(struct ieee80211vap *vap) argument 2646 ieee80211_getsignal(struct ieee80211vap *vap, int8_t *rssi, int8_t *noise) argument [all...] |
H A D | ieee80211_crypto_none.c | 72 none_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 74 return vap; /* for diagnostics+stats */ 93 struct ieee80211vap *vap = k->wk_private; local 102 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr1, 104 vap->iv_stats.is_tx_badcipher++; 111 struct ieee80211vap *vap = k->wk_private; local 122 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 124 vap->iv_stats.is_rx_badkeyid++; 131 struct ieee80211vap *vap = k->wk_private; local 133 vap 140 struct ieee80211vap *vap = k->wk_private; local [all...] |
H A D | ieee80211.c | 97 MALLOC_DEFINE(M_80211_VAP, "80211vap", "802.11 vap state"); 261 * the driver on attach to prior to creating any vap's. 330 * all vap's and reclaim all common state prior to the 338 struct ieee80211vap *vap; local 342 while ((vap = TAILQ_FIRST(&ic->ic_vaps)) != NULL) 343 ieee80211_vap_destroy(vap); 375 default_reset(struct ieee80211vap *vap, u_long cmd) argument 381 * Prepare a vap for use. Drivers use this call to 382 * setup net80211 state in new vap' 386 ieee80211_vap_setup(struct ieee80211com *ic, struct ieee80211vap *vap, const char name[IFNAMSIZ], int unit, enum ieee80211_opmode opmode, int flags, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 511 ieee80211_vap_attach(struct ieee80211vap *vap, ifm_change_cb_t media_change, ifm_stat_cb_t media_stat) argument 576 ieee80211_vap_detach(struct ieee80211vap *vap) argument 644 struct ieee80211vap *vap; local 689 struct ieee80211vap *vap; local 707 ieee80211_syncflag(struct ieee80211vap *vap, int flag) argument 729 struct ieee80211vap *vap; local 747 ieee80211_syncflag_ht(struct ieee80211vap *vap, int flag) argument 769 struct ieee80211vap *vap; local 787 ieee80211_syncflag_ext(struct ieee80211vap *vap, int flag) argument 1274 struct ieee80211vap *vap = ifp->if_softc; local 1349 struct ieee80211vap *vap; local 1365 struct ieee80211vap *vap = ifp->if_softc; local [all...] |
H A D | ieee80211_hwmp.c | 233 hwmp_vattach(struct ieee80211vap *vap) argument 237 KASSERT(vap->iv_opmode == IEEE80211_M_MBSS, 238 ("not a mesh vap, opmode %d", vap->iv_opmode)); 248 vap->iv_hwmp = hs; 252 hwmp_vdetach(struct ieee80211vap *vap) argument 254 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; 257 free(vap->iv_hwmp, M_80211_VAP); 258 vap->iv_hwmp = NULL; 262 hwmp_newstate(struct ieee80211vap *vap, enu argument 283 struct ieee80211vap *vap = ni->ni_vap; local 396 struct ieee80211vap *vap = ni->ni_vap; local 578 hwmp_rootmode_setup(struct ieee80211vap *vap) argument 608 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 648 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 674 hwmp_recv_preq(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshpreq_ie *preq) argument 936 hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshprep_ie *prep) argument 1108 struct ieee80211vap *vap = ni->ni_vap; local 1143 hwmp_recv_perr(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshperr_ie *perr) argument 1222 hwmp_recv_rann(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshrann_ie *rann) argument 1285 hwmp_discover(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN], struct mbuf *m) argument 1390 hwmp_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1413 hwmp_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_ratectl_none.c | 49 none_init(struct ieee80211vap *vap) argument 54 none_deinit(struct ieee80211vap *vap) argument 56 free(vap->iv_rs, M_80211_RATECTL); 80 none_tx_complete(const struct ieee80211vap *vap, argument 87 none_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni, argument 93 none_setinterval(const struct ieee80211vap *vap, int msecs) argument
|
H A D | ieee80211_superg.c | 123 ieee80211_superg_vattach(struct ieee80211vap *vap) argument 125 struct ieee80211com *ic = vap->iv_ic; 128 vap->iv_caps &= ~IEEE80211_C_FF; 129 if (vap->iv_caps & IEEE80211_C_FF) 130 vap->iv_flags |= IEEE80211_F_FF; 132 if (vap->iv_opmode == IEEE80211_M_STA && 133 (vap->iv_caps & IEEE80211_C_TURBOP)) 134 vap->iv_flags |= IEEE80211_F_TURBOP; 138 ieee80211_superg_vdetach(struct ieee80211vap *vap) argument 175 const struct ieee80211vap *vap local 198 struct ieee80211vap *vap = ni->ni_vap; local 249 struct ieee80211vap *vap = ni->ni_vap; local 338 ff_encap1(struct ieee80211vap *vap, struct mbuf *m, const struct ether_header *eh) argument 374 ieee80211_ff_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, struct ieee80211_key *key) argument 501 struct ieee80211vap *vap = ni->ni_vap; local 531 struct ieee80211vap *vap; local 627 struct ieee80211vap *vap = ni->ni_vap; local 656 struct ieee80211vap *vap = ni->ni_vap; local 815 ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) argument 849 getathcap(struct ieee80211vap *vap, int cap) argument 859 superg_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 876 superg_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
/freebsd-9.3-release/sys/fs/nfsclient/ |
H A D | nfs_kdtrace.h | 87 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) do { \ 90 nfscl_attrcache_get_hit_id, (vp), (vap)); \ 99 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error) do { \ 102 nfscl_attrcache_load_done_id, (vp), (vap), \ 114 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) 116 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error)
|
/freebsd-9.3-release/sys/nfs/ |
H A D | nfs_kdtrace.h | 87 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) do { \ 90 nfsclient_attrcache_get_hit_id, (vp), (vap)); \ 99 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error) do { \ 102 nfsclient_attrcache_load_done_id, (vp), (vap), \ 114 #define KDTRACE_NFS_ATTRCACHE_GET_HIT(vp, vap) 116 #define KDTRACE_NFS_ATTRCACHE_LOAD_DONE(vp, vap, error)
|