Lines Matching refs:counter
138 win->counter = 0;
164 if (!rs_sta->win[i].counter)
170 rs_sta->win[i].counter, i);
276 * subtract "1" from the success counter (this is the main reason
280 if (win->counter >= RATE_MAX_WINDOW) {
283 win->counter = RATE_MAX_WINDOW - 1;
291 /* Increment frames-attempted counter */
292 win->counter++;
308 if (win->counter > 0)
310 128 * (100 * win->success_counter) / win->counter;
314 fail_count = win->counter - win->success_counter;
691 fail_count = win->counter - win->success_counter;
698 "counter: %d, success_counter: %d, "
699 "expected_tpt is %sNULL\n", idx, win->counter,
847 sprintf(buff + desc, "counter=%d success=%d %%=%d\n",
848 lq_sta->win[j].counter,