#ifndef _QCA_FRAMING_H
#define _QCA_FRAMING_H
#include <linux/if_ether.h>
#include <linux/if_vlan.h>
#include <linux/types.h>
#define QCAFRM_GATHER …
#define QCAFRM_NOHEAD …
#define QCAFRM_NOTAIL …
#define QCAFRM_INVLEN …
#define QCAFRM_INVFRAME …
#define QCAFRM_MIN_MTU …
#define QCAFRM_MAX_MTU …
#define QCAFRM_MIN_LEN …
#define QCAFRM_MAX_LEN …
#define QCAFRM_HEADER_LEN …
#define QCAFRM_FOOTER_LEN …
#define QCAFRM_ERR_BASE …
enum qcafrm_state { … };
struct qcafrm_handle { … };
u16 qcafrm_create_header(u8 *buf, u16 len);
u16 qcafrm_create_footer(u8 *buf);
static inline void qcafrm_fsm_init_spi(struct qcafrm_handle *handle)
{ … }
static inline void qcafrm_fsm_init_uart(struct qcafrm_handle *handle)
{ … }
s32 qcafrm_fsm_decode(struct qcafrm_handle *handle, u8 *buf, u16 buf_len, u8 recv_byte);
#endif