Lines Matching refs:fw_rate
35 u8 fw_rate = wl->links[hlid].fw_rate_idx; in wl18xx_get_last_tx_rate() local
37 if (fw_rate > CONF_HW_RATE_INDEX_MAX) { in wl18xx_get_last_tx_rate()
38 wl1271_error("last Tx rate invalid: %d", fw_rate); in wl18xx_get_last_tx_rate()
44 if (fw_rate <= CONF_HW_RATE_INDEX_54MBPS) { in wl18xx_get_last_tx_rate()
45 rate->idx = fw_rate; in wl18xx_get_last_tx_rate()
51 rate->idx = fw_rate - CONF_HW_RATE_INDEX_MCS0; in wl18xx_get_last_tx_rate()
54 if (fw_rate >= CONF_HW_RATE_INDEX_MCS7_SGI) in wl18xx_get_last_tx_rate()
56 if (fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) in wl18xx_get_last_tx_rate()
60 if (fw_rate == CONF_HW_RATE_INDEX_MCS7_SGI || in wl18xx_get_last_tx_rate()
61 fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) in wl18xx_get_last_tx_rate()
64 if (fw_rate > CONF_HW_RATE_INDEX_MCS7_SGI && vif) { in wl18xx_get_last_tx_rate()