xref: /linux/drivers/net/wireless/realtek/rtlwifi/rtl8192se/trx.h (revision 0ea5c948cb64bab5bc7a5516774eb8536f05aa0d)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012  Realtek Corporation.*/
3 
4 #ifndef __REALTEK_PCI92SE_TRX_H__
5 #define __REALTEK_PCI92SE_TRX_H__
6 
7 void rtl92se_tx_fill_desc(struct ieee80211_hw *hw,
8 			  struct ieee80211_hdr *hdr, u8 *pdesc,
9 			  u8 *pbd_desc_tx, struct ieee80211_tx_info *info,
10 			  struct ieee80211_sta *sta,
11 			  struct sk_buff *skb, u8 hw_queue,
12 			  struct rtl_tcb_desc *ptcb_desc);
13 void rtl92se_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc,
14 			     struct sk_buff *skb);
15 bool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
16 			   struct ieee80211_rx_status *rx_status, u8 *pdesc,
17 			   struct sk_buff *skb);
18 void rtl92se_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx,
19 		      u8 desc_name, u8 *val);
20 u64 rtl92se_get_desc(struct ieee80211_hw *hw,
21 		     u8 *desc, bool istx, u8 desc_name);
22 void rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
23 
24 #endif
25