/* * Copyright (c) 2013 Eugene Krasnikov <[email protected]> * * Permission to use, copy, modify, and/or distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ #ifndef _TXRX_H_ #define _TXRX_H_ #include <linux/etherdevice.h> #include "wcn36xx.h" /* TODO describe all properties */ #define WCN36XX_802_11_HEADER_LEN … #define WCN36XX_BMU_WQ_TX … #define WCN36XX_TID … /* broadcast wq ID */ #define WCN36XX_TX_B_WQ_ID … #define WCN36XX_TX_U_WQ_ID … /* bd_rate */ #define WCN36XX_BD_RATE_DATA … #define WCN36XX_BD_RATE_MGMT … #define WCN36XX_BD_RATE_CTRL … enum wcn36xx_txbd_ssn_type { … }; struct wcn36xx_pdu { … }; struct wcn36xx_rx_bd { … }; struct wcn36xx_tx_bd { … }; struct wcn36xx_sta; struct wcn36xx; int wcn36xx_rx_skb(struct wcn36xx *wcn, struct sk_buff *skb); int wcn36xx_start_tx(struct wcn36xx *wcn, struct wcn36xx_sta *sta_priv, struct sk_buff *skb); void wcn36xx_process_tx_rate(struct ani_global_class_a_stats_info *stats, struct rate_info *info); #endif /* _TXRX_H_ */