#define _OS_INTFS_C_
#include <linux/module.h>
#include <linux/kthread.h>
#include <linux/firmware.h>
#include "osdep_service.h"
#include "drv_types.h"
#include "xmit_osdep.h"
#include "recv_osdep.h"
#include "rtl871x_ioctl.h"
#include "usb_osintf.h"
MODULE_LICENSE(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
static char ifname[IFNAMSIZ] = …;
static int chip_version = …;
static int rfintfs = …;
static int lbkmode = …;
static int hci = …;
static int ampdu_enable = …;
static int video_mode = …;
static int network_mode = …;
static int channel = …;
static int wireless_mode = …;
static int vrtl_carrier_sense = …;
static int vcs_type = …;
static int frag_thresh = …;
static int preamble = …;
static int scan_mode = …;
static int adhoc_tx_pwr = …;
static int soft_ap;
static int smart_ps = …;
static int power_mgnt = …;
static int radio_enable = …;
static int long_retry_lmt = …;
static int short_retry_lmt = …;
static int busy_thresh = …;
static int ack_policy = …;
static int mp_mode;
static int software_encrypt;
static int software_decrypt;
static int wmm_enable;
static int uapsd_enable;
static int uapsd_max_sp = …;
static int uapsd_acbk_en;
static int uapsd_acbe_en;
static int uapsd_acvi_en;
static int uapsd_acvo_en;
static int ht_enable = …;
static int cbw40_enable = …;
static int rf_config = …;
static int low_power;
char *r8712_initmac;
static char *initmac;
static int wifi_test;
module_param_string(…);
module_param(wifi_test, int, 0644);
module_param(initmac, charp, 0644);
module_param(video_mode, int, 0644);
module_param(chip_version, int, 0644);
module_param(rfintfs, int, 0644);
module_param(lbkmode, int, 0644);
module_param(hci, int, 0644);
module_param(network_mode, int, 0644);
module_param(channel, int, 0644);
module_param(mp_mode, int, 0644);
module_param(wmm_enable, int, 0644);
module_param(vrtl_carrier_sense, int, 0644);
module_param(vcs_type, int, 0644);
module_param(busy_thresh, int, 0644);
module_param(ht_enable, int, 0644);
module_param(cbw40_enable, int, 0644);
module_param(ampdu_enable, int, 0644);
module_param(rf_config, int, 0644);
module_param(power_mgnt, int, 0644);
module_param(low_power, int, 0644);
MODULE_PARM_DESC(…) …;
MODULE_PARM_DESC(…) …;
static int netdev_open(struct net_device *pnetdev);
static int netdev_close(struct net_device *pnetdev);
static void loadparam(struct _adapter *padapter, struct net_device *pnetdev)
{ … }
static int r871x_net_set_mac_address(struct net_device *pnetdev, void *p)
{ … }
static struct net_device_stats *r871x_net_get_stats(struct net_device *pnetdev)
{ … }
static const struct net_device_ops rtl8712_netdev_ops = …;
struct net_device *r8712_init_netdev(void)
{ … }
static u32 start_drv_threads(struct _adapter *padapter)
{ … }
void r8712_stop_drv_threads(struct _adapter *padapter)
{ … }
static void start_drv_timers(struct _adapter *padapter)
{ … }
void r8712_stop_drv_timers(struct _adapter *padapter)
{ … }
static void init_default_value(struct _adapter *padapter)
{ … }
int r8712_init_drv_sw(struct _adapter *padapter)
{ … }
void r8712_free_drv_sw(struct _adapter *padapter)
{ … }
static void enable_video_mode(struct _adapter *padapter, int cbw40_value)
{ … }
static int netdev_open(struct net_device *pnetdev)
{ … }
static int netdev_close(struct net_device *pnetdev)
{ … }
#include "mlme_osdep.h"