/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_mac_ctxt.h | 111 extern int iwm_mvm_mac_ctxt_add(struct iwm_softc *sc, struct ieee80211vap *vap); 112 extern int iwm_mvm_mac_ctxt_changed(struct iwm_softc *sc, struct ieee80211vap *vap); 113 extern int iwm_mvm_mac_ctxt_remove(struct iwm_softc *sc, struct ieee80211vap *vap);
|
/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_sta.c | 91 sta_vdetach(struct ieee80211vap *vap) argument 96 sta_vattach(struct ieee80211vap *vap) argument 98 vap->iv_newstate = sta_newstate; 99 vap->iv_input = sta_input; 100 vap->iv_recv_mgmt = sta_recv_mgmt; 101 vap->iv_recv_ctl = sta_recv_ctl; 102 vap->iv_opdetach = sta_vdetach; 103 vap->iv_bmiss = sta_beacon_miss; 112 sta_beacon_miss(struct ieee80211vap *vap) argument 114 struct ieee80211com *ic = vap 188 sta_authretry(struct ieee80211vap *vap, struct ieee80211_node *ni, int reason) argument 209 sta_swbmiss_start(struct ieee80211vap *vap) argument 231 sta_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 478 isdstods_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 499 isfromds_mcastecho(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 515 doprint(struct ieee80211vap *vap, int subtype) argument 540 struct ieee80211vap *vap = ni->ni_vap; local 944 struct ieee80211vap *vap = ni->ni_vap; local 974 struct ieee80211vap *vap = ni->ni_vap; local 1084 ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1127 ieee80211_parse_csaparams(struct ieee80211vap *vap, uint8_t *frm, const struct ieee80211_frame *wh) argument 1238 contbgscan(struct ieee80211vap *vap) argument 1257 startbgscan(struct ieee80211vap *vap) argument 1276 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_tdma.c | 114 static void tdma_vdetach(struct ieee80211vap *vap); 116 static void tdma_beacon_miss(struct ieee80211vap *vap); 119 static int tdma_update(struct ieee80211vap *vap, 126 settxparms(struct ieee80211vap *vap, enum ieee80211_phymode mode, int rate) argument 128 if (isclr(vap->iv_ic->ic_modecaps, mode)) 131 vap->iv_txparms[mode].ucastrate = rate; 132 vap->iv_txparms[mode].mcastrate = rate; 148 ieee80211_tdma_vattach(struct ieee80211vap *vap) argument 152 KASSERT(vap->iv_caps & IEEE80211_C_TDMA, 153 ("not a tdma vap, cap 197 tdma_vdetach(struct ieee80211vap *vap) argument 215 struct ieee80211vap *vap = arg; local 225 tdma_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 291 tdma_beacon_miss(struct ieee80211vap *vap) argument 330 struct ieee80211vap *vap = ni->ni_vap; local 409 tdma_update(struct ieee80211vap *vap, const struct ieee80211_tdma_param *tdma, struct ieee80211_node *ni, int pickslot) argument 523 struct ieee80211vap *vap = ni->ni_vap; local 628 ieee80211_tdma_getslot(struct ieee80211vap *vap) argument 643 struct ieee80211vap *vap = ni->ni_vap; local 672 ieee80211_add_tdma(uint8_t *frm, struct ieee80211vap *vap) argument 712 ieee80211_tdma_update_beacon(struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo) argument 746 tdma_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 774 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 96 static void null_key_update(struct ieee80211vap *vap) {} argument 108 cipher_attach(struct ieee80211vap *vap, struct ieee80211_key *key) argument 110 return key->wk_cipher->ic_attach(vap, key); 117 dev_key_alloc(struct ieee80211vap *vap, argument 125 dev_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 132 dev_key_set(struct ieee80211vap *vap, const struct ieee80211_key *key) argument 159 ieee80211_crypto_vattach(struct ieee80211vap *vap) argument 184 ieee80211_crypto_vdetach(struct ieee80211vap *vap) argument 262 ieee80211_crypto_newkey(struct ieee80211vap *vap, int cipher, int flags, struct ieee80211_key *key) argument 421 _ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 455 ieee80211_crypto_delkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 469 ieee80211_crypto_delglobalkeys(struct ieee80211vap *vap) argument 487 ieee80211_crypto_setkey(struct ieee80211vap *vap, struct ieee80211_key *key) argument 524 ieee80211_crypto_get_keyid(struct ieee80211vap *vap, struct ieee80211_key *k) argument 536 struct ieee80211vap *vap = ni->ni_vap; local 590 struct ieee80211vap *vap = ni->ni_vap; local 640 struct ieee80211vap *vap = ni->ni_vap; local 658 struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_ratectl.h | 67 ieee80211_ratectl_deinit(struct ieee80211vap *vap) argument 69 vap->iv_rate->ir_deinit(vap); 75 const struct ieee80211vap *vap = ni->ni_vap; local 77 vap->iv_rate->ir_node_init(ni); 83 const struct ieee80211vap *vap = ni->ni_vap; local 85 vap->iv_rate->ir_node_deinit(ni); 91 const struct ieee80211vap *vap = ni->ni_vap; local 93 return vap->iv_rate->ir_rate(ni, arg, iarg); 97 ieee80211_ratectl_tx_complete(const struct ieee80211vap *vap, argument 104 ieee80211_ratectl_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni, void *arg1, void *arg2, void *arg3) argument 113 ieee80211_ratectl_setinterval(const struct ieee80211vap *vap, int msecs) argument 123 const struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_power.c | 66 ieee80211_power_vattach(struct ieee80211vap *vap) argument 68 if (vap->iv_opmode == IEEE80211_M_HOSTAP || 69 vap->iv_opmode == IEEE80211_M_IBSS) { 71 vap->iv_update_ps = ieee80211_update_ps; 72 vap->iv_set_tim = ieee80211_set_tim; 74 vap->iv_node_ps = ieee80211_node_pwrsave; 75 vap->iv_sta_ps = ieee80211_sta_pwrsave; 79 ieee80211_power_latevattach(struct ieee80211vap *vap) argument 85 if (vap->iv_opmode == IEEE80211_M_HOSTAP) { 86 vap 99 ieee80211_power_vdetach(struct ieee80211vap *vap) argument 233 struct ieee80211vap *vap = ni->ni_vap; local 273 ieee80211_update_ps(struct ieee80211vap *vap, int nsta) argument 287 struct ieee80211vap *vap = ni->ni_vap; local 327 struct ieee80211vap *vap = ni->ni_vap; local 420 struct ieee80211vap *vap = ni->ni_vap; local 481 struct ieee80211vap *vap = ni->ni_vap; local 521 ieee80211_sta_pwrsave(struct ieee80211vap *vap, int enable) argument 556 ieee80211_sta_tim_notify(struct ieee80211vap *vap, int set) argument 598 ieee80211_sta_ps_timer_check(struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_monitor.c | 78 monitor_vdetach(struct ieee80211vap *vap) argument 83 monitor_vattach(struct ieee80211vap *vap) argument 85 vap->iv_newstate = monitor_newstate; 86 vap->iv_input = monitor_input; 87 vap->iv_opdetach = monitor_vdetach; 91 * IEEE80211_M_MONITOR vap state machine handler. 94 monitor_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 96 struct ieee80211com *ic = vap->iv_ic; 101 ostate = vap->iv_state; 102 IEEE80211_DPRINTF(vap, IEEE80211_MSG_STAT 131 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_wds.c | 84 wds_vdetach(struct ieee80211vap *vap) argument 86 if (vap->iv_bss != NULL) { 88 if (vap->iv_bss->ni_wdsvap == vap) 89 vap->iv_bss->ni_wdsvap = NULL; 94 wds_vattach(struct ieee80211vap *vap) argument 96 vap->iv_newstate = wds_newstate; 97 vap->iv_input = wds_input; 98 vap->iv_recv_mgmt = wds_recv_mgmt; 99 vap 125 ieee80211_create_wds(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 239 struct ieee80211vap *vap; local 344 wds_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 412 struct ieee80211vap *vap = ni->ni_vap; local 731 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_hostap.c | 91 hostap_vdetach(struct ieee80211vap *vap) argument 96 hostap_vattach(struct ieee80211vap *vap) argument 98 vap->iv_newstate = hostap_newstate; 99 vap->iv_input = hostap_input; 100 vap->iv_recv_mgmt = hostap_recv_mgmt; 101 vap->iv_recv_ctl = hostap_recv_ctl; 102 vap->iv_opdetach = hostap_vdetach; 103 vap->iv_deliver_data = hostap_deliver_data; 104 vap->iv_recv_pspoll = ieee80211_recv_pspoll; 110 struct ieee80211vap *vap local 122 struct ieee80211vap *vap = arg; local 135 struct ieee80211vap *vap = arg; local 158 hostap_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 353 hostap_deliver_data(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 446 doprint(struct ieee80211vap *vap, int subtype) argument 471 struct ieee80211vap *vap = ni->ni_vap; local 895 struct ieee80211vap *vap = ni->ni_vap; local 974 struct ieee80211vap *vap = ni->ni_vap; local 1208 ieee80211_parse_wpa(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1356 ieee80211_parse_rsn(struct ieee80211vap *vap, const uint8_t *frm, struct ieee80211_rsnparms *rsn, const struct ieee80211_frame *wh) argument 1452 struct ieee80211vap *vap = ni->ni_vap; local 1545 struct ieee80211vap *vap = ni->ni_vap; local 1592 struct ieee80211vap *vap = ni->ni_vap; local 1617 struct ieee80211vap *vap = ni->ni_vap; local 1656 struct ieee80211vap *vap = ni->ni_vap; local 2240 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_ioctl.c | 73 ieee80211_ioctl_getkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 75 struct ieee80211com *ic = vap->iv_ic; 90 ni = ieee80211_find_vap_node(&ic->ic_sta, vap, ik.ik_macaddr); 97 wk = &vap->iv_nw_keys[kid]; 98 IEEE80211_ADDR_COPY(&ik.ik_macaddr, vap->iv_bss->ni_macaddr); 105 if (wk->wk_keyix == vap->iv_def_txkey) 129 ieee80211_ioctl_getchanlist(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 131 struct ieee80211com *ic = vap->iv_ic; 139 ieee80211_ioctl_getchaninfo(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 141 struct ieee80211com *ic = vap 153 ieee80211_ioctl_getwpaie(struct ieee80211vap *vap, struct ieee80211req *ireq, int req) argument 209 ieee80211_ioctl_getstastats(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 314 ieee80211_ioctl_getscanresults(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 350 struct ieee80211vap *vap; member in struct:stainforeq 381 struct ieee80211vap *vap = ni->ni_vap; local 464 getstainfo_common(struct ieee80211vap *vap, struct ieee80211req *ireq, struct ieee80211_node *ni, size_t off) argument 508 ieee80211_ioctl_getstainfo(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 531 ieee80211_ioctl_getstatxpow(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 552 ieee80211_ioctl_getwmeparam(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 595 ieee80211_ioctl_getmaccmd(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 603 ieee80211_ioctl_getcurchan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 634 ieee80211_ioctl_getappie(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 660 ieee80211_ioctl_getregdomain(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 672 ieee80211_ioctl_getroam(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 683 ieee80211_ioctl_gettxparams(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 728 ieee80211_ioctl_getstavlan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 756 dummy_ioctl_get(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 763 ieee80211_ioctl_getdefault(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 777 ieee80211_ioctl_get80211(struct ieee80211vap *vap, u_long cmd, struct ieee80211req *ireq) argument 1147 ieee80211_ioctl_setkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1221 ieee80211_ioctl_delkey(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1261 struct ieee80211vap *vap; member in struct:mlmeop 1267 mlmedebug(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int op, int reason) argument 1313 struct ieee80211vap *vap = ni->ni_vap; local 1336 setmlme_dropsta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], struct mlmeop *mlmeop) argument 1365 setmlme_common(struct ieee80211vap *vap, int op, const uint8_t mac[IEEE80211_ADDR_LEN], int reason) argument 1526 setmlme_assoc_sta(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1551 setmlme_assoc_adhoc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], int ssid_len, const uint8_t ssid[IEEE80211_NWID_LEN]) argument 1590 ieee80211_ioctl_setmlme(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1615 ieee80211_ioctl_macmac(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1640 ieee80211_ioctl_setmaccmd(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1678 ieee80211_ioctl_setchanlist(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1724 ieee80211_ioctl_setstastats(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1750 ieee80211_ioctl_setstatxpow(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1770 ieee80211_ioctl_setwmeparam(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1934 setcurchan(struct ieee80211vap *vap, struct ieee80211_channel *c) argument 1997 ieee80211_ioctl_setchannel(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2076 ieee80211_ioctl_setcurchan(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2100 ieee80211_ioctl_setregdomain(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2162 ieee80211_ioctl_setroam(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2226 ieee80211_ioctl_settxparams(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2335 setwparsnie(struct ieee80211vap *vap, uint8_t *ie, int space) argument 2347 ieee80211_ioctl_setappie_locked(struct ieee80211vap *vap, const struct ieee80211req *ireq, int fc0) argument 2425 ieee80211_ioctl_setappie(struct ieee80211vap *vap, const struct ieee80211req *ireq) argument 2443 ieee80211_ioctl_chanswitch(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2475 ieee80211_scanreq(struct ieee80211vap *vap, struct ieee80211_scan_req *sr) argument 2584 ieee80211_ioctl_scanreq(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2605 ieee80211_ioctl_setstavlan(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2629 isvap11g(const struct ieee80211vap *vap) argument 2637 isvapht(const struct ieee80211vap *vap) argument 2648 dummy_ioctl_set(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2655 ieee80211_ioctl_setdefault(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2669 ieee80211_ioctl_set80211(struct ieee80211vap *vap, u_long cmd, struct ieee80211req *ireq) argument 3390 struct ieee80211vap *vap = ifp->if_softc; local [all...] |
H A D | ieee80211_proto.c | 317 null_update_beacon(struct ieee80211vap *vap, int item) argument 322 ieee80211_proto_vattach(struct ieee80211vap *vap) argument 324 struct ieee80211com *ic = vap->iv_ic; 325 struct ifnet *ifp = vap->iv_ifp; 334 vap->iv_rtsthreshold = IEEE80211_RTS_DEFAULT; 335 vap->iv_fragthreshold = IEEE80211_FRAG_DEFAULT; 336 vap->iv_bmiss_max = IEEE80211_BMISS_MAX; 337 callout_init_mtx(&vap->iv_swbmiss, IEEE80211_LOCK_OBJ(ic), 0); 338 callout_init(&vap->iv_mgtsend, 1); 339 TASK_INIT(&vap 393 ieee80211_proto_vdetach(struct ieee80211vap *vap) argument 633 struct ieee80211vap *vap = ni->ni_vap; local 1009 setwmeparams(struct ieee80211vap *vap, const char *type, int ac, struct wmeParams *wmep, const paramType *phy) argument 1023 ieee80211_wme_initparams_locked(struct ieee80211vap *vap) argument 1101 ieee80211_wme_initparams(struct ieee80211vap *vap) argument 1114 ieee80211_wme_updateparams_locked(struct ieee80211vap *vap) argument 1286 ieee80211_wme_updateparams(struct ieee80211vap *vap) argument 1392 ieee80211_start_check_reset_chan(struct ieee80211vap *vap) argument 1408 ieee80211_start_reset_chan(struct ieee80211vap *vap) argument 1421 ieee80211_start_locked(struct ieee80211vap *vap) argument 1507 struct ieee80211vap *vap = arg; local 1523 struct ieee80211vap *vap; local 1542 ieee80211_stop_locked(struct ieee80211vap *vap) argument 1565 ieee80211_stop(struct ieee80211vap *vap) argument 1580 struct ieee80211vap *vap; local 1600 struct ieee80211vap *vap; local 1621 struct ieee80211vap *vap; local 1663 struct ieee80211vap *vap; local 1683 struct ieee80211vap *vap = arg; local 1702 struct ieee80211vap *vap = arg; local 1747 struct ieee80211vap *vap; local 1775 struct ieee80211vap *vap; local 1799 struct ieee80211vap *vap; local 1834 struct ieee80211vap *vap; local 1861 struct ieee80211vap *vap; local 1892 struct ieee80211vap *vap; local 1922 struct ieee80211vap *vap = xvap; local 2048 ieee80211_new_state_locked(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 2208 ieee80211_new_state(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument [all...] |
H A D | ieee80211_adhoc.c | 94 adhoc_vdetach(struct ieee80211vap *vap) argument 99 adhoc_vattach(struct ieee80211vap *vap) argument 101 vap->iv_newstate = adhoc_newstate; 102 vap->iv_input = adhoc_input; 103 if (vap->iv_opmode == IEEE80211_M_IBSS) 104 vap->iv_recv_mgmt = adhoc_recv_mgmt; 106 vap->iv_recv_mgmt = ahdemo_recv_mgmt; 107 vap->iv_recv_ctl = adhoc_recv_ctl; 108 vap->iv_opdetach = adhoc_vdetach; 115 if (vap 123 struct ieee80211vap *vap = arg; local 133 adhoc_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 271 doprint(struct ieee80211vap *vap, int subtype) argument 296 struct ieee80211vap *vap = ni->ni_vap; local 674 struct ieee80211vap *vap = ni->ni_vap; local 918 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_ratectl.c | 85 struct ieee80211vap *vap = arg1; local 86 struct ieee80211com *ic = vap->iv_ic; 108 ieee80211_ratectl_init(struct ieee80211vap *vap) argument 110 if (vap->iv_rate == ratectls[IEEE80211_RATECTL_NONE]) 111 ieee80211_ratectl_set(vap, IEEE80211_RATECTL_AMRR); 112 vap->iv_rate->ir_init(vap); 115 SYSCTL_ADD_PROC(vap->iv_sysctl, SYSCTL_CHILDREN(vap->iv_oid), OID_AUTO, 116 "rate_stats", CTLTYPE_STRING | CTLFLAG_RD | CTLFLAG_MPSAFE, vap, 121 ieee80211_ratectl_set(struct ieee80211vap *vap, int type) argument [all...] |
H A D | ieee80211_scan.c | 122 ieee80211_scan_vattach(struct ieee80211vap *vap) argument 124 struct ieee80211com *ic = vap->iv_ic; 127 vap->iv_bgscanidle = (IEEE80211_BGSCAN_IDLE_DEFAULT*1000)/hz; 128 vap->iv_bgscanintvl = IEEE80211_BGSCAN_INTVAL_DEFAULT*hz; 129 vap->iv_scanvalid = IEEE80211_SCAN_VALID_DEFAULT*hz; 131 vap->iv_roaming = IEEE80211_ROAMING_AUTO; 133 memset(vap->iv_roamparms, 0, sizeof(vap->iv_roamparms)); 138 memcpy(&vap->iv_roamparms[m], &defroam[m], sizeof(defroam[m])); 141 ic->ic_scan_methods->sc_vattach(vap); 145 ieee80211_scan_vdetach(struct ieee80211vap *vap) argument 227 ieee80211_scan_update_locked(struct ieee80211vap *vap, const struct ieee80211_scanner *scan) argument 293 struct ieee80211vap *vap = ss->ss_vap; local 303 ieee80211_scan_copy_ssid(struct ieee80211vap *vap, struct ieee80211_scan_state *ss, int nssid, const struct ieee80211_scan_ssid ssids[]) argument 321 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 346 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 404 ieee80211_check_scan_current(struct ieee80211vap *vap) argument 417 ieee80211_bg_scan(struct ieee80211vap *vap, int flags) argument 445 ieee80211_cancel_scan(struct ieee80211vap *vap) argument 459 ieee80211_cancel_anyscan(struct ieee80211vap *vap) argument 472 ieee80211_scan_next(struct ieee80211vap *vap) argument 485 ieee80211_scan_done(struct ieee80211vap *vap) argument 509 ieee80211_probe_curchan(struct ieee80211vap *vap, int force) argument 573 ieee80211_add_scan(struct ieee80211vap *vap, struct ieee80211_channel *curchan, const struct ieee80211_scanparams *sp, const struct ieee80211_frame *wh, int subtype, int rssi, int noise) argument 602 ieee80211_scan_assoc_success(struct ieee80211vap *vap, const uint8_t mac[]) argument 617 ieee80211_scan_assoc_fail(struct ieee80211vap *vap, const uint8_t mac[], int reason) argument 633 ieee80211_scan_iterate(struct ieee80211vap *vap, ieee80211_scan_iter_func *f, void *arg) argument 646 ieee80211_scan_flush(struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_ddb.c | 108 DB_SHOW_COMMAND(vap, db_show_vap) 113 db_printf("usage: show vap <addr>\n"); 324 _db_show_vap(const struct ieee80211vap *vap, int showmesh, int showprocs) argument 326 const struct ieee80211com *ic = vap->iv_ic; 329 db_printf("%p:", vap); 330 db_printf(" bss %p", vap->iv_bss); 331 db_printf(" myaddr %s", ether_sprintf(vap->iv_myaddr)); 334 db_printf("\topmode %s", ieee80211_opmode_name[vap->iv_opmode]); 336 if (vap->iv_opmode == IEEE80211_M_MBSS) 337 db_printf("(%p)", vap 500 struct ieee80211vap *vap; local 675 const struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_crypto_none.c | 75 none_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument 77 return vap; /* for diagnostics+stats */ 101 struct ieee80211vap *vap = k->wk_private; local 106 keyid = ieee80211_crypto_get_keyid(vap, k); 112 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr1, 115 vap->iv_stats.is_tx_badcipher++; 122 struct ieee80211vap *vap = k->wk_private; local 133 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2, 135 vap->iv_stats.is_rx_badkeyid++; 142 struct ieee80211vap *vap local 151 struct ieee80211vap *vap = k->wk_private; local [all...] |
H A D | ieee80211_node.c | 125 * Set flags to be propagated to all vap's; 142 ieee80211_node_vattach(struct ieee80211vap *vap) argument 145 vap->iv_max_aid = IEEE80211_AID_DEF; 148 vap->iv_inact_init = IEEE80211_INACT_INIT; 149 vap->iv_inact_auth = IEEE80211_INACT_AUTH; 150 vap->iv_inact_run = IEEE80211_INACT_RUN; 151 vap->iv_inact_probe = IEEE80211_INACT_PROBE; 153 IEEE80211_DPRINTF(vap, IEEE80211_MSG_INACT, 155 vap->iv_inact_init, vap 160 ieee80211_node_latevattach(struct ieee80211vap *vap) argument 188 ieee80211_node_vdetach(struct ieee80211vap *vap) argument 210 struct ieee80211vap *vap = ni->ni_vap; local 223 struct ieee80211vap *vap = ni->ni_vap; local 241 struct ieee80211vap *vap = ni->ni_vap; local 278 struct ieee80211vap *vap = ni->ni_vap; local 322 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 559 struct ieee80211vap *vap = ni->ni_vap; local 596 struct ieee80211vap *vap = ni->ni_vap; local 654 struct ieee80211vap *vap = ni->ni_vap; local 678 struct ieee80211vap *vap; local 773 struct ieee80211vap *vap = selbs->ni_vap; local 839 ieee80211_sta_join(struct ieee80211vap *vap, struct ieee80211_channel *chan, const struct ieee80211_scan_entry *se) argument 958 node_alloc(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1065 struct ieee80211vap *vap = ni->ni_vap; local 1157 struct ieee80211vap *vap = ni->ni_vap; local 1219 ieee80211_alloc_node(struct ieee80211_node_table *nt, struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1274 ieee80211_tmp_node(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1311 ieee80211_dup_bss(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1338 ieee80211_node_create_wds(struct ieee80211vap *vap, const uint8_t bssid[IEEE80211_ADDR_LEN], struct ieee80211_channel *chan) argument 1442 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 1476 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 1500 ieee80211_fakeup_adhoc_node(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 1616 ieee80211_add_neighbor(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_scanparams *sp) argument 1747 ieee80211_find_txnode_debug(struct ieee80211vap *vap, const uint8_t macaddr[IEEE80211_ADDR_LEN], const char *func, int line) argument 1813 struct ieee80211vap *vap = ni->ni_vap; local 2007 struct ieee80211vap *vap = ni->ni_vap; local 2055 struct ieee80211vap *vap = ni->ni_vap; local 2189 struct ieee80211vap *vap; local 2338 struct ieee80211vap *vap; local 2416 struct ieee80211vap *vap; local 2505 struct ieee80211vap *vap = ni->ni_vap; local 2685 struct ieee80211vap *vap = ni->ni_vap; local 2743 struct ieee80211vap *vap; member in struct:rssiinfo 2752 struct ieee80211vap *vap = ni->ni_vap; local 2771 struct ieee80211vap *vap = ni->ni_vap; local 2792 struct ieee80211vap *vap = ni->ni_vap; local 2809 ieee80211_getrssi(struct ieee80211vap *vap) argument 2844 ieee80211_getsignal(struct ieee80211vap *vap, int8_t *rssi, int8_t *noise) argument [all...] |
H A D | ieee80211_acl.c | 99 acl_attach(struct ieee80211vap *vap) argument 110 as->as_vap = vap; 111 vap->iv_as = as; 117 acl_detach(struct ieee80211vap *vap) argument 119 struct aclstate *as = vap->iv_as; 124 acl_free_all(vap); 125 vap->iv_as = NULL; 156 acl_check(struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 158 struct aclstate *as = vap->iv_as; 173 acl_add(struct ieee80211vap *vap, cons argument 212 acl_remove(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument 231 acl_free_all(struct ieee80211vap *vap) argument 247 acl_setpolicy(struct ieee80211vap *vap, int policy) argument 274 acl_getpolicy(struct ieee80211vap *vap) argument 282 acl_setioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 289 acl_getioctl(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_freebsd.c | 76 struct ieee80211vap *vap; local 106 vap = ic->ic_vap_create(ic, wlanname, unit, 111 return (vap == NULL ? EIO : 0); 117 struct ieee80211vap *vap = ifp->if_softc; local 118 struct ieee80211com *ic = vap->iv_ic; 120 ic->ic_vap_delete(vap); 124 ieee80211_vap_destroy(struct ieee80211vap *vap) argument 126 CURVNET_SET(vap->iv_ifp->if_vnet); 127 if_clone_destroyif(wlan_cloner, vap->iv_ifp); 190 struct ieee80211vap *vap local 212 ieee80211_sysctl_vattach(struct ieee80211vap *vap) argument 296 ieee80211_sysctl_vdetach(struct ieee80211vap *vap) argument 308 ieee80211_com_vincref(struct ieee80211vap *vap) argument 328 ieee80211_com_vdecref(struct ieee80211vap *vap) argument 341 ieee80211_com_vdetach(struct ieee80211vap *vap) argument 384 ieee80211_flush_ifq(struct ifqueue *ifq, struct ieee80211vap *vap) argument 468 ieee80211_realign(struct ieee80211vap *vap, struct mbuf *m, size_t align) argument 636 ieee80211_vap_xmitpkt(struct ieee80211vap *vap, struct mbuf *m) argument 683 struct ieee80211vap *vap = ni->ni_vap; local 704 struct ieee80211vap *vap = ni->ni_vap; local 722 ieee80211_notify_scan_done(struct ieee80211vap *vap) argument 735 ieee80211_notify_replay_failure(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_key *k, u_int64_t rsc, int tid) argument 766 ieee80211_notify_michael_failure(struct ieee80211vap *vap, const struct ieee80211_frame *wh, u_int keyix) argument 791 struct ieee80211vap *vap = ni->ni_vap; local 802 struct ieee80211vap *vap; local 824 struct ieee80211vap *vap; local 844 struct ieee80211vap *vap; local 863 struct ieee80211vap *vap = ni->ni_vap; local 874 struct ieee80211vap *vap = ni->ni_vap; local 883 ieee80211_notify_country(struct ieee80211vap *vap, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t cc[2]) argument 902 struct ieee80211vap *vap; local 935 struct ieee80211vap *vap = ifp->if_softc; local 964 struct ieee80211vap *vap = ifp->if_softc; local [all...] |
H A D | ieee80211_sta.h | 40 extern int ieee80211_parse_wmeparams(struct ieee80211vap *vap, uint8_t *frm,
|
H A D | ieee80211_scan_sw.c | 124 ieee80211_swscan_vattach(struct ieee80211vap *vap) argument 128 * TODO: all of the vap scan calls should be methods! 134 ieee80211_swscan_vdetach(struct ieee80211vap *vap) argument 136 struct ieee80211com *ic = vap->iv_ic; 141 if (ss != NULL && ss->ss_vap == vap && 147 ieee80211_swscan_set_scan_duration(struct ieee80211vap *vap, u_int duration) argument 149 struct ieee80211com *ic = vap->iv_ic; 164 struct ieee80211vap *vap, int flags, u_int duration, 168 struct ieee80211com *ic = vap->iv_ic; 174 IEEE80211_DPRINTF(vap, IEEE80211_MSG_SCA 163 ieee80211_swscan_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 240 ieee80211_swscan_start_scan(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 267 ieee80211_swscan_check_scan(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 325 ieee80211_swscan_bg_scan(const struct ieee80211_scanner *scan, struct ieee80211vap *vap, int flags) argument 420 cancel_scan(struct ieee80211vap *vap, int any, const char *func) argument 453 ieee80211_swscan_cancel_scan(struct ieee80211vap *vap) argument 462 ieee80211_swscan_cancel_anyscan(struct ieee80211vap *vap) argument 478 ieee80211_swscan_scan_next(struct ieee80211vap *vap) argument 494 ieee80211_swscan_scan_done(struct ieee80211vap *vap) argument 512 ieee80211_swscan_probe_curchan(struct ieee80211vap *vap, int force) argument 550 struct ieee80211vap *vap = ss->ss_vap; local 613 struct ieee80211vap *vap = ss->ss_vap; local 763 struct ieee80211vap *vap = ss->ss_vap; local 869 struct ieee80211vap *vap = ss->ss_vap; local 913 ieee80211_swscan_add_scan(struct ieee80211vap *vap, struct ieee80211_channel *curchan, const struct ieee80211_scanparams *sp, const struct ieee80211_frame *wh, int subtype, int rssi, int noise) argument [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_beacon.h | 39 struct ieee80211vap *vap); 41 struct ieee80211vap *vap); 44 extern void ath_beacon_update(struct ieee80211vap *vap, int item); 46 struct ieee80211vap *vap);
|
/freebsd-11-stable/contrib/libxo/libxo/ |
H A D | xo.h | 203 xo_emit_hv (xo_handle_t *xop, const char *fmt, va_list vap); 213 const char *fmt, va_list vap); 223 xo_emit_hvp (xo_handle_t *xop, const char *fmt, va_list vap) argument 225 return xo_emit_hv(xop, fmt, vap); 232 va_list vap; local 233 va_start(vap, fmt); 234 int rc = xo_emit_hv(xop, fmt, vap); 235 va_end(vap); 243 va_list vap; local 244 va_start(vap, fm 252 xo_emit_hvfp(xo_handle_t *xop, xo_emit_flags_t flags, const char *fmt, va_list vap) argument 262 va_list vap; local 273 va_list vap; local 463 xo_emit_warn_hcvp(xo_handle_t *xop, int as_warning, int code, const char *fmt, va_list vap) argument 473 va_list vap; local 483 va_list vap; local 494 va_list vap; local 504 va_list vap; local 515 va_list vap; local 527 va_list vap; local 538 va_list vap; local [all...] |
/freebsd-11-stable/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)
|
/freebsd-11-stable/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)
|