162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci/* Copyright(c) 2009-2012  Realtek Corporation.*/
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci#ifndef __REALTEK_PCI92SE_TRX_H__
562306a36Sopenharmony_ci#define __REALTEK_PCI92SE_TRX_H__
662306a36Sopenharmony_ci
762306a36Sopenharmony_civoid rtl92se_tx_fill_desc(struct ieee80211_hw *hw,
862306a36Sopenharmony_ci			  struct ieee80211_hdr *hdr, u8 *pdesc,
962306a36Sopenharmony_ci			  u8 *pbd_desc_tx, struct ieee80211_tx_info *info,
1062306a36Sopenharmony_ci			  struct ieee80211_sta *sta,
1162306a36Sopenharmony_ci			  struct sk_buff *skb, u8 hw_queue,
1262306a36Sopenharmony_ci			  struct rtl_tcb_desc *ptcb_desc);
1362306a36Sopenharmony_civoid rtl92se_tx_fill_cmddesc(struct ieee80211_hw *hw, u8 *pdesc, bool firstseg,
1462306a36Sopenharmony_ci			     bool lastseg, struct sk_buff *skb);
1562306a36Sopenharmony_cibool rtl92se_rx_query_desc(struct ieee80211_hw *hw, struct rtl_stats *stats,
1662306a36Sopenharmony_ci			   struct ieee80211_rx_status *rx_status, u8 *pdesc,
1762306a36Sopenharmony_ci			   struct sk_buff *skb);
1862306a36Sopenharmony_civoid rtl92se_set_desc(struct ieee80211_hw *hw, u8 *pdesc, bool istx,
1962306a36Sopenharmony_ci		      u8 desc_name, u8 *val);
2062306a36Sopenharmony_ciu64 rtl92se_get_desc(struct ieee80211_hw *hw,
2162306a36Sopenharmony_ci		     u8 *desc, bool istx, u8 desc_name);
2262306a36Sopenharmony_civoid rtl92se_tx_polling(struct ieee80211_hw *hw, u8 hw_queue);
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif
25