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