X-Git-Url: https://jxself.org/git/?p=carl9170fw.git;a=blobdiff_plain;f=carlfw%2Finclude%2Fwl.h;h=fb9b09fcbc0a761b416fa3ab4cfa0a4e0e5e6a77;hp=7428d1a28760901d293c9c06f6a49a7d7ecb9db7;hb=29c96874116d87d35be5f636d107679f4120ee77;hpb=990ce9efaea1c6e46372a6758988aff6e9d202e9 diff --git a/carlfw/include/wl.h b/carlfw/include/wl.h index 7428d1a..fb9b09f 100644 --- a/carlfw/include/wl.h +++ b/carlfw/include/wl.h @@ -210,6 +210,11 @@ static inline __inline struct carl9170_tx_superframe *get_super(struct dma_desc f); } +static inline __inline struct carl9170_tx_superframe *__get_super(struct dma_desc *desc) +{ + return DESC_PAYLOAD(desc); +} + static inline __inline void hide_super(struct dma_desc *desc) { desc->dataAddr = (uint8_t *) @@ -253,6 +258,9 @@ void wlan_modify_beacon(const unsigned int vif, const unsigned int bcn_addr, const unsigned int bcn_len); +void wlan_tx_complete(struct carl9170_tx_superframe *super, + bool txs); + static inline void wlan_prepare_wol(void) { /* set filter policy to: discard everything */