projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build fix: add ath_rx_bufhead and ath_tx_bufhead
[open-ath9k-htc-firmware.git]
/
target_firmware
/
wlan
/
if_athvar.h
diff --git
a/target_firmware/wlan/if_athvar.h
b/target_firmware/wlan/if_athvar.h
index d47fa94e03b7de164bdf236326480f4989971145..f5ac24fb28753ebe821c5f69ae26357ea2e187cf 100755
(executable)
--- a/
target_firmware/wlan/if_athvar.h
+++ b/
target_firmware/wlan/if_athvar.h
@@
-124,8
+124,6
@@
typedef enum {
#define TARGET_NODE_MAX ATH_NODE_MAX
#define TARGET_VAP_MAX ATH_VAP_MAX
#define TARGET_NODE_MAX ATH_NODE_MAX
#define TARGET_VAP_MAX ATH_VAP_MAX
-#define ATH_NODE_TARGET(_n) ((struct ath_node *)(_n))
-
#define MAX_RATE_POWER 63
#define ATH_COMP_PROC_NO_COMP_NO_CCS 3
#define MAX_RATE_POWER 63
#define ATH_COMP_PROC_NO_COMP_NO_CCS 3
@@
-196,7
+194,6
@@
struct ath_buf_state {
#define bf_retries bf_state.bfs_retries
#define ATH_GENERIC_BUF \
#define bf_retries bf_state.bfs_retries
#define ATH_GENERIC_BUF \
- asf_tailq_entry(ath_buf) bf_list; \
struct ath_buf *bf_next; \
struct ath_desc *bf_desc; \
struct ath_desc *bf_descarr; \
struct ath_buf *bf_next; \
struct ath_desc *bf_desc; \
struct ath_desc *bf_descarr; \
@@
-210,11
+207,13
@@
struct ath_buf_state {
struct ath_buf
{
ATH_GENERIC_BUF
struct ath_buf
{
ATH_GENERIC_BUF
+ asf_tailq_entry(ath_buf) bf_list;
};
struct ath_tx_buf
{
ATH_GENERIC_BUF
};
struct ath_tx_buf
{
ATH_GENERIC_BUF
+ asf_tailq_entry(ath_tx_buf) bf_list;
struct ath_buf_state bf_state;
a_uint16_t bf_flags;
HTC_ENDPOINT_ID bf_endpt;
struct ath_buf_state bf_state;
a_uint16_t bf_flags;
HTC_ENDPOINT_ID bf_endpt;
@@
-225,6
+224,7
@@
struct ath_tx_buf
struct ath_rx_buf
{
ATH_GENERIC_BUF
struct ath_rx_buf
{
ATH_GENERIC_BUF
+ asf_tailq_entry(ath_rx_buf) bf_list;
a_uint32_t bf_status;
struct ath_rx_status bf_rx_status;
};
a_uint32_t bf_status;
struct ath_rx_status bf_rx_status;
};
@@
-236,6
+236,8
@@
struct ath_rx_buf
typedef asf_tailq_head(ath_deschead_s, ath_rx_desc) ath_deschead;
typedef asf_tailq_head(ath_bufhead_s, ath_buf) ath_bufhead;
typedef asf_tailq_head(ath_deschead_s, ath_rx_desc) ath_deschead;
typedef asf_tailq_head(ath_bufhead_s, ath_buf) ath_bufhead;
+typedef asf_tailq_head(ath_rx_bufhead_s, ath_rx_buf) ath_rx_bufhead;
+typedef asf_tailq_head(ath_tx_bufhead_s, ath_tx_buf) ath_tx_bufhead;
#define WME_NUM_TID 8
#define WME_BA_BMP_SIZE 64
#define WME_NUM_TID 8
#define WME_BA_BMP_SIZE 64
@@
-381,11
+383,11
@@
struct ath_softc_tgt
tq_struct sc_txtotq;
tq_struct sc_fataltq;
tq_struct sc_txtotq;
tq_struct sc_fataltq;
- ath_
bufhead
sc_rxbuf;
+ ath_
rx_bufhead
sc_rxbuf;
ath_deschead sc_rxdesc_idle;
ath_deschead sc_rxdesc;
ath_deschead sc_rxdesc_idle;
ath_deschead sc_rxdesc;
- struct ath_desc *sc_rxdesc_held;
+ struct ath_
rx_
desc *sc_rxdesc_held;
struct ath_buf *sc_txbuf_held;
struct ath_buf *sc_txbuf_held;
@@
-394,7
+396,7
@@
struct ath_softc_tgt
struct ath_descdma sc_bdma;
a_uint32_t *sc_rxlink;
struct ath_descdma sc_bdma;
a_uint32_t *sc_rxlink;
- ath_
bufhead
sc_txbuf;
+ ath_
tx_bufhead
sc_txbuf;
a_uint8_t sc_txqsetup;
struct ath_txq sc_txq[HAL_NUM_TX_QUEUES];
a_uint8_t sc_txqsetup;
struct ath_txq sc_txq[HAL_NUM_TX_QUEUES];