Lines Matching refs:rate_order
552 u8 rate_order;
554 rate_order = rate_idx;
557 rate_order -= DESC_RATEVHT4SS_MCS0;
559 rate_order -= DESC_RATEVHT3SS_MCS0;
561 rate_order -= DESC_RATEVHT2SS_MCS0;
563 rate_order -= DESC_RATEVHT1SS_MCS0;
565 rate_order -= DESC_RATEMCS24;
567 rate_order -= DESC_RATEMCS16;
569 rate_order -= DESC_RATEMCS8;
571 rate_order -= DESC_RATEMCS0;
573 rate_order -= DESC_RATE6M;
575 rate_order -= DESC_RATE1M;
577 if (rate_idx >= DESC_RATEMCS0 || rate_order == 0)
578 rate_order++;
580 return GENMASK(rate_order + RRSR_RATE_ORDER_CCK_LEN - 1, 0);