Lines Matching refs:fw_rate
21 u8 fw_rate = wl->links[hlid].fw_rate_idx; in wl18xx_get_last_tx_rate() local
23 if (fw_rate > CONF_HW_RATE_INDEX_MAX) { in wl18xx_get_last_tx_rate()
24 wl1271_error("last Tx rate invalid: %d", fw_rate); in wl18xx_get_last_tx_rate()
30 if (fw_rate <= CONF_HW_RATE_INDEX_54MBPS) { in wl18xx_get_last_tx_rate()
31 rate->idx = fw_rate; in wl18xx_get_last_tx_rate()
37 rate->idx = fw_rate - CONF_HW_RATE_INDEX_MCS0; in wl18xx_get_last_tx_rate()
40 if (fw_rate >= CONF_HW_RATE_INDEX_MCS7_SGI) in wl18xx_get_last_tx_rate()
42 if (fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) in wl18xx_get_last_tx_rate()
46 if (fw_rate == CONF_HW_RATE_INDEX_MCS7_SGI || in wl18xx_get_last_tx_rate()
47 fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) in wl18xx_get_last_tx_rate()
50 if (fw_rate > CONF_HW_RATE_INDEX_MCS7_SGI && vif) { in wl18xx_get_last_tx_rate()