Lines Matching defs:vap
73 static void amrr_tx_update(struct ieee80211vap *vap,
100 amrr_setinterval(const struct ieee80211vap *vap, int msecs)
102 struct ieee80211_amrr *amrr = vap->iv_rs;
113 amrr_init(struct ieee80211vap *vap)
117 KASSERT(vap->iv_rs == NULL, ("%s called multiple times", __func__));
120 amrr = vap->iv_rs = IEEE80211_MALLOC(sizeof(struct ieee80211_amrr),
123 if_printf(vap->iv_ifp, "couldn't alloc ratectl structure\n");
128 amrr_setinterval(vap, 500 /* ms */);
129 amrr_sysctlattach(vap, vap->iv_sysctl, vap->iv_oid);
133 amrr_deinit(struct ieee80211vap *vap)
136 IEEE80211_FREE(vap->iv_rs, M_80211_RATECTL);
137 vap->iv_rs = NULL; /* guard */
164 struct ieee80211vap *vap = ni->ni_vap;
165 struct ieee80211_amrr *amrr = vap->iv_rs;
170 if_printf(vap->iv_ifp, "ratectl structure was not allocated, "
179 if_printf(vap->iv_ifp, "couldn't alloc per-node ratectl "
427 amrr_tx_update(struct ieee80211vap *vap,
434 ieee80211_iterate_nodes_vap(&vap->iv_ic->ic_sta, vap,
442 struct ieee80211vap *vap = arg1;
443 struct ieee80211_amrr *amrr = vap->iv_rs;
453 amrr_setinterval(vap, msecs);
458 amrr_sysctlattach(struct ieee80211vap *vap,
461 struct ieee80211_amrr *amrr = vap->iv_rs;
468 vap, 0, amrr_sysctl_interval, "I", "amrr operation interval (ms)");