/freebsd-11-stable/sys/net80211/ |
H A D | ieee80211_mesh.c | 195 mesh_rt_add_locked(struct ieee80211vap *vap, argument 198 struct ieee80211_mesh_state *ms = vap->iv_mesh; 210 rt->rt_vap = vap; 222 ieee80211_mesh_rt_find(struct ieee80211vap *vap, argument 225 struct ieee80211_mesh_state *ms = vap->iv_mesh; 235 ieee80211_mesh_rt_add(struct ieee80211vap *vap, argument 238 struct ieee80211_mesh_state *ms = vap->iv_mesh; 241 KASSERT(ieee80211_mesh_rt_find(vap, dest) == NULL, 243 KASSERT(!IEEE80211_ADDR_EQ(vap->iv_myaddr, dest), 247 rt = mesh_rt_add_locked(vap, des 300 ieee80211_mesh_proxy_check(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN]) argument 360 ieee80211_mesh_rt_del(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN]) argument 385 ieee80211_mesh_rt_flush(struct ieee80211vap *vap) argument 399 ieee80211_mesh_rt_flush_peer(struct ieee80211vap *vap, const uint8_t peer[IEEE80211_ADDR_LEN]) argument 418 mesh_rt_flush_invalid(struct ieee80211vap *vap) argument 477 mesh_select_proto_path(struct ieee80211vap *vap, const char *name) argument 492 mesh_select_proto_metric(struct ieee80211vap *vap, const char *name) argument 507 mesh_gatemode_setup(struct ieee80211vap *vap) argument 529 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 638 mesh_vdetach(struct ieee80211vap *vap) argument 653 mesh_vattach(struct ieee80211vap *vap) argument 688 mesh_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 845 struct ieee80211vap *vap = arg; local 859 ieee80211_mesh_mark_gate(struct ieee80211vap *vap, const uint8_t *addr, struct ieee80211_mesh_route *rt) argument 898 struct ieee80211vap *vap = ni->ni_vap; local 953 mesh_generateid(struct ieee80211vap *vap) argument 972 mesh_checkpseq(struct ieee80211vap *vap, const uint8_t source[IEEE80211_ADDR_LEN], uint32_t seq) argument 1003 ieee80211_mesh_find_txnode(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN]) argument 1032 mesh_transmit_to_gate(struct ieee80211vap *vap, struct mbuf *m, struct ieee80211_mesh_route *rt_gate) argument 1065 ieee80211_mesh_forward_to_gates(struct ieee80211vap *vap, struct ieee80211_mesh_route *rt_dest) argument 1139 mesh_forward(struct ieee80211vap *vap, struct mbuf *m, const struct ieee80211_meshcntl *mc) argument 1246 mesh_decap(struct ieee80211vap *vap, struct mbuf *m, int hdrlen, int meshdrlen) argument 1339 mesh_isucastforme(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1367 mesh_recv_indiv_data_to_fwrd(struct ieee80211vap *vap, struct mbuf *m, struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1424 mesh_recv_indiv_data_to_me(struct ieee80211vap *vap, struct mbuf *m, struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1492 mesh_recv_group_data(struct ieee80211vap *vap, struct mbuf *m, struct ieee80211_frame *wh, const struct ieee80211_meshcntl *mc) argument 1529 struct ieee80211vap *vap = ni->ni_vap; local 1829 struct ieee80211vap *vap = ni->ni_vap; local 2107 struct ieee80211vap *vap = ni->ni_vap; local 2235 struct ieee80211vap *vap = ni->ni_vap; local 2383 struct ieee80211vap *vap = ni->ni_vap; local 2527 struct ieee80211vap *vap = ni->ni_vap; local 2560 struct ieee80211vap *vap = ni->ni_vap; local 2650 struct ieee80211vap *vap = ni->ni_vap; local 2711 struct ieee80211vap *vap = ni->ni_vap; local 2771 struct ieee80211vap *vap = ni->ni_vap; local 2839 struct ieee80211vap *vap = ni->ni_vap; local 2888 struct ieee80211vap *vap = ni->ni_vap; local 2936 struct ieee80211vap *vap = ni->ni_vap; local 3080 mesh_verify_meshid(struct ieee80211vap *vap, const uint8_t *ie) argument 3093 mesh_verify_meshconf(struct ieee80211vap *vap, const uint8_t *ie) argument 3141 mesh_verify_meshpeer(struct ieee80211vap *vap, uint8_t subtype, const uint8_t *ie) argument 3184 ieee80211_add_meshid(uint8_t *frm, struct ieee80211vap *vap) argument 3202 ieee80211_add_meshconf(uint8_t *frm, struct ieee80211vap *vap) argument 3353 ieee80211_mesh_node_init(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 3366 struct ieee80211vap *vap = ni->ni_vap; local 3395 ieee80211_mesh_update_beacon(struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo) argument 3407 mesh_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 3515 mesh_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_output.c | 92 doprint(struct ieee80211vap *vap, int subtype) argument 96 return (vap->iv_opmode == IEEE80211_M_IBSS); 119 ieee80211_vap_pkt_send_dest(struct ieee80211vap *vap, struct mbuf *m, argument 122 struct ieee80211com *ic = vap->iv_ic; 123 struct ifnet *ifp = vap->iv_ifp; 134 * XXX lose WDS vap linkage? 148 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_OUTPUT, 151 vap->iv_stats.is_tx_classify++; 185 (vap->iv_flags_ht & IEEE80211_FHT_AMPDU_TX)) { 227 else if (__predict_true((vap 301 ieee80211_start_pkt(struct ieee80211vap *vap, struct mbuf *m) argument 452 struct ieee80211vap *vap = ifp->if_softc; local 516 ieee80211_raw_output(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m, const struct ieee80211_bpf_params *params) argument 561 struct ieee80211vap *vap; local 697 struct ieee80211vap *vap = ni->ni_vap; local 799 struct ieee80211vap *vap = ni->ni_vap; local 859 struct ieee80211vap *vap = ni->ni_vap; local 879 struct ieee80211vap *vap = ni->ni_vap; local 1095 ieee80211_mbuf_adjust(struct ieee80211vap *vap, int hdrsize, struct ieee80211_key *key, struct mbuf *m) argument 1177 ieee80211_crypto_getucastkey(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 1196 ieee80211_crypto_getmcastkey(struct ieee80211vap *vap, struct ieee80211_node *ni) argument 1215 ieee80211_encap(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 1651 ieee80211_fragment(struct ieee80211vap *vap, struct mbuf *m0, u_int hdrsize, u_int ciphdrsize, u_int mtu) argument 1913 ieee80211_add_powerconstraint(uint8_t *frm, struct ieee80211vap *vap) argument 1957 ieee80211_add_quiet(uint8_t *frm, struct ieee80211vap *vap) argument 1987 ieee80211_add_csa(uint8_t *frm, struct ieee80211vap *vap) argument 2025 ieee80211_add_wpa(uint8_t *frm, const struct ieee80211vap *vap) argument 2036 ieee80211_add_rsn(uint8_t *frm, const struct ieee80211vap *vap) argument 2069 struct ieee80211vap *vap = ni->ni_vap; local 2177 ieee80211_getcapinfo(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 2212 struct ieee80211vap *vap = ni->ni_vap; local 2566 struct ieee80211vap *vap = bss->ni_vap; local 2733 ieee80211_send_proberesp(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], int legacy) argument 2844 struct ieee80211vap *vap = arg; local 2876 struct ieee80211vap *vap = ni->ni_vap; local 2901 struct ieee80211vap *vap = ni->ni_vap; local 3063 struct ieee80211vap *vap = ni->ni_vap; local 3166 struct ieee80211vap *vap = ni->ni_vap; local 3453 ieee80211_ff_encap1(struct ieee80211vap *vap, struct mbuf *m, const struct ether_header *eh) argument [all...] |
H A D | ieee80211_superg.c | 134 ieee80211_superg_vattach(struct ieee80211vap *vap) argument 136 struct ieee80211com *ic = vap->iv_ic; 139 vap->iv_caps &= ~IEEE80211_C_FF; 140 if (vap->iv_caps & IEEE80211_C_FF) 141 vap->iv_flags |= IEEE80211_F_FF; 143 if (vap->iv_opmode == IEEE80211_M_STA && 144 (vap->iv_caps & IEEE80211_C_TURBOP)) 145 vap->iv_flags |= IEEE80211_F_TURBOP; 149 ieee80211_superg_vdetach(struct ieee80211vap *vap) argument 186 const struct ieee80211vap *vap local 209 struct ieee80211vap *vap = ni->ni_vap; local 260 struct ieee80211vap *vap = ni->ni_vap; local 348 ieee80211_ff_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, struct ieee80211_key *key) argument 480 ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1, int hdrspace, struct ieee80211_key *key) argument 580 struct ieee80211vap *vap = ni->ni_vap; local 603 struct ieee80211vap *vap; local 709 struct ieee80211vap *vap = ni->ni_vap; local 753 struct ieee80211vap *vap = ni->ni_vap; local 967 ieee80211_dturbo_switch(struct ieee80211vap *vap, int newflags) argument 1001 getathcap(struct ieee80211vap *vap, int cap) argument 1011 superg_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 1028 superg_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_hwmp.c | 251 hwmp_vattach(struct ieee80211vap *vap) argument 255 KASSERT(vap->iv_opmode == IEEE80211_M_MBSS, 256 ("not a mesh vap, opmode %d", vap->iv_opmode)); 266 vap->iv_hwmp = hs; 270 hwmp_vdetach(struct ieee80211vap *vap) argument 272 struct ieee80211_hwmp_state *hs = vap->iv_hwmp; 275 IEEE80211_FREE(vap->iv_hwmp, M_80211_VAP); 276 vap->iv_hwmp = NULL; 280 hwmp_newstate(struct ieee80211vap *vap, enu argument 301 verify_mesh_preq_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 332 verify_mesh_prep_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 356 verify_mesh_perr_len(struct ieee80211vap *vap, const struct ieee80211_frame *wh, const uint8_t *iefrm) argument 396 struct ieee80211vap *vap = ni->ni_vap; local 576 hwmp_send_action(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], uint8_t *ie, size_t len) argument 796 hwmp_rootmode_setup(struct ieee80211vap *vap) argument 830 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 871 struct ieee80211vap *vap = (struct ieee80211vap *)arg; local 898 hwmp_update_transmitter(struct ieee80211vap *vap, struct ieee80211_node *ni, const char *hwmp_frame) argument 937 hwmp_recv_preq(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshpreq_ie *preq) argument 1226 hwmp_send_preq(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshpreq_ie *preq, struct timeval *last, struct timeval *minint) argument 1259 hwmp_recv_prep(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshprep_ie *prep) argument 1469 hwmp_send_prep(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshprep_ie *prep) argument 1497 struct ieee80211vap *vap = ni->ni_vap; local 1532 hwmp_recv_perr(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshperr_ie *perr) argument 1634 hwmp_send_perr(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshperr_ie *perr) argument 1683 hwmp_senderror(struct ieee80211vap *vap, const uint8_t addr[IEEE80211_ADDR_LEN], struct ieee80211_mesh_route *rt, int rcode) argument 1731 hwmp_recv_rann(struct ieee80211vap *vap, struct ieee80211_node *ni, const struct ieee80211_frame *wh, const struct ieee80211_meshrann_ie *rann) argument 1824 hwmp_send_rann(struct ieee80211vap *vap, const uint8_t da[IEEE80211_ADDR_LEN], struct ieee80211_meshrann_ie *rann) argument 1849 struct ieee80211vap *vap = rt->rt_vap; local 1902 hwmp_discover(struct ieee80211vap *vap, const uint8_t dest[IEEE80211_ADDR_LEN], struct mbuf *m) argument 2034 hwmp_ioctl_get80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument 2057 hwmp_ioctl_set80211(struct ieee80211vap *vap, struct ieee80211req *ireq) argument [all...] |
H A D | ieee80211_scan_sta.c | 247 struct ieee80211vap *vap = ss->ss_vap; local 248 struct ieee80211com *ic = vap->iv_ic; 358 (vap->iv_flags_ext & IEEE80211_FEXT_DOTD)) && 363 ieee80211_notify_country(vap, ise->se_bssid, 377 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_SCAN, macaddr, 395 if (PICK1ST(ss) && match_bss(vap, ss, se, IEEE80211_MSG_SCAN) == 0) 407 isexcluded(struct ieee80211vap *vap, const struct ieee80211_channel *c) argument 409 return (isclr(vap->iv_ic->ic_chan_active, c->ic_ieee) || 410 (vap->iv_des_chan != IEEE80211_CHAN_ANYC && 411 c->ic_freq != vap 456 add_channels(struct ieee80211vap *vap, struct ieee80211_scan_state *ss, enum ieee80211_phymode mode, const uint16_t freq[], int nfreq) argument 522 sweepchannels(struct ieee80211_scan_state *ss, struct ieee80211vap *vap, const struct scanlist table[]) argument 587 makescanlist(struct ieee80211_scan_state *ss, struct ieee80211vap *vap, const struct scanlist table[]) argument 722 sta_start(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 744 sta_restart(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 756 sta_cancel(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 766 demote11b(struct ieee80211vap *vap, struct ieee80211_channel *chan) argument 891 check_rate(struct ieee80211vap *vap, const struct ieee80211_channel *chan, const struct ieee80211_scan_entry *se) argument 985 match_bss(struct ieee80211vap *vap, const struct ieee80211_scan_state *ss, struct sta_entry *se0, int debug) argument 1202 select_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap, int debug) argument 1229 sta_pick_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1308 sta_roam_check(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1388 struct ieee80211vap *vap = ss->ss_vap; local 1519 adhoc_start(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1584 adhoc_pick_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1724 ap_start(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1745 ap_cancel(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1794 ap_end(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument 1858 mesh_pick_bss(struct ieee80211_scan_state *ss, struct ieee80211vap *vap) argument [all...] |
H A D | ieee80211_rssadapt.c | 116 rssadapt_setinterval(const struct ieee80211vap *vap, int msecs) argument 118 struct ieee80211_rssadapt *rs = vap->iv_rs; 131 rssadapt_init(struct ieee80211vap *vap) argument 135 KASSERT(vap->iv_rs == NULL, ("%s: iv_rs already initialized", 139 vap->iv_rs = rs = IEEE80211_MALLOC(sizeof(struct ieee80211_rssadapt), 142 if_printf(vap->iv_ifp, "couldn't alloc ratectl structure\n"); 145 rs->vap = vap; 146 rssadapt_setinterval(vap, 500 /* msecs */); 147 rssadapt_sysctlattach(vap, va 151 rssadapt_deinit(struct ieee80211vap *vap) argument 178 struct ieee80211vap *vap = ni->ni_vap; local 333 rssadapt_tx_complete(const struct ieee80211vap *vap, const struct ieee80211_node *ni, int success, void *arg1, void *arg2) argument 356 struct ieee80211vap *vap = arg1; local 372 rssadapt_sysctlattach(struct ieee80211vap *vap, struct sysctl_ctx_list *ctx, struct sysctl_oid *tree) argument [all...] |
H A D | ieee80211.c | 100 MALLOC_DEFINE(M_80211_VAP, "80211vap", "802.11 vap state"); 296 * the driver on attach to prior to creating any vap's. 350 * all vap's and reclaim all common state prior to the 357 struct ieee80211vap *vap; local 378 while ((vap = TAILQ_FIRST(&ic->ic_vaps)) != NULL) { 379 ieee80211_com_vdetach(vap); 380 ieee80211_vap_destroy(vap); 441 default_reset(struct ieee80211vap *vap, u_long cmd) argument 447 * Add underlying device errors to vap error 452 struct ieee80211vap *vap = ifp->if_softc; local 477 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]) argument 598 ieee80211_vap_attach(struct ieee80211vap *vap, ifm_change_cb_t media_change, ifm_stat_cb_t media_stat, const uint8_t macaddr[IEEE80211_ADDR_LEN]) argument 656 ieee80211_vap_detach(struct ieee80211vap *vap) argument 725 ieee80211_promisc(struct ieee80211vap *vap, bool on) argument 747 ieee80211_allmulti(struct ieee80211vap *vap, bool on) argument 772 struct ieee80211vap *vap; local 790 ieee80211_syncflag(struct ieee80211vap *vap, int flag) argument 812 struct ieee80211vap *vap; local 830 ieee80211_syncflag_ht(struct ieee80211vap *vap, int flag) argument 852 struct ieee80211vap *vap; local 870 ieee80211_syncflag_ext(struct ieee80211vap *vap, int flag) argument 1325 ieee80211_lookup_channel_rxstatus(struct ieee80211vap *vap, const struct ieee80211_rx_stats *rxs) argument 1642 struct ieee80211vap *vap = ifp->if_softc; local 1716 struct ieee80211vap *vap = ifp->if_softc; local [all...] |
H A D | ieee80211_ratectl_none.c | 52 none_init(struct ieee80211vap *vap) argument 57 none_deinit(struct ieee80211vap *vap) argument 59 IEEE80211_FREE(vap->iv_rs, M_80211_RATECTL); 83 none_tx_complete(const struct ieee80211vap *vap, argument 90 none_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni, argument 96 none_setinterval(const struct ieee80211vap *vap, int msecs) argument
|
H A D | ieee80211_ht.c | 254 ieee80211_ht_vattach(struct ieee80211vap *vap) argument 258 vap->iv_ampdu_rxmax = IEEE80211_HTCAP_MAXRXAMPDU_8K; 259 vap->iv_ampdu_density = IEEE80211_HTCAP_MPDUDENSITY_NA; 260 vap->iv_ampdu_limit = vap->iv_ampdu_rxmax; 261 vap->iv_amsdu_limit = vap->iv_htcaps & IEEE80211_HTCAP_MAXAMSDU; 263 vap->iv_ampdu_mintraffic[WME_AC_BK] = 128; 264 vap->iv_ampdu_mintraffic[WME_AC_BE] = 64; 265 vap 308 ieee80211_ht_vdetach(struct ieee80211vap *vap) argument 467 struct ieee80211vap *vap = ni->ni_vap; local 635 struct ieee80211vap *vap = ni->ni_vap; local 681 struct ieee80211vap *vap = ni->ni_vap; local 709 struct ieee80211vap *vap = ni->ni_vap; local 786 struct ieee80211vap *vap = ni->ni_vap; local 977 struct ieee80211vap *vap = ni->ni_vap; local 1124 struct ieee80211vap *vap = ni->ni_vap; local 1205 struct ieee80211vap *vap = ni->ni_vap; local 1260 struct ieee80211vap *vap; local 1545 struct ieee80211vap *vap = ni->ni_vap; local 1564 struct ieee80211vap *vap = ni->ni_vap; local 1608 struct ieee80211vap *vap = ni->ni_vap; local 1637 struct ieee80211vap *vap = ni->ni_vap; local 1929 struct ieee80211vap *vap = ni->ni_vap; local 1995 struct ieee80211vap *vap = ni->ni_vap; local 2155 struct ieee80211vap *vap = ni->ni_vap; local 2241 struct ieee80211vap *vap = ni->ni_vap; local 2401 struct ieee80211vap *vap = ni->ni_vap; local 2532 struct ieee80211vap *vap = ni->ni_vap; local 2580 struct ieee80211vap *vap = ni->ni_vap; local 2623 struct ieee80211vap *vap = ni->ni_vap; local 2717 struct ieee80211vap *vap = ni->ni_vap; local 2850 ieee80211_add_htcap_body_ch(uint8_t *frm, struct ieee80211vap *vap, struct ieee80211_channel *c) argument 2927 ieee80211_add_htcap_ch(uint8_t *frm, struct ieee80211vap *vap, struct ieee80211_channel *c) argument 2974 ieee80211_ht_update_beacon(struct ieee80211vap *vap, struct ieee80211_beacon_offsets *bo) argument 3021 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_rssadapt.h | 46 const struct ieee80211vap *vap; member in struct:ieee80211_rssadapt
|
H A D | ieee80211_alq.h | 50 extern void ieee80211_alq_log(struct ieee80211vap *vap, uint8_t op,
|
H A D | ieee80211_amrr.c | 75 static void amrr_tx_update(const struct ieee80211vap *vap, 102 amrr_setinterval(const struct ieee80211vap *vap, int msecs) argument 104 struct ieee80211_amrr *amrr = vap->iv_rs; 117 amrr_init(struct ieee80211vap *vap) argument 121 KASSERT(vap->iv_rs == NULL, ("%s called multiple times", __func__)); 124 amrr = vap->iv_rs = IEEE80211_MALLOC(sizeof(struct ieee80211_amrr), 127 if_printf(vap->iv_ifp, "couldn't alloc ratectl structure\n"); 132 amrr_setinterval(vap, 500 /* ms */); 133 amrr_sysctlattach(vap, vap 137 amrr_deinit(struct ieee80211vap *vap) argument 167 struct ieee80211vap *vap = ni->ni_vap; local 384 amrr_tx_complete(const struct ieee80211vap *vap, const struct ieee80211_node *ni, int ok, void *arg1, void *arg2 __unused) argument 406 amrr_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni, void *arg1, void *arg2, void *arg3) argument 423 struct ieee80211vap *vap = arg1; local 439 amrr_sysctlattach(struct ieee80211vap *vap, struct sysctl_ctx_list *ctx, struct sysctl_oid *tree) argument [all...] |
H A D | ieee80211_input.c | 122 struct ieee80211vap *vap; local 136 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) { 141 if (vap->iv_state == IEEE80211_S_INIT) 144 * WDS vap's only receive directed traffic from the 146 * be passed through the AP vap the station is associated 149 if (vap->iv_opmode == IEEE80211_M_WDS) 151 if (TAILQ_NEXT(vap, iv_next) != NULL) { 165 ni = ieee80211_ref_node(vap->iv_bss); 182 struct ieee80211vap *vap = ni->ni_vap; local 251 vap 267 ieee80211_deliver_data(struct ieee80211vap *vap, struct ieee80211_node *ni, struct mbuf *m) argument 304 ieee80211_decap(struct ieee80211vap *vap, struct mbuf *m, int hdrlen) argument 404 struct ieee80211vap *vap = ni->ni_vap; local 440 struct ieee80211vap *vap = ni->ni_vap; local 495 struct ieee80211vap *vap = ni->ni_vap; local 739 struct ieee80211vap *vap = ni->ni_vap; local 859 ieee80211_ssid_mismatch(struct ieee80211vap *vap, const char *tag, uint8_t mac[IEEE80211_ADDR_LEN], uint8_t *ssid) argument 872 ieee80211_getbssid(const struct ieee80211vap *vap, const struct ieee80211_frame *wh) argument 887 ieee80211_note(const struct ieee80211vap *vap, const char *fmt, ...) argument 900 ieee80211_note_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *fmt, ...) argument 915 ieee80211_note_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *fmt, ...) argument 929 ieee80211_discard_frame(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument 946 ieee80211_discard_ie(const struct ieee80211vap *vap, const struct ieee80211_frame *wh, const char *type, const char *fmt, ...) argument 965 ieee80211_discard_mac(const struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN], const char *type, const char *fmt, ...) argument [all...] |
H A D | ieee80211_radiotap.c | 112 ieee80211_radiotap_vattach(struct ieee80211vap *vap) argument 114 struct ieee80211com *ic = vap->iv_ic; 119 bpfattach2(vap->iv_ifp, DLT_IEEE802_11_RADIO, 121 &vap->iv_rawbpf); 126 ieee80211_radiotap_vdetach(struct ieee80211vap *vap) argument 192 struct ieee80211vap *vap; local 194 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) { 195 if (vap != vap0 && 196 vap->iv_opmode == IEEE80211_M_MONITOR && 197 (vap 259 struct ieee80211vap *vap; local [all...] |
H A D | ieee80211_input.h | 33 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 35 vap->iv_stats.is_rx_elem_missing++; \ 38 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 40 vap->iv_stats.is_rx_elem_toobig++; \ 47 IEEE80211_DISCARD(vap, IEEE80211_MSG_ELEMID, \ 50 vap->iv_stats.is_rx_elem_toosmall++; \ 63 if (ieee80211_msg_input(vap)) \ 64 ieee80211_ssid_mismatch(vap, \ 67 vap->iv_stats.is_rx_ssidmismatch++; \ 76 vap 161 struct ieee80211vap *vap = ni->ni_vap; local [all...] |
H A D | ieee80211_power.h | 76 * Don't call these directly from the stack; they are vap methods 82 void ieee80211_sta_tim_notify(struct ieee80211vap *vap, int set); 83 void ieee80211_sta_ps_timer_check(struct ieee80211vap *vap);
|
/freebsd-11-stable/sys/fs/fuse/ |
H A D | fuse_internal.h | 205 struct vattr *vap) 210 vattr_null(vap); 212 vap->va_fsid = mp->mnt_stat.f_fsid.val[0]; 213 vap->va_fileid = fat->ino; /* XXX cast from 64 bits to 32 */ 214 vap->va_mode = fat->mode & ~S_IFMT; 215 vap->va_nlink = fat->nlink; 216 vap->va_uid = fat->uid; 217 vap->va_gid = fat->gid; 218 vap->va_rdev = fat->rdev; 219 vap 203 fuse_internal_attr_fat2vat(struct mount *mp, struct fuse_attr *fat, struct vattr *vap) argument [all...] |
/freebsd-11-stable/sys/dev/wtap/ |
H A D | if_wtap.c | 168 struct ieee80211vap *vap = ni->ni_vap; local 172 WTAP_VAP(vap)->av_recv_mgmt(ni, m, subtype, stats, rssi, nf); 176 wtap_reset_vap(struct ieee80211vap *vap, u_long cmd) argument 184 wtap_beacon_update(struct ieee80211vap *vap, int item) argument 186 struct ieee80211_beacon_offsets *bo = &vap->iv_bcn_off; 198 struct ieee80211vap *vap = ni->ni_vap; local 199 struct wtap_vap *avp = WTAP_VAP(vap); 220 wtap_beacon_config(struct wtap_softc *sc, struct ieee80211vap *vap) argument 230 struct ieee80211vap *vap = arg; local 233 if (vap 261 wtap_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument 307 wtap_bmiss(struct ieee80211vap *vap) argument 322 struct ieee80211vap *vap; local 365 wtap_vap_delete(struct ieee80211vap *vap) argument 422 struct ieee80211vap *vap = ni->ni_vap; local 578 struct ieee80211vap *vap = ni->ni_vap; local 594 wtap_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument [all...] |
/freebsd-11-stable/sys/dev/iwm/ |
H A D | if_iwm_sta.h | 213 extern int iwm_mvm_rm_sta(struct iwm_softc *sc, struct ieee80211vap *vap, 215 extern int iwm_mvm_rm_sta_id(struct iwm_softc *sc, struct ieee80211vap *vap);
|
/freebsd-11-stable/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_subr.c | 43 dtfs_baseattrs(struct vattr *vap, enum vtype type, ino_t id) argument 51 vap->va_type = type; 53 vap->va_mode = 0777; 54 vap->va_nlink = 1; /* n + 1 after adding dent */ 56 vap->va_mode = 0666; 57 vap->va_nlink = 0; /* n + 1 */ 59 vap->va_uid = 0; 60 vap->va_gid = 0; 61 vap->va_fileid = id; 62 vap [all...] |
/freebsd-11-stable/sys/dev/ath/ |
H A D | if_ath_keycache.h | 39 extern int ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap,
|
H A D | if_ath_tdma.h | 49 extern void ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap); 53 struct ieee80211vap *vap);
|
/freebsd-11-stable/sys/cddl/compat/opensolaris/kern/ |
H A D | opensolaris_policy.c | 213 secpolicy_vnode_setattr(cred_t *cr, vnode_t *vp, struct vattr *vap, argument 217 int mask = vap->va_mask; 239 error = secpolicy_setid_setsticky_clear(vp, vap, ovap, cr); 243 vap->va_mode = ovap->va_mode; 255 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) || 256 ((mask & AT_GID) && vap->va_gid != ovap->va_gid && 257 !groupmember(vap->va_gid, cr))) { 265 if (((mask & AT_UID) && vap->va_uid != ovap->va_uid) || 266 ((mask & AT_GID) && vap->va_gid != ovap->va_gid)) { 267 secpolicy_setid_clear(vap, v 317 secpolicy_setid_clear(struct vattr *vap, vnode_t *vp, cred_t *cr) argument 332 secpolicy_setid_setsticky_clear(vnode_t *vp, struct vattr *vap, const struct vattr *ovap, cred_t *cr) argument [all...] |
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | vnode.h | 124 vattr_init_mask(vattr_t *vap) argument 127 vap->va_mask = 0; 129 if (vap->va_type != VNON) 130 vap->va_mask |= AT_TYPE; 131 if (vap->va_uid != (uid_t)VNOVAL) 132 vap->va_mask |= AT_UID; 133 if (vap->va_gid != (gid_t)VNOVAL) 134 vap->va_mask |= AT_GID; 135 if (vap->va_size != (u_quad_t)VNOVAL) 136 vap [all...] |
/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 410 struct vattr *vap, *nvap = &nap->na_vattr, *vaper = nvaper; local 437 vap = &np->n_vattr.na_vattr; 438 mtime_save = vap->va_mtime; 498 vap->va_fsid = (uint32_t)np->n_vattr.na_filesid[0]; 500 vap->va_fsid = (uint32_t)hash32_buf( 503 vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; 505 if (vap->va_size != np->n_size) { 506 if (vap->va_type == VREG) { 507 if (dontshrink && vap->va_size < np->n_size) { 513 vap 825 nfscl_fillsattr(struct nfsrv_descript *nd, struct vattr *vap, struct vnode *vp, int flags, u_int32_t rdev) argument 1151 nfscl_checksattr(struct vattr *vap, struct nfsvattr *nvap) argument [all...] |