diff options
author | Arik Nemtsov <arik@wizery.com> | 2012-05-10 09:13:23 (GMT) |
---|---|---|
committer | Luciano Coelho <coelho@ti.com> | 2012-06-05 12:55:08 (GMT) |
commit | 9c809f888370d87129d17028d515bb025fe94175 (patch) | |
tree | 970f46342b06c29ee63684ee2d605527e7bd42e3 /drivers/net/wireless/ti/wlcore/rx.h | |
parent | 7cfefd1f2acbd5ff2a1a8846de058064bd63550a (diff) | |
download | linux-fsl-qoriq-9c809f888370d87129d17028d515bb025fe94175.tar.xz |
wl18xx: implement hw op for getting rx buffer data alignment
Implement the HW op for getting alignment state in wl18xx. The FW aligns
the Rx Ethernet payload data.
Signed-off-by: Arik Nemtsov <arik@wizery.com>
Signed-off-by: Luciano Coelho <coelho@ti.com>
Diffstat (limited to 'drivers/net/wireless/ti/wlcore/rx.h')
-rw-r--r-- | drivers/net/wireless/ti/wlcore/rx.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/net/wireless/ti/wlcore/rx.h b/drivers/net/wireless/ti/wlcore/rx.h index e9a162a..277936e 100644 --- a/drivers/net/wireless/ti/wlcore/rx.h +++ b/drivers/net/wireless/ti/wlcore/rx.h @@ -102,6 +102,9 @@ /* If set, the start of IP payload is not 4 bytes aligned */ #define RX_BUF_UNALIGNED_PAYLOAD BIT(20) +/* If set, the buffer was padded by the FW to be 4 bytes aligned */ +#define RX_BUF_PADDED_PAYLOAD BIT(30) + /* Describes the alignment state of a Rx buffer */ enum wl_rx_buf_align { WLCORE_RX_BUF_ALIGNED, |