MCPcopy Create free account
hub / github.com/F-Stack/f-stack / amrr_setinterval

Function amrr_setinterval

freebsd/net80211/ieee80211_amrr.c:101–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99IEEE80211_RATECTL_ALG(amrr, IEEE80211_RATECTL_AMRR, amrr);
100
101static void
102amrr_setinterval(const struct ieee80211vap *vap, int msecs)
103{
104 struct ieee80211_amrr *amrr = vap->iv_rs;
105
106 if (!amrr)
107 return;
108
109 if (msecs < 100)
110 msecs = 100;
111 amrr->amrr_interval = msecs_to_ticks(msecs);
112}
113
114static void
115amrr_init(struct ieee80211vap *vap)

Callers 2

amrr_initFunction · 0.85
amrr_sysctl_intervalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected