1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Copyright(c) 2008 - 2010 Realtek Corporation. All rights reserved.
4 *
5 * Contact Information: wlanfae <wlanfae@realtek.com>
6 */
7#ifndef _RTL8192E_H
8#define _RTL8192E_H
9
10#include "r8190P_def.h"
11
12bool rtl92e_is_halfn_supported_by_ap(struct net_device *dev);
13bool rtl92e_get_nmode_support_by_sec(struct net_device *dev);
14bool rtl92e_is_tx_stuck(struct net_device *dev);
15bool rtl92e_is_rx_stuck(struct net_device *dev);
16void rtl92e_ack_irq(struct net_device *dev, u32 *p_inta);
17void rtl92e_enable_rx(struct net_device *dev);
18void rtl92e_enable_tx(struct net_device *dev);
19void rtl92e_init_variables(struct net_device *dev);
20void rtl92e_set_reg(struct net_device *dev, u8 variable, u8 *val);
21void rtl92e_get_eeprom_size(struct net_device *dev);
22bool rtl92e_start_adapter(struct net_device *dev);
23void rtl92e_link_change(struct net_device *dev);
24void rtl92e_set_monitor_mode(struct net_device *dev, bool bAllowAllDA,
25 bool WriteIntoReg);
26void rtl92e_fill_tx_desc(struct net_device *dev, struct tx_desc *pdesc,
27 struct cb_desc *cb_desc, struct sk_buff *skb);
28void rtl92e_fill_tx_cmd_desc(struct net_device *dev, struct tx_desc_cmd *entry,
29 struct cb_desc *cb_desc, struct sk_buff *skb);
30bool rtl92e_get_rx_stats(struct net_device *dev, struct rtllib_rx_stats *stats,
31 struct rx_desc *pdesc, struct sk_buff *skb);
32void rtl92e_stop_adapter(struct net_device *dev, bool reset);
33void rtl92e_update_ratr_table(struct net_device *dev);
34#endif
35

source code of linux/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.h