Searched refs:vap (Results 51 - 75 of 121) sorted by relevance

12345

/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_keycache.c185 ath_keyset(struct ath_softc *sc, struct ieee80211vap *vap, argument
239 if ((vap->iv_opmode == IEEE80211_M_HOSTAP ||
240 vap->iv_opmode == IEEE80211_M_IBSS) &&
419 ath_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, argument
422 struct ath_softc *sc = vap->iv_ic->ic_softc;
439 if (!(&vap->iv_nw_keys[0] <= k &&
440 k < &vap->iv_nw_keys[IEEE80211_WEP_NKID])) {
446 if (vap->iv_opmode != IEEE80211_M_HOSTAP ||
455 ieee80211_crypto_get_key_wepidx(vap, k);
489 ath_key_delete(struct ieee80211vap *vap, cons argument
533 ath_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
[all...]
H A Dif_ath_beacon.c184 struct ieee80211vap *vap = ni->ni_vap; local
185 struct ath_vap *avp = ATH_VAP(vap);
240 * each time a beacon frame is sent. Note that we align vap's
241 * 1..N and leave vap 0 untouched. This means vap 0 has a
381 ath_beacon_update(struct ieee80211vap *vap, int item) argument
383 struct ieee80211_beacon_offsets *bo = &vap->iv_bcn_off;
436 struct ieee80211vap *vap; local
479 vap = sc->sc_bslot[(slot+1) % ATH_BCBUF];
481 if (vap !
699 ath_beacon_generate(struct ath_softc *sc, struct ieee80211vap *vap) argument
825 ath_beacon_start_adhoc(struct ath_softc *sc, struct ieee80211vap *vap) argument
925 ath_beacon_config(struct ath_softc *sc, struct ieee80211vap *vap) argument
[all...]
H A Dif_ath_tdma.c209 /* copy from vap state (XXX check all vaps have same value?) */
252 ath_tdma_config(struct ath_softc *sc, struct ieee80211vap *vap) argument
260 if (vap == NULL) {
261 vap = TAILQ_FIRST(&ic->ic_vaps); /* XXX */
262 if (vap == NULL) {
268 tp = vap->iv_bss->ni_txparms;
277 tdma = vap->iv_tdma;
293 vap->iv_ifp->if_mtu + IEEE80211_MAXOVERHEAD, rix, AH_TRUE,
362 struct ieee80211vap *vap = ni->ni_vap; local
379 const struct ieee80211_tdma_state *ts = vap
616 ath_tdma_beacon_send(struct ath_softc *sc, struct ieee80211vap *vap) argument
[all...]
H A Dif_ath.c139 * ATH_BCBUF determines the number of vap's that can transmit
140 * beacons and also (currently) the number of vap's that can
1458 * The first vap uses the MAC address from the EEPROM. For
1459 * subsequent vap's we set the U/L bit (bit 1) in the MAC
1530 struct ieee80211vap *vap; local
1540 ic_opmode = opmode; /* default to opmode of new vap */
1544 device_printf(sc->sc_dev, "only 1 sta vap supported\n");
1564 "only 1 ibss vap supported\n");
1574 "only 1 tdma vap supported\n");
1586 * vap t
1783 ath_vap_delete(struct ieee80211vap *vap) argument
2206 struct ieee80211vap *vap = local
2393 ath_bmiss_vap(struct ieee80211vap *vap) argument
2542 struct ieee80211vap *vap; local
3090 ath_reset_vap(struct ieee80211vap *vap, u_long cmd) argument
3560 ath_key_update_begin(struct ieee80211vap *vap) argument
3569 ath_key_update_end(struct ieee80211vap *vap) argument
3607 struct ieee80211vap *vap; local
3863 ath_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
5632 struct ieee80211vap *vap = ni->ni_vap; local
5762 struct ieee80211vap *vap; local
5774 ath_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
6220 struct ieee80211vap *vap = ni->ni_vap; local
6253 struct ieee80211vap *vap = ni->ni_vap; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_tx.c130 struct ieee80211vap *vap = ni->ni_vap; local
167 if (vap->iv_flags & IEEE80211_F_PUREG)
204 struct ieee80211vap *vap = ni->ni_vap; local
206 if ((vap->iv_flags_ht & IEEE80211_FHT_SHORTGI20) && /* HT20 */
212 (vap->iv_flags_ht & IEEE80211_FHT_SHORTGI40))
220 struct ieee80211vap *vap = ni->ni_vap; local
222 if ((vap->iv_flags_ht & IEEE80211_FHT_LDPC_TX) &&
232 struct ieee80211vap *vap = ni->ni_vap; local
233 struct rtwn_vap *uvp = RTWN_VAP(vap);
278 vap
353 struct ieee80211vap *vap = ni->ni_vap; local
[all...]
H A Dr12a_caps.c74 struct ieee80211vap *vap; local
103 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
104 struct ifnet *ifp = vap->iv_ifp;
H A Dr12a_fw.c119 r12a_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, argument
125 if (off && vap->iv_state == IEEE80211_S_RUN &&
126 (vap->iv_flags & IEEE80211_F_PMGTON)) {
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_crypto.h211 uint8_t ieee80211_crypto_get_keyid(struct ieee80211vap *vap,
219 int ieee80211_crypto_demic(struct ieee80211vap *vap, struct ieee80211_key *k,
225 ieee80211_crypto_enmic(struct ieee80211vap *vap, argument
238 ieee80211_crypto_resetkey(struct ieee80211vap *vap, argument
242 k->wk_private = k->wk_cipher->ic_attach(vap, k);
H A Dieee80211_superg.h144 struct mbuf * ieee80211_amsdu_encap(struct ieee80211vap *vap, struct mbuf *m1,
150 ieee80211_decap_fastframe(struct ieee80211vap *vap, struct ieee80211_node *ni, argument
153 return IEEE80211_ATH_CAP(vap, ni, IEEE80211_NODE_FF) ?
H A Dieee80211_vht.h48 void ieee80211_vht_timeout(struct ieee80211vap *vap);
H A Dieee80211_crypto_tkip.c111 tkip_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument
118 vap->iv_stats.is_crypto_nomem++;
122 ctx->tc_vap = vap;
157 struct ieee80211vap *vap = ctx->tc_vap; local
160 keyid = ieee80211_crypto_get_keyid(vap, k) << 6;
180 struct ieee80211vap *vap = ctx->tc_vap; local
181 struct ieee80211com *ic = vap->iv_ic;
193 if (vap->iv_flags & IEEE80211_F_COUNTERM) {
198 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
200 vap
259 struct ieee80211vap *vap = ctx->tc_vap; local
293 struct ieee80211vap *vap = ctx->tc_vap; local
400 struct ieee80211vap *vap = ctx->tc_vap; local
414 struct ieee80211vap *vap = ctx->tc_vap; local
1031 struct ieee80211vap *vap = ctx->tc_vap; local
[all...]
H A Dieee80211_crypto_wep.c90 wep_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument
97 vap->iv_stats.is_crypto_nomem++;
101 ctx->wc_vap = vap;
102 ctx->wc_ic = vap->iv_ic;
128 struct ieee80211vap *vap = ctx->wc_vap; local
132 keyid = ieee80211_crypto_get_keyid(vap, k) << 6;
243 struct ieee80211vap *vap = ctx->wc_vap; local
261 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
263 vap->iv_stats.is_rx_wepfail++;
349 struct ieee80211vap *vap local
432 struct ieee80211vap *vap = ctx->wc_vap; local
[all...]
H A Dieee80211_crypto_ccmp.c99 ccmp_attach(struct ieee80211vap *vap, struct ieee80211_key *k) argument
106 vap->iv_stats.is_crypto_nomem++;
109 ctx->cc_vap = vap;
110 ctx->cc_ic = vap->iv_ic;
145 struct ieee80211vap *vap = ctx->cc_vap; local
148 keyid = ieee80211_crypto_get_keyid(vap, k) << 6;
239 struct ieee80211vap *vap = ctx->cc_vap; local
259 IEEE80211_NOTE_MAC(vap, IEEE80211_MSG_CRYPTO, wh->i_addr2,
261 vap->iv_stats.is_rx_ccmpformat++;
271 ieee80211_notify_replay_failure(vap, w
598 struct ieee80211vap *vap = ctx->cc_vap; local
[all...]
H A Dieee80211_alq.c140 ieee80211_alq_log(struct ieee80211com *ic, struct ieee80211vap *vap, argument
162 if (vap != NULL) {
163 r->r_wlan = htobe16(vap->iv_ifp->if_dunit);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
H A Dif_rum.c668 struct ieee80211vap *vap; local
673 vap = &rvp->vap;
676 if (ieee80211_vap_setup(ic, vap, name, unit, opmode,
684 rvp->newstate = vap->iv_newstate;
685 vap->iv_newstate = rum_newstate;
686 vap->iv_key_alloc = rum_key_alloc;
687 vap->iv_key_set = rum_key_set;
688 vap->iv_key_delete = rum_key_delete;
689 vap
720 rum_vap_delete(struct ieee80211vap *vap) argument
827 rum_reset_tx_list(struct rum_softc *sc, struct ieee80211vap *vap) argument
877 rum_beacon_miss(struct ieee80211vap *vap) argument
908 struct ieee80211vap *vap = ni->ni_vap; local
960 rum_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1075 struct ieee80211vap *vap; local
1460 struct ieee80211vap *vap = ni->ni_vap; local
1625 struct ieee80211vap *vap = ni->ni_vap; local
1778 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2174 rum_set_maxretry(struct rum_softc *sc, struct ieee80211vap *vap) argument
2195 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2555 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2724 rum_reset(struct ieee80211vap *vap, u_long cmd) argument
2761 rum_set_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument
2794 rum_alloc_beacon(struct rum_softc *sc, struct ieee80211vap *vap) argument
2819 struct ieee80211vap *vap = data->vap; local
2825 rum_update_beacon(struct ieee80211vap *vap, int item) argument
3007 rum_key_alloc(struct ieee80211vap *vap, struct ieee80211_key *k, ieee80211_keyix *keyix, ieee80211_keyix *rxkeyix) argument
3041 rum_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
3058 rum_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
3119 struct ieee80211vap *vap = ni->ni_vap; local
3132 struct ieee80211vap *vap = &rvp->vap; local
3142 struct ieee80211vap *vap = &rvp->vap; local
[all...]
H A Dif_rumvar.h75 struct ieee80211vap *vap; member in union:sec_param
89 struct ieee80211vap vap; member in struct:rum_vap
103 #define RUM_VAP(vap) ((struct rum_vap *)(vap))
H A Dif_ural.c569 struct ieee80211vap *vap; local
574 vap = &uvp->vap;
577 if (ieee80211_vap_setup(ic, vap, name, unit, opmode,
585 uvp->newstate = vap->iv_newstate;
586 vap->iv_newstate = ural_newstate;
590 ieee80211_ratectl_init(vap);
591 ieee80211_ratectl_setinterval(vap, 1000 /* 1 sec */);
594 ieee80211_vap_attach(vap, ieee80211_media_change,
597 return vap;
601 ural_vap_delete(struct ieee80211vap *vap) argument
673 ural_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
765 struct ieee80211vap *vap; local
1031 struct ieee80211vap *vap = ni->ni_vap; local
1219 struct ieee80211vap *vap = ni->ni_vap; local
1744 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2023 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2170 struct ieee80211vap *vap = ni->ni_vap; local
2183 struct ieee80211vap *vap = &uvp->vap; local
2193 struct ieee80211vap *vap = &uvp->vap; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/
H A Dr92c_tx.c122 struct ieee80211vap *vap = ni->ni_vap; local
152 if (vap->iv_flags & IEEE80211_F_PUREG)
158 if (vap->iv_flags_ht & IEEE80211_FHT_PUREN)
176 struct ieee80211vap *vap = ni->ni_vap; local
178 if ((vap->iv_flags_ht & IEEE80211_FHT_SHORTGI20) && /* HT20 */
184 (vap->iv_flags_ht & IEEE80211_FHT_SHORTGI40))
229 struct ieee80211vap *vap = ni->ni_vap; local
230 struct rtwn_vap *uvp = RTWN_VAP(vap);
276 vap->iv_ampdu_density));
303 vap
352 struct ieee80211vap *vap = ni->ni_vap; local
[all...]
H A Dr92c_fw.c261 struct ieee80211vap *vap; local
267 vap = &sc->vaps[0]->vap;
268 if ((vap->iv_state == IEEE80211_S_RUN) ^
308 r92c_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, argument
316 if (off && vap->iv_state == IEEE80211_S_RUN &&
317 (vap->iv_flags & IEEE80211_F_PMGTON))
428 struct ieee80211vap *vap = ni->ni_vap; local
430 ieee80211_ratectl_tx_complete(vap, ni,
433 ieee80211_ratectl_tx_complete(vap, n
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/
H A Dr92e_fw.c100 r92e_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, int off) argument
105 if (off && vap->iv_state == IEEE80211_S_RUN &&
106 (vap->iv_flags & IEEE80211_F_PMGTON)) {
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2100/dev/ipw/
H A Dif_ipwvar.h86 struct ieee80211vap vap; member in struct:ipw_vap
91 #define IPW_VAP(vap) ((struct ipw_vap *)(vap))
H A Dif_ipw.c408 struct ieee80211vap *vap; local
465 vap = &ivp->vap;
467 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
469 ivp->newstate = vap->iv_newstate;
470 vap->iv_newstate = ipw_newstate;
473 ieee80211_vap_attach(vap, ieee80211_media_change, ipw_media_status,
476 return vap;
480 ipw_vap_delete(struct ieee80211vap *vap) argument
482 struct ipw_vap *ivp = IPW_VAP(vap);
839 struct ieee80211vap *vap = ifp->if_softc; local
850 ipw_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1003 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1368 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1558 struct ieee80211vap *vap = ni->ni_vap; local
2018 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2173 ipw_assoc(struct ieee80211com *ic, struct ieee80211vap *vap) argument
2264 ipw_disassoc(struct ieee80211com *ic, struct ieee80211vap *vap) argument
2315 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/usb/
H A Dr21au_dfs.c167 r21au_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
169 struct ieee80211com *ic = vap->iv_ic;
171 struct rtwn_vap *rvp = RTWN_VAP(vap);
176 ("%s: unexpected vap id %d\n", __func__, rvp->id));
202 sc->vaps[!rvp->id]->vap.iv_state < IEEE80211_S_CAC ||
203 sc->vaps[!rvp->id]->vap.iv_state == IEEE80211_S_CSA)) {
221 return (rs->rs_newstate[rvp->id](vap, nstate, arg));
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpi.c625 struct ieee80211vap *vap; local
631 vap = &wvp->wv_vap;
632 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
640 vap->iv_key_set = wpi_key_set;
641 vap->iv_key_delete = wpi_key_delete;
643 wvp->wv_recv_mgmt = vap->iv_recv_mgmt;
644 vap->iv_recv_mgmt = wpi_ibss_recv_mgmt;
646 wvp->wv_newstate = vap->iv_newstate;
647 vap->iv_newstate = wpi_newstate;
648 vap
660 wpi_vap_delete(struct ieee80211vap *vap) argument
1620 wpi_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
1664 struct ieee80211vap *vap = ni->ni_vap; local
1723 wpi_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
2180 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2793 struct ieee80211vap *vap = ni->ni_vap; local
2963 struct ieee80211vap *vap = ni->ni_vap; local
3215 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
3565 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
3940 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
4042 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
4100 struct ieee80211vap *vap = ss->ss_vap; local
4293 wpi_auth(struct wpi_softc *sc, struct ieee80211vap *vap) argument
4347 struct ieee80211vap *vap = &wvp->wv_vap; local
4401 struct ieee80211vap *vap = ni->ni_vap; local
4432 wpi_update_beacon(struct ieee80211vap *vap, int item) argument
4475 struct ieee80211vap *vap = ni->ni_vap; local
4495 wpi_run(struct wpi_softc *sc, struct ieee80211vap *vap) argument
4602 struct ieee80211vap *vap = ni->ni_vap; local
4666 struct ieee80211vap *vap = ni->ni_vap; local
4687 struct ieee80211vap *vap = ni->ni_vap; local
4701 struct ieee80211vap *vap = ni->ni_vap; local
4751 struct ieee80211vap *vap = ni->ni_vap; local
4770 wpi_process_key(struct ieee80211vap *vap, const struct ieee80211_key *k, int set) argument
4845 wpi_key_set(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
4851 wpi_key_delete(struct ieee80211vap *vap, const struct ieee80211_key *k) argument
5426 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
5443 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
5575 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
5633 struct ieee80211vap *vap = ss->ss_vap; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwi.c491 struct ieee80211vap *vap; local
512 vap = &ivp->iwi_vap;
513 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
515 vap->iv_bmissthreshold = 24;
517 ivp->iwi_newstate = vap->iv_newstate;
518 vap->iv_newstate = iwi_newstate;
521 ieee80211_vap_attach(vap, ieee80211_media_change, iwi_media_status,
524 return vap;
528 iwi_vap_delete(struct ieee80211vap *vap) argument
530 struct iwi_vap *ivp = IWI_VAP(vap);
868 iwi_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
927 struct ieee80211vap *vap = ifp->if_softc; local
941 iwi_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1077 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1304 iwi_checkforqos(struct ieee80211vap *vap, const struct ieee80211_frame *wh, int len) argument
1393 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1640 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1778 struct ieee80211vap *vap = ni->ni_vap; local
2517 iwi_setpowermode(struct iwi_softc *sc, struct ieee80211vap *vap) argument
2532 iwi_setwepkeys(struct iwi_softc *sc, struct ieee80211vap *vap) argument
2827 iwi_auth_and_assoc(struct iwi_softc *sc, struct ieee80211vap *vap) argument
3559 struct ieee80211vap *vap = ss->ss_vap; local
[all...]

Completed in 441 milliseconds

12345