Home
last modified time | relevance | path

Searched refs:rateinfo (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/net/netfilter/
Dxt_hashlimit.c112 } rateinfo; member
532 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc()
539 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc()
544 dh->rateinfo.prev = now; in rateinfo_recalc()
545 dh->rateinfo.prev_window = in rateinfo_recalc()
546 ((dh->rateinfo.current_rate * interval) > in rateinfo_recalc()
547 (delta * dh->rateinfo.rate)); in rateinfo_recalc()
548 dh->rateinfo.current_rate = 0; in rateinfo_recalc()
553 dh->rateinfo.prev = now; in rateinfo_recalc()
556 u64 tmp = dh->rateinfo.credit; in rateinfo_recalc()
[all …]
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/
Dcfg80211.c1346 mwifiex_parse_htinfo(struct mwifiex_private *priv, u8 rateinfo, u8 htinfo, in mwifiex_parse_htinfo() argument
1355 rate->mcs = rateinfo; in mwifiex_parse_htinfo()
1360 rate->mcs = rateinfo & 0x0F; in mwifiex_parse_htinfo()
1384 if ((rateinfo >> 4) == 1) in mwifiex_parse_htinfo()
1394 if ((htinfo & BIT(0)) && (rateinfo < 16)) { in mwifiex_parse_htinfo()
1395 rate->mcs = rateinfo; in mwifiex_parse_htinfo()
1423 if (rateinfo < ARRAY_SIZE(legacy_rates)) in mwifiex_parse_htinfo()
1424 rate->legacy = legacy_rates[rateinfo]; in mwifiex_parse_htinfo()