Lines Matching refs:vap

404 	struct ieee80211vap *vap;
461 vap = &ivp->vap;
463 ieee80211_vap_setup(ic, vap, name, unit, opmode, flags, bssid);
465 ivp->newstate = vap->iv_newstate;
466 vap->iv_newstate = ipw_newstate;
469 ieee80211_vap_attach(vap, ieee80211_media_change, ipw_media_status,
472 return vap;
476 ipw_vap_delete(struct ieee80211vap *vap)
478 struct ipw_vap *ivp = IPW_VAP(vap);
480 ieee80211_vap_detach(vap);
835 struct ieee80211vap *vap = ifp->if_softc;
836 struct ieee80211com *ic = vap->iv_ic;
840 vap->iv_bss->ni_txrate = ipw_cvtrate(
846 ipw_newstate(struct ieee80211vap *vap, enum ieee80211_state nstate, int arg)
848 struct ipw_vap *ivp = IPW_VAP(vap);
849 struct ieee80211com *ic = vap->iv_ic;
854 ieee80211_state_name[vap->iv_state],
857 ostate = vap->iv_state;
872 ipw_assoc(ic, vap);
878 ipw_disassoc(ic, vap);
889 ipw_assoc(ic, vap);
898 ipw_assoc(ic, vap);
905 return ivp->newstate(vap, nstate, arg);
997 #define IEEESTATE(vap) ieee80211_state_name[vap->iv_state]
999 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
1009 IEEESTATE(vap), sc->flags));
1013 IEEESTATE(vap), sc->flags));
1022 IEEESTATE(vap), sc->flags));
1046 IEEESTATE(vap), sc->flags));
1053 ieee80211_scan_done(vap);
1062 IEEESTATE(vap), sc->flags));
1064 if (vap->iv_state == IEEE80211_S_RUN) {
1066 ieee80211_new_state(vap, IEEE80211_S_SCAN, -1);
1076 IEEESTATE(vap), sc->flags));
1088 __func__, state, IEEESTATE(vap), sc->flags));
1361 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
1364 if (vap != NULL) {
1366 ieee80211_cancel_scan(vap);
1546 struct ieee80211vap *vap = ni->ni_vap;
1569 if (ieee80211_radiotap_active_vap(vap)) {
1574 ieee80211_radiotap_tx(vap, m0);
2006 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
2012 wk = &vap->iv_nw_keys[i];
2161 ipw_assoc(struct ieee80211com *ic, struct ieee80211vap *vap)
2164 struct ieee80211_node *ni = vap->iv_bss;
2184 data = htole32(vap->iv_rtsthreshold);
2190 data = htole32(vap->iv_fragthreshold);
2196 if (vap->iv_flags & IEEE80211_F_PRIVACY) {
2201 if (vap->iv_def_txkey != IEEE80211_KEYIX_NONE) {
2202 data = htole32(vap->iv_def_txkey);
2212 data = htole32((vap->iv_flags & IEEE80211_F_PRIVACY) ? IPW_WEPON : 0);
2226 if (vap->iv_appie_wpa != NULL) {
2227 struct ieee80211_appie *ie = vap->iv_appie_wpa;
2252 ipw_disassoc(struct ieee80211com *ic, struct ieee80211vap *vap)
2254 struct ieee80211_node *ni = vap->iv_bss;
2296 ieee80211_start_all(ic); /* start all vap's */
2303 struct ieee80211vap *vap = TAILQ_FIRST(&ic->ic_vaps);
2311 ieee80211_state_name[vap->iv_state], sc->flags));