Searched refs:vap (Results 76 - 100 of 121) sorted by relevance

12345

/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
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...]
H A Drt2661var.h97 #define RT2661_VAP(vap) ((struct rt2661_vap *)(vap))
H A Drt2560var.h104 #define RT2560_VAP(vap) ((struct rt2560_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 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...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/
H A Dif_rtwn_tx.c116 struct ieee80211vap *vap = ni->ni_vap; local
179 if (ieee80211_radiotap_active_vap(vap)) {
185 ieee80211_radiotap_tx(vap, m);
195 struct ieee80211vap *vap = ni->ni_vap; local
227 if (ieee80211_radiotap_active_vap(vap)) {
233 ieee80211_radiotap_tx(vap, m);
H A Dif_rtwn_rx.c331 struct ieee80211vap *vap = ni->ni_vap; local
332 struct rtwn_softc *sc = vap->iv_ic->ic_softc;
333 struct rtwn_vap *uvp = RTWN_VAP(vap);
338 if (vap->iv_state == IEEE80211_S_RUN &&
390 struct ieee80211vap *vap; local
396 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next)
397 if_foreach_llmaddr(vap->iv_ifp, rtwm_hash_maddr, mfilt);
/haiku/src/libs/compat/freebsd_wlan/net80211/
H A Dieee80211_node.h120 struct ieee80211vap *ni_vap; /* associated vap */
121 struct ieee80211com *ni_ic; /* copy from vap to save deref*/
253 struct ieee80211vap *ni_wdsvap; /* associated WDS vap */
420 const struct ieee80211vap *vap,
425 const struct ieee80211vap *vap,
444 #define ieee80211_find_vap_node_locked(nt, vap, mac) \
445 ieee80211_find_vap_node_locked_debug(nt, vap, mac, __func__, __LINE__)
446 #define ieee80211_find_vap_node(nt, vap, mac) \
447 ieee80211_find_vap_node_debug(nt, vap, mac, __func__, __LINE__)
452 #define ieee80211_find_txnode(vap, ma
[all...]
H A Dieee80211_action.c249 struct ieee80211vap *vap = ni->ni_vap; local
267 if (ni == vap->iv_bss ||
269 IEEE80211_DISCARD_MAC(vap, IEEE80211_MSG_MESH,
273 vap->iv_stats.is_mesh_nolink++;
H A Dieee80211_proto.h301 void ieee80211_wme_vap_getparams(struct ieee80211vap *vap,
305 int ieee80211_wme_vap_ac_is_noack(struct ieee80211vap *vap, int ac);
306 void ieee80211_vap_update_preamble(struct ieee80211vap *vap);
307 void ieee80211_vap_update_erp_protmode(struct ieee80211vap *vap);
308 void ieee80211_vap_update_ht_protmode(struct ieee80211vap *vap);
H A Dieee80211_var.h143 ieee80211_tx_lock_t ic_txlock; /* ic/vap TX lock */
146 TAILQ_HEAD(, ieee80211vap) ic_vaps; /* list of vap instances */
173 uint8_t ic_promisc; /* vap's needing promisc mode */
174 uint8_t ic_allmulti; /* vap's needing all multicast*/
175 uint8_t ic_nrunning; /* vap's marked running */
229 /* NB: this is the union of all vap stations/neighbors */
235 /* XXX multi-bss: split out common/vap parts */
400 TAILQ_ENTRY(ieee80211vap) iv_next; /* list of vap instances */
603 /* per-vap U-APSD state */
662 #define IEEE80211_ATH_CAP(vap, n
837 ieee80211_radiotap_active_vap(const struct ieee80211vap *vap) argument
865 ieee80211_key_update_begin(struct ieee80211vap *vap) argument
870 ieee80211_key_update_end(struct ieee80211vap *vap) argument
909 ieee80211_beacon_notify(struct ieee80211vap *vap, int what) argument
[all...]
H A Dieee80211_phy.h73 #define IEEE80211_VAP_GET_SLOTTIME(vap) \
74 ((vap->iv_flags & IEEE80211_F_SHSLOT) ? \
/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/ralinkwifi/dev/usb/wlan/
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_runvar.h118 struct ieee80211vap vap; member in struct:run_vap
130 #define RUN_VAP(vap) ((struct run_vap *)(vap))
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8821a/usb/
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/marvell88w8335/dev/malo/
H A Dif_malo.c333 struct ieee80211vap *vap; local
352 vap = &mvp->malo_vap;
353 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
356 mvp->malo_newstate = vap->iv_newstate;
357 vap->iv_newstate = malo_newstate;
360 ieee80211_vap_attach(vap,
363 return vap;
367 malo_vap_delete(struct ieee80211vap *vap) argument
369 struct malo_vap *mvp = MALO_VAP(vap);
371 ieee80211_vap_detach(vap);
1039 struct ieee80211vap *vap = ni->ni_vap; local
1517 struct ieee80211vap *vap; local
1726 malo_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/
H A Dif_ath_tx_ht.c227 struct ieee80211vap *vap = ni->ni_vap; local
304 vap->iv_flags_ht & IEEE80211_FHT_SHORTGI40 &&
312 vap->iv_flags_ht & IEEE80211_FHT_SHORTGI20 &&
411 struct ieee80211vap *vap = ni->ni_vap; local
427 * vap->iv_ampdu_density is a net80211 value, rather than the actual
432 if (vap->iv_ampdu_density > peer_mpdudensity)
433 peer_mpdudensity = vap->iv_ampdu_density;
568 struct ieee80211vap *vap = ni->ni_vap; local
577 /* Check the vap configured transmit limit */
578 amin = MIN(amin, ath_rx_ampdu_to_byte(vap
[all...]
H A Dif_ath_ioctl.c244 struct ieee80211vap *vap; local
251 TAILQ_FOREACH(vap, &ic->ic_vaps, iv_next) {
252 ifp = vap->iv_ifp;
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/pci/
H A Drtwn_pci_attach.c392 * Drop stale entries from Tx ring before the vap will be deleted.
393 * In case if vap is NULL just free everything and reset cur / last pointers.
396 rtwn_pci_reset_tx_list(struct rtwn_softc *sc, struct ieee80211vap *vap, argument
401 if (vap == NULL) {
412 (vap->iv_opmode == IEEE80211_M_HOSTAP ||
413 vap->iv_opmode == IEEE80211_M_IBSS)) {
414 struct rtwn_vap *uvp = RTWN_VAP(vap);
423 if (data->ni != NULL && data->ni->ni_vap == vap) {
425 * NB: if some vap is still running
479 rtwn_pci_reset_lists(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
556 rtwn_pci_beacon_update_begin(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
566 rtwn_pci_beacon_update_end(struct rtwn_softc *sc, struct ieee80211vap *vap) argument
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi2200/dev/iwi/
H A Dif_iwivar.h128 #define IWI_VAP(vap) ((struct iwi_vap *)(vap))
/haiku/src/add-ons/kernel/drivers/network/wlan/marvell88w8363/dev/mwl/
H A Dif_mwlvar.h228 struct mwl_hal_vap *mn_hvap; /* hal vap handle */
234 * Driver-specific vap state.
238 struct mwl_hal_vap *mv_hvap; /* hal vap handle */
239 struct mwl_hal_vap *mv_ap_hvap; /* ap hal vap handle for wds */
246 #define MWL_VAP(vap) ((struct mwl_vap *)(vap))
247 #define MWL_VAP_CONST(vap) ((const struct mwl_vap *)(vap))
272 struct mwl_hal_vap *sc_hvap; /* hal vap handle */
288 uint8_t sc_nbssid0; /* # vap'
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8188e/
H A Dr88e_rx.c144 struct ieee80211vap *vap = ni->ni_vap; local
146 ieee80211_ratectl_tx_complete(vap, ni,
149 ieee80211_ratectl_tx_complete(vap, ni,
H A Dr88e_fw.c191 r88e_set_pwrmode(struct rtwn_softc *sc, struct ieee80211vap *vap, argument
197 if (off && vap->iv_state == IEEE80211_S_RUN &&
198 (vap->iv_flags & IEEE80211_F_PMGTON)) {

Completed in 144 milliseconds

12345