Home
last modified time | relevance | path

Searched refs:attempts (Results 1 – 5 of 5) sorted by relevance

/net/mac80211/
Drc80211_minstrel.c165 if (unlikely(mrs->attempts > 0)) { in minstrel_calc_rate_stats()
167 cur_prob = MINSTREL_FRAC(mrs->success, mrs->attempts); in minstrel_calc_rate_stats()
179 mrs->att_hist += mrs->attempts; in minstrel_calc_rate_stats()
186 mrs->last_attempts = mrs->attempts; in minstrel_calc_rate_stats()
188 mrs->attempts = 0; in minstrel_calc_rate_stats()
284 mi->r[ndx].stats.attempts += ar[i].count; in minstrel_tx_status()
Drc80211_minstrel_ht.c945 rate->attempts += ar[i].count * info->status.ampdu_len; in minstrel_ht_tx_status()
980 if (rate->attempts > 30 && in minstrel_ht_tx_status()
981 rate->success < rate->attempts / 4) { in minstrel_ht_tx_status()
987 if (rate2->attempts > 30 && in minstrel_ht_tx_status()
988 rate2->success < rate2->attempts / 4) { in minstrel_ht_tx_status()
1263 mrs->attempts)) in minstrel_get_sample_rate()
1267 if (sample_dur >= minstrel_get_duration(tp_rate1) && mrs->attempts) in minstrel_get_sample_rate()
Drc80211_minstrel.h83 u16 attempts, last_attempts; member
/net/netfilter/
Dnf_nat_core.c405 unsigned int range_size, min, max, i, attempts; in nf_nat_l4proto_unique_tuple() local
493 attempts = range_size; in nf_nat_l4proto_unique_tuple()
494 if (attempts > max_attempts) in nf_nat_l4proto_unique_tuple()
495 attempts = max_attempts; in nf_nat_l4proto_unique_tuple()
504 for (i = 0; i < attempts; i++, off++) { in nf_nat_l4proto_unique_tuple()
510 if (attempts >= range_size || attempts < 16) in nf_nat_l4proto_unique_tuple()
512 attempts /= 2; in nf_nat_l4proto_unique_tuple()
/net/sctp/
Dsm_statefuns.c2460 int attempts = asoc->init_err_counter + 1; in sctp_sf_do_5_2_6_stale() local
2467 if (attempts > asoc->max_init_attempts) { in sctp_sf_do_5_2_6_stale()
5805 int attempts = asoc->init_err_counter + 1; in sctp_sf_t1_init_timer_expire() local
5813 if (attempts <= asoc->max_init_attempts) { in sctp_sf_t1_init_timer_expire()
5830 "max_init_attempts:%d\n", __func__, attempts, in sctp_sf_t1_init_timer_expire()
5870 int attempts = asoc->init_err_counter + 1; in sctp_sf_t1_cookie_timer_expire() local
5877 if (attempts <= asoc->max_init_attempts) { in sctp_sf_t1_cookie_timer_expire()