old mode 100644new mode 100755.. | .. |
---|
39 | 39 | #define SDIO_SLEEP_ST 0 |
---|
40 | 40 | #define SDIO_ACTIVE_ST 1 |
---|
41 | 41 | |
---|
| 42 | +#define DATA_FLOW_CTRL_THRESH 2 |
---|
| 43 | + |
---|
42 | 44 | typedef enum { |
---|
43 | 45 | SDIO_TYPE_DATA = 0X00, |
---|
44 | 46 | SDIO_TYPE_CFG = 0X10, |
---|
45 | 47 | SDIO_TYPE_CFG_CMD_RSP = 0X11, |
---|
46 | | - SDIO_TYPE_CFG_DATA_CFM = 0X12 |
---|
| 48 | + SDIO_TYPE_CFG_DATA_CFM = 0X12, |
---|
| 49 | + SDIO_TYPE_CFG_PRINT = 0X13 |
---|
47 | 50 | } sdio_type; |
---|
48 | 51 | |
---|
49 | 52 | struct rwnx_hw; |
---|
.. | .. |
---|
75 | 78 | int aicwf_sdio_func_init(struct aic_sdio_dev *sdiodev); |
---|
76 | 79 | void aicwf_sdio_func_deinit(struct aic_sdio_dev *sdiodev); |
---|
77 | 80 | int aicwf_sdio_flow_ctrl(struct aic_sdio_dev *sdiodev); |
---|
| 81 | +int aicwf_sdio_flow_ctrl_msg(struct aic_sdio_dev *sdiodev); |
---|
78 | 82 | int aicwf_sdio_recv_pkt(struct aic_sdio_dev *sdiodev, struct sk_buff *skbbuf, u32 size); |
---|
79 | 83 | int aicwf_sdio_send_pkt(struct aic_sdio_dev *sdiodev, u8 *buf, uint count); |
---|
80 | 84 | void *aicwf_sdio_bus_init(struct aic_sdio_dev *sdiodev); |
---|
.. | .. |
---|
85 | 89 | int sdio_bustx_thread(void *data); |
---|
86 | 90 | int sdio_busrx_thread(void *data); |
---|
87 | 91 | int aicwf_sdio_aggr(struct aicwf_tx_priv *tx_priv, struct sk_buff *pkt); |
---|
88 | | -int aicwf_sdio_send(struct aicwf_tx_priv *tx_priv); |
---|
| 92 | +int aicwf_sdio_send(struct aicwf_tx_priv *tx_priv, u8 txnow); |
---|
89 | 93 | void aicwf_sdio_aggr_send(struct aicwf_tx_priv *tx_priv); |
---|
90 | 94 | void aicwf_sdio_aggrbuf_reset(struct aicwf_tx_priv *tx_priv); |
---|
91 | 95 | extern void aicwf_hostif_ready(void); |
---|
| 96 | +extern void aicwf_hostif_fail(void); |
---|
92 | 97 | #ifdef CONFIG_PLATFORM_NANOPI |
---|
93 | 98 | extern void extern_wifi_set_enable(int is_on); |
---|
94 | 99 | extern void sdio_reinit(void); |
---|