treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / net / wireless / realtek / rtlwifi / rtl8192se / trx.h
blob90aa12fc6a7f97e9dc7803f4e1aebf7190d176c2
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2009-2012 Realtek Corporation.*/
4 #ifndef __REALTEK_PCI92SE_TRX_H__
5 #define __REALTEK_PCI92SE_TRX_H__
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, bool firstseg,
14 bool lastseg, 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);
24 #endif