Lines Matching defs:vap
75 static void amrr_tx_update(const struct ieee80211vap *vap,
102 amrr_setinterval(const struct ieee80211vap *vap, int msecs)
104 struct ieee80211_amrr *amrr = vap->iv_rs;
117 amrr_init(struct ieee80211vap *vap)
121 KASSERT(vap->iv_rs == NULL, ("%s called multiple times", __func__));
124 amrr = vap->iv_rs = IEEE80211_MALLOC(sizeof(struct ieee80211_amrr),
127 if_printf(vap->iv_ifp, "couldn't alloc ratectl structure\n");
132 amrr_setinterval(vap, 500 /* ms */);
133 amrr_sysctlattach(vap, vap->iv_sysctl, vap->iv_oid);
137 amrr_deinit(struct ieee80211vap *vap)
139 IEEE80211_FREE(vap->iv_rs, M_80211_RATECTL);
167 struct ieee80211vap *vap = ni->ni_vap;
168 struct ieee80211_amrr *amrr = vap->iv_rs;
173 if_printf(vap->iv_ifp, "ratectl structure was not allocated, "
182 if_printf(vap->iv_ifp, "couldn't alloc per-node ratectl "
384 amrr_tx_complete(const struct ieee80211vap *vap,
406 amrr_tx_update(const struct ieee80211vap *vap, const struct ieee80211_node *ni,
423 struct ieee80211vap *vap = arg1;
424 struct ieee80211_amrr *amrr = vap->iv_rs;
434 amrr_setinterval(vap, msecs);
439 amrr_sysctlattach(struct ieee80211vap *vap,
442 struct ieee80211_amrr *amrr = vap->iv_rs;
448 "amrr_rate_interval", CTLTYPE_INT | CTLFLAG_RW, vap,