Searched refs:vap (Results 1 - 25 of 121) sorted by last modified time

12345

/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_haiku.cpp494 ieee80211_notify_scan_done(struct ieee80211vap* vap)
496 release_sem_etc(vap->iv_ifp->scan_done_sem, 1,
506 message.AddString("interface", vap->iv_ifp->device_name);
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/usb/wlan/
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...]
H A Dif_uralvar.h74 struct ieee80211vap vap; member in struct:ural_vap
82 #define URAL_VAP(vap) ((struct ural_vap *)(vap))
H A Dif_runreg.h196 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32)
210 #define RT2860_BCN_BASE(vap) (0x7800 + (vap) * 512)
H A Dif_runvar.h118 struct ieee80211vap vap; member in struct:run_vap
130 #define RUN_VAP(vap) ((struct run_vap *)(vap))
H A Dif_run.c994 struct ieee80211vap *vap; local
1016 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next){
1017 if(vap->iv_opmode != IEEE80211_M_HOSTAP)
1019 /* WDS vap's always share the local mac address. */
1023 if (vap == NULL) {
1035 vap = &rvp->vap;
1037 if (ieee80211_vap_setup(ic, vap, name, unit, opmode, flags,
1044 vap->iv_update_beacon = run_update_beacon;
1045 vap
1102 run_vap_delete(struct ieee80211vap *vap) argument
2113 run_node_alloc(struct ieee80211vap *vap, const uint8_t mac[IEEE80211_ADDR_LEN]) argument
2122 struct ieee80211vap *vap = ifp->if_softc; local
2170 run_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
2359 struct ieee80211vap *vap = cmdq->arg1; local
2482 run_key_set(struct ieee80211vap *vap, struct ieee80211_key *k) argument
2551 run_key_delete(struct ieee80211vap *vap, struct ieee80211_key *k) argument
2595 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2686 struct ieee80211vap *vap = ni->ni_vap; local
2774 struct ieee80211vap *vap = ni->ni_vap; local
2845 struct ieee80211vap *vap = ni->ni_vap; local
3184 struct ieee80211vap *vap = NULL; local
3358 struct ieee80211vap *vap = data->ni->ni_vap; local
3427 struct ieee80211vap *vap = ni->ni_vap; local
5000 run_update_beacon(struct ieee80211vap *vap, int item) argument
5044 struct ieee80211vap *vap = arg; local
5132 struct ieee80211vap *vap = arg; local
5208 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
6102 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
[all...]
H A Dif_rumreg.h53 #define RT2573_SKEY(vap, kidx) (0x1000 + ((vap) * RT2573_SKEY_MAX + \
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_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...]
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2860var.h115 #define RT2860_VAP(vap) ((struct rt2860_vap *)(vap))
H A Drt2860.c428 struct ieee80211vap *vap; local
439 device_printf(sc->sc_dev, "only 1 vap supported\n");
454 * bssid; WDS vap's always share the local
464 vap = &rvp->ral_vap;
465 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
468 rvp->ral_newstate = vap->iv_newstate;
469 vap->iv_newstate = rt2860_newstate;
471 vap->iv_update_beacon = rt2860_beacon_update;
475 vap->iv_max_aid = min(IEEE80211_AID_MAX, RT2860_WCID_MAX);
477 ieee80211_ratectl_init(vap);
487 rt2860_vap_delete(struct ieee80211vap *vap) argument
901 rt2860_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1383 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
1459 struct ieee80211vap *vap = ni->ni_vap; local
1735 struct ieee80211vap *vap = ni->ni_vap; local
2298 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
3807 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
4279 rt2860_setup_beacon(struct rt2860_softc *sc, struct ieee80211vap *vap) argument
4316 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
[all...]
H A Drt2860reg.h198 #define RT2860_SKEY(vap, kidx) (0x6c00 + (vap) * 128 + (kidx) * 32)
211 #define RT2860_BCN_BASE(vap) (0x7800 + (vap) * 512)
H A Drt2661var.h97 #define RT2661_VAP(vap) ((struct rt2661_vap *)(vap))
H A Drt2661.c363 struct ieee80211vap *vap; local
374 device_printf(sc->sc_dev, "only 1 vap supported\n");
389 * bssid; WDS vap's always share the local
399 vap = &rvp->ral_vap;
400 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
403 rvp->ral_newstate = vap->iv_newstate;
404 vap->iv_newstate = rt2661_newstate;
406 vap->iv_update_beacon = rt2661_beacon_update;
409 ieee80211_ratectl_init(vap);
411 ieee80211_vap_attach(vap, ieee80211_media_chang
419 rt2661_vap_delete(struct ieee80211vap *vap) argument
749 rt2661_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1275 struct ieee80211vap *vap = ni->ni_vap; local
1417 struct ieee80211vap *vap = ni->ni_vap; local
2228 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2609 rt2661_prepare_beacon(struct rt2661_softc *sc, struct ieee80211vap *vap) argument
2647 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2743 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
[all...]
H A Drt2560var.h104 #define RT2560_VAP(vap) ((struct rt2560_vap *)(vap))
H A Drt2560.c370 struct ieee80211vap *vap; local
381 device_printf(sc->sc_dev, "only 1 vap supported\n");
396 * bssid; WDS vap's always share the local
406 vap = &rvp->ral_vap;
407 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
410 rvp->ral_newstate = vap->iv_newstate;
411 vap->iv_newstate = rt2560_newstate;
412 vap->iv_update_beacon = rt2560_beacon_update;
414 ieee80211_ratectl_init(vap);
416 ieee80211_vap_attach(vap, ieee80211_media_chang
424 rt2560_vap_delete(struct ieee80211vap *vap) argument
745 rt2560_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
1274 rt2560_beacon_update(struct ieee80211vap *vap, int item) argument
1453 struct ieee80211vap *vap = ni->ni_vap; local
1506 struct ieee80211vap *vap = ni->ni_vap; local
1649 struct ieee80211vap *vap = ni->ni_vap; local
1728 struct ieee80211vap *vap = ni->ni_vap; local
2188 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
2472 struct ieee80211vap *vap = ic->ic_scan->ss_vap; local
2563 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps); local
[all...]
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_haiku.cpp88 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
95 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
102 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
109 struct ieee80211vap *vap __unused, struct ifnet *ifp __unused)
154 struct ieee80211vap* vap = ic->ic_vap_create(ic, "wlan", local
161 if (vap == NULL)
164 // ic_vap_create() established that gDevices[i] links to vap->iv_ifp now
165 KASSERT(gDevices[gDeviceCount - 1] == vap->iv_ifp,
166 ("start_wlan: gDevices[i] != vap->iv_ifp"));
168 vap
189 struct ieee80211vap* vap = (ieee80211vap*)ifp->if_softc; local
315 ieee80211_com_vincref(struct ieee80211vap *vap) argument
337 ieee80211_com_vdecref(struct ieee80211vap *vap) argument
351 ieee80211_com_vdetach(struct ieee80211vap *vap) argument
400 ieee80211_flush_ifq(struct ifqueue* ifq, struct ieee80211vap* vap) argument
435 ieee80211_realign(struct ieee80211vap *vap, struct mbuf *m, size_t align) argument
667 ieee80211_get_vap_ifname(struct ieee80211vap *vap) argument
678 struct ieee80211vap *vap; local
692 struct ieee80211vap *vap; local
712 struct ieee80211vap *vap; local
726 ieee80211_vap_xmitpkt(struct ieee80211vap *vap, struct mbuf *m) argument
742 ieee80211_sysctl_vattach(struct ieee80211vap* vap) argument
757 ieee80211_sysctl_vdetach(struct ieee80211vap* vap) argument
764 ieee80211_vap_destroy(struct ieee80211vap* vap) argument
785 struct ieee80211vap* vap = ni->ni_vap; local
809 struct ieee80211vap* vap = ni->ni_vap; local
831 ieee80211_notify_scan_done(struct ieee80211vap* vap) argument
851 ieee80211_notify_replay_failure(struct ieee80211vap* vap, const struct ieee80211_frame* wh, const struct ieee80211_key* k, u_int64_t rsc, int tid) argument
860 ieee80211_notify_michael_failure(struct ieee80211vap* vap, const struct ieee80211_frame* wh, u_int keyix) argument
913 ieee80211_notify_country(struct ieee80211vap* vap, const uint8_t bssid[IEEE80211_ADDR_LEN], const uint8_t cc[2]) argument
928 ieee80211_notify_ifnet_change(struct ieee80211vap *vap) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/usb/
H A Drtwn_usb_attach.c222 rtwn_usb_reset_lists(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
228 rtwn_usb_reset_tx_list(uc, &uc->uc_tx_active, vap);
229 rtwn_usb_reset_tx_list(uc, &uc->uc_tx_pending, vap);
230 if (vap == NULL) {
238 rtwn_datahead *head, struct ieee80211vap *vap)
240 struct rtwn_vap *uvp = RTWN_VAP(vap);
247 if (vap == NULL || (dp->ni == NULL &&
249 (dp->ni != NULL && dp->ni->ni_vap == vap)) {
237 rtwn_usb_reset_tx_list(struct rtwn_usb_softc *uc, rtwn_datahead *head, struct ieee80211vap *vap) argument
/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));
H A Dr21au_attach.c101 r21au_vap_preattach(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
103 struct rtwn_vap *rvp = RTWN_VAP(vap);
106 r12a_vap_preattach(sc, vap);
111 ("%s: wrong vap id %d\n", __func__, rvp->id));
113 rs->rs_newstate[rvp->id] = vap->iv_newstate;
114 vap->iv_newstate = r21au_newstate;
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/usb/
H A Dr12au_attach.c111 r12a_vap_preattach(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
114 struct ifnet *ifp = vap->iv_ifp;
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8812a/
H A Dr12a_rx.c129 struct ieee80211vap *vap = ni->ni_vap; local
131 ieee80211_ratectl_tx_complete(vap, ni,
134 ieee80211_ratectl_tx_complete(vap, ni,
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_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)) {
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;

Completed in 170 milliseconds

12345