diff options
author | Juuso Oikarinen <juuso.oikarinen@nokia.com> | 2010-03-26 13:53:11 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-03-31 22:39:11 +0400 |
commit | f876bb9aafc71d8ea395eec99666faaffec5df49 (patch) | |
tree | db19cff09cdb3ffe237c8031b00788a4c79d8192 /drivers/net/wireless/wl12xx/wl1271_rx.h | |
parent | 7fdd50d07fed198b2c6ccdca96ab5537014597d8 (diff) | |
download | linux-f876bb9aafc71d8ea395eec99666faaffec5df49.tar.xz |
wl1271: Clean up RX rate reporting
Clean up the code to convert a firmware rate class index into an index
for the rate configuration table.
Signed-off-by: Juuso Oikarinen <juuso.oikarinen@nokia.com>
Reviewed-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: Luciano Coelho <luciano.coelho@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/wl12xx/wl1271_rx.h')
-rw-r--r-- | drivers/net/wireless/wl12xx/wl1271_rx.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1271_rx.h b/drivers/net/wireless/wl12xx/wl1271_rx.h index 1ae6d1783ed4..b89be4758e78 100644 --- a/drivers/net/wireless/wl12xx/wl1271_rx.h +++ b/drivers/net/wireless/wl12xx/wl1271_rx.h @@ -43,7 +43,6 @@ #define RX_MAX_PACKET_ID 3 #define NUM_RX_PKT_DESC_MOD_MASK 7 -#define WL1271_RX_RATE_UNSUPPORTED 0xFF #define RX_DESC_VALID_FCS 0x0001 #define RX_DESC_MATCH_RXADDR1 0x0002 @@ -117,5 +116,6 @@ struct wl1271_rx_descriptor { } __attribute__ ((packed)); void wl1271_rx(struct wl1271 *wl, struct wl1271_fw_status *status); +u8 wl1271_rate_to_idx(struct wl1271 *wl, int rate); #endif |