Searched refs:fw_rate (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/net/wireless/ti/wl18xx/
H A Dtx.c35 u8 fw_rate = wl->fw_status->counters.tx_last_rate; wl18xx_get_last_tx_rate() local
37 if (fw_rate > CONF_HW_RATE_INDEX_MAX) { wl18xx_get_last_tx_rate()
38 wl1271_error("last Tx rate invalid: %d", fw_rate); wl18xx_get_last_tx_rate()
44 if (fw_rate <= CONF_HW_RATE_INDEX_54MBPS) { wl18xx_get_last_tx_rate()
45 rate->idx = fw_rate; wl18xx_get_last_tx_rate()
51 rate->idx = fw_rate - CONF_HW_RATE_INDEX_MCS0; wl18xx_get_last_tx_rate()
54 if (fw_rate >= CONF_HW_RATE_INDEX_MCS7_SGI) wl18xx_get_last_tx_rate()
56 if (fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) wl18xx_get_last_tx_rate()
60 if (fw_rate == CONF_HW_RATE_INDEX_MCS7_SGI || wl18xx_get_last_tx_rate()
61 fw_rate == CONF_HW_RATE_INDEX_MCS15_SGI) wl18xx_get_last_tx_rate()
64 if (fw_rate > CONF_HW_RATE_INDEX_MCS7_SGI && vif) { wl18xx_get_last_tx_rate()

Completed in 56 milliseconds