mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
staging: r8188eu: fix include directory mess
The driver seems to want to include a specific directory for all include files on the build path, but that breaks when trying to build only the module directory, or when building with "O=" option. Fix this up by making all includes for the driver be relative locations. Reported-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20210730144227.1770212-1-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
@@ -11,8 +11,6 @@ EXTRA_CFLAGS += -Wno-unused
|
||||
|
||||
EXTRA_CFLAGS += -Wno-uninitialized
|
||||
|
||||
EXTRA_CFLAGS += -I$(src)/include
|
||||
|
||||
ccflags-y += -D__CHECK_ENDIAN__
|
||||
|
||||
CONFIG_R8188EU = m
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTW_AP_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include <ieee80211.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/ieee80211.h"
|
||||
|
||||
#ifdef CONFIG_88EU_AP_MODE
|
||||
|
||||
|
||||
@@ -3,26 +3,26 @@
|
||||
|
||||
#define _RTW_BR_EXT_C_
|
||||
|
||||
#include <linux/if_arp.h>
|
||||
#include <net/ip.h>
|
||||
#include <net/ipx.h>
|
||||
#include <linux/atalk.h>
|
||||
#include <linux/udp.h>
|
||||
#include <linux/if_pppox.h>
|
||||
#include "../include/linux/if_arp.h"
|
||||
#include "../include/net/ip.h"
|
||||
#include "../include/net/ipx.h"
|
||||
#include "../include/linux/atalk.h"
|
||||
#include "../include/linux/udp.h"
|
||||
#include "../include/linux/if_pppox.h"
|
||||
|
||||
#include <drv_types.h>
|
||||
#include "rtw_br_ext.h"
|
||||
#include <usb_osintf.h>
|
||||
#include <recv_osdep.h>
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_br_ext.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
|
||||
#ifndef csum_ipv6_magic
|
||||
#include <net/ip6_checksum.h>
|
||||
#include "../include/net/ip6_checksum.h"
|
||||
#endif
|
||||
|
||||
#include <linux/ipv6.h>
|
||||
#include <linux/icmpv6.h>
|
||||
#include <net/ndisc.h>
|
||||
#include <net/checksum.h>
|
||||
#include "../include/linux/ipv6.h"
|
||||
#include "../include/linux/icmpv6.h"
|
||||
#include "../include/net/ndisc.h"
|
||||
#include "../include/net/checksum.h"
|
||||
|
||||
#define NAT25_IPV4 01
|
||||
#define NAT25_IPV6 02
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
#define _RTW_CMD_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <cmd_osdep.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <rtw_br_ext.h>
|
||||
#include <rtw_mlme_ext.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/cmd_osdep.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/rtw_br_ext.h"
|
||||
#include "../include/rtw_mlme_ext.h"
|
||||
|
||||
/*
|
||||
Caller and the rtw_cmd_thread can protect cmd_q by spin_lock.
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
#define _RTW_DEBUG_C_
|
||||
|
||||
#include <rtw_debug.h>
|
||||
#include <drv_types.h>
|
||||
#include "../include/rtw_debug.h"
|
||||
#include "../include/drv_types.h"
|
||||
|
||||
int proc_get_drv_version(char *page, char **start,
|
||||
off_t offset, int count,
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _RTW_EFUSE_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_efuse.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_efuse.h"
|
||||
|
||||
/*------------------------Define local variable------------------------------*/
|
||||
u8 fakeEfuseBank;
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
#define _IEEE80211_C
|
||||
|
||||
#include <drv_types.h>
|
||||
#include <ieee80211.h>
|
||||
#include <wifi.h>
|
||||
#include <osdep_service.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <usb_osintf.h>
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/ieee80211.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/wlan_bssdef.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
|
||||
u8 RTW_WPA_OUI_TYPE[] = { 0x00, 0x50, 0xf2, 1 };
|
||||
u16 RTW_WPA_VERSION = 1;
|
||||
|
||||
@@ -23,11 +23,11 @@ jackson@realtek.com.tw
|
||||
*/
|
||||
|
||||
#define _RTW_IO_C_
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_io.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <usb_ops.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_io.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/usb_ops.h"
|
||||
|
||||
#define rtw_le16_to_cpu(val) le16_to_cpu(val)
|
||||
#define rtw_le32_to_cpu(val) le32_to_cpu(val)
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
#define _RTW_IOCTL_SET_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include <hal_intf.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_ioctl_set.h"
|
||||
#include "../include/hal_intf.h"
|
||||
|
||||
#include <usb_osintf.h>
|
||||
#include <usb_ops.h>
|
||||
#include "../include/usb_osintf.h"
|
||||
#include "../include/usb_ops.h"
|
||||
|
||||
extern void indicate_wx_scan_complete_event(struct adapter *padapter);
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include<rtw_iol.h>
|
||||
#include "../include/rtw_iol.h"
|
||||
|
||||
struct xmit_frame *rtw_IOL_accquire_xmit_frame(struct adapter *adapter)
|
||||
{
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2012 Realtek Corporation. */
|
||||
|
||||
#include <drv_types.h>
|
||||
#include "rtw_led.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_led.h"
|
||||
|
||||
/* */
|
||||
/* Description: */
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
#define _RTW_MLME_C_
|
||||
|
||||
#include <linux/version.h>
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <xmit_osdep.h>
|
||||
#include <hal_intf.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <sta_info.h>
|
||||
#include <wifi.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include <usb_osintf.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/xmit_osdep.h"
|
||||
#include "../include/hal_intf.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/sta_info.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/wlan_bssdef.h"
|
||||
#include "../include/rtw_ioctl_set.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
|
||||
extern unsigned char MCS_rate_2R[16];
|
||||
extern unsigned char MCS_rate_1R[16];
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
#define _RTW_MLME_EXT_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include <rtw_mlme_ext.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <recv_osdep.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/rtw_mlme_ext.h"
|
||||
#include "../include/wlan_bssdef.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
|
||||
static struct mlme_handler mlme_sta_tbl[] = {
|
||||
{WIFI_ASSOCREQ, "OnAssocReq", &OnAssocReq},
|
||||
|
||||
@@ -3,10 +3,9 @@
|
||||
|
||||
#define _RTW_MP_C_
|
||||
|
||||
#include <drv_types.h>
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "rtl8188e_hal.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
u32 read_macreg(struct adapter *padapter, u32 addr, u32 sz)
|
||||
{
|
||||
|
||||
@@ -3,12 +3,10 @@
|
||||
|
||||
#define _RTW_MP_IOCTL_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <mlme_osdep.h>
|
||||
|
||||
/* include <rtw_mp.h> */
|
||||
#include <rtw_mp_ioctl.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/rtw_mp_ioctl.h"
|
||||
|
||||
/* rtl8188eu_oid_rtl_seg_81_85 section start **************** */
|
||||
int rtl8188eu_oid_rt_wireless_mode_hdl(struct oid_par_priv *poid_par_priv)
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _RTW_P2P_C_
|
||||
|
||||
#include <drv_types.h>
|
||||
#include <rtw_p2p.h>
|
||||
#include <wifi.h>
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_p2p.h"
|
||||
#include "../include/wifi.h"
|
||||
|
||||
#ifdef CONFIG_88EU_P2P
|
||||
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTW_PWRCTRL_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <linux/usb.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/linux/usb.h"
|
||||
|
||||
void ips_enter(struct adapter *padapter)
|
||||
{
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
#define _RTW_RECV_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <ip.h>
|
||||
#include <if_ether.h>
|
||||
#include <ethernet.h>
|
||||
#include <usb_ops.h>
|
||||
#include <wifi.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/ip.h"
|
||||
#include "../include/if_ether.h"
|
||||
#include "../include/ethernet.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/wifi.h"
|
||||
|
||||
static u8 SNAP_ETH_TYPE_IPX[2] = {0x81, 0x37};
|
||||
static u8 SNAP_ETH_TYPE_APPLETALK_AARP[2] = {0x80, 0xf3};
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTW_RF_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <xmit_osdep.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/xmit_osdep.h"
|
||||
|
||||
struct ch_freq {
|
||||
u32 channel;
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTW_SECURITY_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include <osdep_intf.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
|
||||
/* WEP related ===== */
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2012 Realtek Corporation. */
|
||||
|
||||
#include <rtw_sreset.h>
|
||||
#include "../include/rtw_sreset.h"
|
||||
|
||||
void sreset_init_value(struct adapter *padapter)
|
||||
{
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
#define _RTW_STA_MGT_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <xmit_osdep.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <sta_info.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/xmit_osdep.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/sta_info.h"
|
||||
|
||||
static void _rtw_init_stainfo(struct sta_info *psta)
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _RTW_WLAN_UTIL_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
|
||||
static unsigned char ARTHEROS_OUI1[] = {0x00, 0x03, 0x7f};
|
||||
static unsigned char ARTHEROS_OUI2[] = {0x00, 0x13, 0x74};
|
||||
|
||||
@@ -3,13 +3,13 @@
|
||||
|
||||
#define _RTW_XMIT_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <ip.h>
|
||||
#include <usb_ops.h>
|
||||
#include <usb_osintf.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/ip.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
|
||||
static u8 P802_1H_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0xf8 };
|
||||
static u8 RFC1042_OUI[P80211_OUI_LEN] = { 0x00, 0x00, 0x00 };
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "Hal8188EPwrSeq.h"
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/Hal8188EPwrSeq.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
/*
|
||||
drivers should parse below arrays and do the corresponding actions
|
||||
|
||||
@@ -12,7 +12,7 @@ Major Change History:
|
||||
2011-08-12 Page Create.
|
||||
|
||||
--*/
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
/* Rate adaptive parameters */
|
||||
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
|
||||
#include <rtw_iol.h>
|
||||
#include "../include/odm_precomp.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
|
||||
#define read_next_pair(array, v1, v2, i) \
|
||||
do { \
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include <rtw_iol.h>
|
||||
#include "../include/odm_precomp.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
|
||||
static bool Checkcondition(const u32 condition, const u32 hex)
|
||||
{
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
|
||||
#include <rtw_iol.h>
|
||||
#include "../include/odm_precomp.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
|
||||
static bool CheckCondition(const u32 Condition, const u32 Hex)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
/*---------------------------Define Local Constant---------------------------*/
|
||||
/* 2010/04/25 MH Define the max tx power tracking tx agc power. */
|
||||
|
||||
@@ -17,7 +17,7 @@ Major Change History:
|
||||
|
||||
--*/
|
||||
|
||||
#include <HalPwrSeqCmd.h>
|
||||
#include "../include/HalPwrSeqCmd.h"
|
||||
|
||||
/* Description: */
|
||||
/* This routine deals with the Power Configuration CMDs parsing
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
|
||||
#include <hal_intf.h>
|
||||
#include <hal_com.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/hal_intf.h"
|
||||
#include "../include/hal_com.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
#define _HAL_INIT_C_
|
||||
|
||||
|
||||
@@ -2,9 +2,9 @@
|
||||
/* Copyright(c) 2007 - 2012 Realtek Corporation. */
|
||||
|
||||
#define _HAL_INTF_C_
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <hal_intf.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/hal_intf.h"
|
||||
|
||||
void rtw_hal_chip_configure(struct adapter *adapt)
|
||||
{
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
/* include files */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
static const u16 dB_Invert_Table[8][12] = {
|
||||
{1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 4, 4},
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
#define READ_AND_CONFIG READ_AND_CONFIG_MP
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
void ODM_DIG_LowerBound_88E(struct odm_dm_struct *dm_odm)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
void odm_ConfigRFReg_8188E(struct odm_dm_struct *pDM_Odm, u32 Addr,
|
||||
u32 Data, enum rf_radio_path RF_PATH,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
|
||||
void ODM_InitDebugSetting(struct odm_dm_struct *pDM_Odm)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include "odm_precomp.h"
|
||||
#include "../include/odm_precomp.h"
|
||||
/* ODM IO Relative API. */
|
||||
|
||||
u8 ODM_Read1Byte(struct odm_dm_struct *pDM_Odm, u32 RegAddr)
|
||||
|
||||
@@ -3,14 +3,14 @@
|
||||
|
||||
#define _RTL8188E_CMD_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <cmd_osdep.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/cmd_osdep.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/rtw_ioctl_set.h"
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
#define RTL88E_MAX_H2C_BOX_NUMS 4
|
||||
#define RTL88E_MAX_CMD_LEN 7
|
||||
|
||||
@@ -4,10 +4,9 @@
|
||||
/* This file is for 92CE/92CU dynamic mechanism only */
|
||||
#define _RTL8188E_DM_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
static void dm_CheckStatistics(struct adapter *Adapter)
|
||||
{
|
||||
|
||||
@@ -3,15 +3,12 @@
|
||||
|
||||
#define _HAL_INIT_C_
|
||||
|
||||
#include <linux/firmware.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_efuse.h>
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
|
||||
#include <rtw_iol.h>
|
||||
|
||||
#include <usb_ops.h>
|
||||
#include "../include/linux/firmware.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_efuse.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
#include "../include/usb_ops.h"
|
||||
|
||||
static void iol_mode_enable(struct adapter *padapter, u8 enable)
|
||||
{
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTL8188E_MP_C_
|
||||
|
||||
#include <drv_types.h>
|
||||
#include <rtw_mp.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include <rtl8188e_dm.h>
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_mp.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
#include "../include/rtl8188e_dm.h"
|
||||
|
||||
s32 Hal_SetPowerTracking(struct adapter *padapter, u8 enable)
|
||||
{
|
||||
|
||||
@@ -3,10 +3,10 @@
|
||||
|
||||
#define _RTL8188E_PHYCFG_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_iol.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
/*---------------------------Define Local Constant---------------------------*/
|
||||
/* Channel switch:The size of command tables for switch channel*/
|
||||
|
||||
@@ -25,10 +25,9 @@
|
||||
|
||||
#define _RTL8188E_RF6052_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
/*---------------------------Define Local Constant---------------------------*/
|
||||
/* Define local structure for debug!!!!! */
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _RTL8188E_REDESC_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
static void process_rssi(struct adapter *padapter, struct recv_frame *prframe)
|
||||
{
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
|
||||
#define _RTL8188E_SRESET_C_
|
||||
|
||||
#include <rtl8188e_sreset.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/rtl8188e_sreset.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
void rtl8188e_silentreset_for_specific_platform(struct adapter *padapter)
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _RTL8188E_XMIT_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
void dump_txrpt_ccx_88e(void *buf)
|
||||
{
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// SPDX-License-Identifier: GPL-2.0
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include <rtl8188e_led.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
#include "../include/rtl8188e_led.h"
|
||||
|
||||
/* LED object. */
|
||||
|
||||
|
||||
@@ -2,18 +2,18 @@
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#define _RTL8188EU_RECV_C_
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <ip.h>
|
||||
#include <if_ether.h>
|
||||
#include <ethernet.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
#include "../include/ip.h"
|
||||
#include "../include/if_ether.h"
|
||||
#include "../include/ethernet.h"
|
||||
|
||||
#include <usb_ops.h>
|
||||
#include <wifi.h>
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/wifi.h"
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
void rtl8188eu_init_recvbuf(struct adapter *padapter, struct recv_buf *precvbuf)
|
||||
{
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
/* Copyright(c) 2007 - 2011 Realtek Corporation. */
|
||||
|
||||
#define _RTL8188E_XMIT_C_
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <usb_ops.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
s32 rtl8188eu_init_xmit_priv(struct adapter *adapt)
|
||||
{
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
#define _HCI_HAL_INIT_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_efuse.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/rtw_efuse.h"
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include <rtl8188e_led.h>
|
||||
#include <rtw_iol.h>
|
||||
#include <usb_ops.h>
|
||||
#include <usb_osintf.h>
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
#include "../include/rtl8188e_led.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/usb_osintf.h"
|
||||
|
||||
#define HAL_MAC_ENABLE 1
|
||||
#define HAL_BB_ENABLE 1
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
|
||||
#define _HCI_OPS_OS_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <osdep_intf.h>
|
||||
#include <usb_ops.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
static int usbctrl_vendorreq(struct intf_hdl *pintfhdl, u8 request, u16 value, u16 index, void *pdata, u16 len, u8 requesttype)
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef __HALPWRSEQCMD_H__
|
||||
#define __HALPWRSEQCMD_H__
|
||||
|
||||
#include <drv_types.h>
|
||||
#include "drv_types.h"
|
||||
|
||||
/*---------------------------------------------*/
|
||||
/* 3 The value of cmd: 4 bits */
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __CMD_OSDEP_H_
|
||||
#define __CMD_OSDEP_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
extern int _rtw_init_cmd_priv(struct cmd_priv *pcmdpriv);
|
||||
extern int _rtw_init_evt_priv(struct evt_priv *pevtpriv);
|
||||
|
||||
@@ -14,29 +14,29 @@
|
||||
#define CONFIG_88EU_AP_MODE 1
|
||||
#define CONFIG_88EU_P2P 1
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <rtw_ht.h>
|
||||
#include <rtw_cmd.h>
|
||||
#include <rtw_xmit.h>
|
||||
#include <rtw_recv.h>
|
||||
#include <hal_intf.h>
|
||||
#include <hal_com.h>
|
||||
#include <rtw_security.h>
|
||||
#include <rtw_pwrctrl.h>
|
||||
#include <rtw_io.h>
|
||||
#include <rtw_eeprom.h>
|
||||
#include <sta_info.h>
|
||||
#include <rtw_mlme.h>
|
||||
#include <rtw_debug.h>
|
||||
#include <rtw_rf.h>
|
||||
#include <rtw_event.h>
|
||||
#include <rtw_led.h>
|
||||
#include <rtw_mlme_ext.h>
|
||||
#include <rtw_p2p.h>
|
||||
#include <rtw_ap.h>
|
||||
#include <rtw_mp.h>
|
||||
#include <rtw_br_ext.h>
|
||||
#include "osdep_service.h"
|
||||
#include "wlan_bssdef.h"
|
||||
#include "rtw_ht.h"
|
||||
#include "rtw_cmd.h"
|
||||
#include "rtw_xmit.h"
|
||||
#include "rtw_recv.h"
|
||||
#include "hal_intf.h"
|
||||
#include "hal_com.h"
|
||||
#include "rtw_security.h"
|
||||
#include "rtw_pwrctrl.h"
|
||||
#include "rtw_io.h"
|
||||
#include "rtw_eeprom.h"
|
||||
#include "sta_info.h"
|
||||
#include "rtw_mlme.h"
|
||||
#include "rtw_debug.h"
|
||||
#include "rtw_rf.h"
|
||||
#include "rtw_event.h"
|
||||
#include "rtw_led.h"
|
||||
#include "rtw_mlme_ext.h"
|
||||
#include "rtw_p2p.h"
|
||||
#include "rtw_ap.h"
|
||||
#include "rtw_mp.h"
|
||||
#include "rtw_br_ext.h"
|
||||
|
||||
#define DRIVERVERSION "v4.1.4_6773.20130222"
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef __HAL_INTF_H__
|
||||
#define __HAL_INTF_H__
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <Hal8188EPhyCfg.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "Hal8188EPhyCfg.h"
|
||||
|
||||
enum RTL871X_HCI_TYPE {
|
||||
RTW_PCIE = BIT0,
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __IEEE80211_H
|
||||
#define __IEEE80211_H
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "wifi.h"
|
||||
#include <linux/wireless.h>
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __IEEE80211_EXT_H
|
||||
#define __IEEE80211_EXT_H
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define WMM_OUI_TYPE 2
|
||||
#define WMM_OUI_SUBTYPE_INFORMATION_ELEMENT 0
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __MLME_OSDEP_H_
|
||||
#define __MLME_OSDEP_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
void rtw_init_mlme_timer(struct adapter *padapter);
|
||||
void rtw_os_indicate_disconnect(struct adapter *adapter);
|
||||
|
||||
@@ -10,9 +10,9 @@
|
||||
|
||||
/* 2 Config Flags and Structs - defined by each ODM Type */
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <hal_intf.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "hal_intf.h"
|
||||
|
||||
/* 2 OutSrc Header Files */
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ enum RT_SPINLOCK_TYPE {
|
||||
RT_TEMP = 1,
|
||||
};
|
||||
|
||||
#include <basic_types.h>
|
||||
#include "basic_types.h"
|
||||
|
||||
#define DEV_BUS_TYPE RT_USB_INTERFACE
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __OSDEP_INTF_H_
|
||||
#define __OSDEP_INTF_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
struct intf_priv {
|
||||
u8 *intf_dev;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#define __OSDEP_SERVICE_H_
|
||||
|
||||
#include <linux/sched/signal.h>
|
||||
#include <basic_types.h>
|
||||
#include "basic_types.h"
|
||||
|
||||
#define _FAIL 0
|
||||
#define _SUCCESS 1
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RECV_OSDEP_H_
|
||||
#define __RECV_OSDEP_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter);
|
||||
void _rtw_free_recv_priv(struct recv_priv *precvpriv);
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTL8188E_LED_H__
|
||||
#define __RTL8188E_LED_H__
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
/* */
|
||||
/* Interface to manipulate LED objects. */
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef _RTL8188E_SRESET_H_
|
||||
#define _RTL8188E_SRESET_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <rtw_sreset.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "rtw_sreset.h"
|
||||
|
||||
void rtl8188e_silentreset_for_specific_platform(struct adapter *padapter);
|
||||
void rtl8188e_sreset_xmit_status_check(struct adapter *padapter);
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_AP_H_
|
||||
#define __RTW_AP_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#ifdef CONFIG_88EU_AP_MODE
|
||||
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
#ifndef __RTW_CMD_H_
|
||||
#define __RTW_CMD_H_
|
||||
|
||||
#include <wlan_bssdef.h>
|
||||
#include <rtw_rf.h>
|
||||
#include <rtw_led.h>
|
||||
#include "wlan_bssdef.h"
|
||||
#include "rtw_rf.h"
|
||||
#include "rtw_led.h"
|
||||
|
||||
#define C2H_MEM_SZ (16*1024)
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <ieee80211.h> /* <ieee80211/ieee80211.h> */
|
||||
#include "osdep_service.h"
|
||||
#include "ieee80211.h" /* <ieee80211/ieee80211.h> */
|
||||
|
||||
#define FREE_CMDOBJ_SZ 128
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_DEBUG_H__
|
||||
#define __RTW_DEBUG_H__
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define _drv_always_ 1
|
||||
#define _drv_emerg_ 2
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_EEPROM_H__
|
||||
#define __RTW_EEPROM_H__
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define RTL8712_EEPROM_ID 0x8712
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef __RTW_EFUSE_H__
|
||||
#define __RTW_EFUSE_H__
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include "osdep_service.h"
|
||||
|
||||
#define EFUSE_ERROE_HANDLE 1
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef _RTW_EVENT_H_
|
||||
#define _RTW_EVENT_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include "osdep_service.h"
|
||||
|
||||
#include <wlan_bssdef.h>
|
||||
#include "wlan_bssdef.h"
|
||||
#include <linux/semaphore.h>
|
||||
#include <linux/sem.h>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef _RTW_HT_H_
|
||||
#define _RTW_HT_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include "osdep_service.h"
|
||||
#include "wifi.h"
|
||||
|
||||
struct ht_priv {
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_IO_H_
|
||||
#define _RTW_IO_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <osdep_intf.h>
|
||||
#include "osdep_service.h"
|
||||
#include "osdep_intf.h"
|
||||
|
||||
#include <asm/byteorder.h>
|
||||
#include <linux/semaphore.h>
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_IOCTL_H_
|
||||
#define _RTW_IOCTL_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#ifndef OID_802_11_CAPABILITY
|
||||
#define OID_802_11_CAPABILITY 0x0d010122
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_IOCTL_RTL_H_
|
||||
#define _RTW_IOCTL_RTL_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
/* oid_rtl_seg_01_01 ************** */
|
||||
int oid_rt_get_signal_quality_hdl(struct oid_par_priv *poid_par_priv);/* 84 */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef __RTW_IOCTL_SET_H_
|
||||
#define __RTW_IOCTL_SET_H_
|
||||
|
||||
#include <drv_types.h>
|
||||
#include "drv_types.h"
|
||||
|
||||
typedef u8 NDIS_802_11_PMKID_VALUE[16];
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_IOL_H_
|
||||
#define __RTW_IOL_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define IOREG_CMD_END_LEN 4
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_LED_H_
|
||||
#define __RTW_LED_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define MSECS(t) (HZ * ((t) / 1000) + (HZ * ((t) % 1000)) / 1000)
|
||||
|
||||
|
||||
@@ -4,10 +4,10 @@
|
||||
#ifndef __RTW_MLME_H_
|
||||
#define __RTW_MLME_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include <drv_types.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include "osdep_service.h"
|
||||
#include "mlme_osdep.h"
|
||||
#include "drv_types.h"
|
||||
#include "wlan_bssdef.h"
|
||||
|
||||
#define MAX_BSS_CNT 128
|
||||
#define MAX_JOIN_TIMEOUT 6500
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef __RTW_MLME_EXT_H_
|
||||
#define __RTW_MLME_EXT_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "wlan_bssdef.h"
|
||||
|
||||
/* Commented by Albert 20101105 */
|
||||
/* Increase the SURVEY_TO value from 100 to 150 ( 100ms to 150ms ) */
|
||||
|
||||
@@ -125,7 +125,7 @@ struct mp_tx {
|
||||
void *PktTxThread;
|
||||
};
|
||||
|
||||
#include <Hal8188EPhyCfg.h>
|
||||
#include "Hal8188EPhyCfg.h"
|
||||
|
||||
#define MP_MAX_LINES 1000
|
||||
#define MP_MAX_LINES_BYTES 256
|
||||
|
||||
@@ -4,12 +4,12 @@
|
||||
#ifndef _RTW_MP_IOCTL_H_
|
||||
#define _RTW_MP_IOCTL_H_
|
||||
|
||||
#include <drv_types.h>
|
||||
#include <mp_custom_oid.h>
|
||||
#include <rtw_ioctl.h>
|
||||
#include <rtw_ioctl_rtl.h>
|
||||
#include <rtw_efuse.h>
|
||||
#include <rtw_mp.h>
|
||||
#include "drv_types.h"
|
||||
#include "mp_custom_oid.h"
|
||||
#include "rtw_ioctl.h"
|
||||
#include "rtw_ioctl_rtl.h"
|
||||
#include "rtw_efuse.h"
|
||||
#include "rtw_mp.h"
|
||||
|
||||
/* */
|
||||
struct cfg_dbg_msg_struct {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef __RTW_P2P_H_
|
||||
#define __RTW_P2P_H_
|
||||
|
||||
#include <drv_types.h>
|
||||
#include "drv_types.h"
|
||||
|
||||
u32 build_beacon_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
u32 build_probe_resp_p2p_ie(struct wifidirect_info *pwdinfo, u8 *pbuf);
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_PWRCTRL_H_
|
||||
#define __RTW_PWRCTRL_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define FW_PWR0 0
|
||||
#define FW_PWR1 1
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_RECV_H_
|
||||
#define _RTW_RECV_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define NR_RECVFRAME 256
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#ifndef __RTW_RF_H_
|
||||
#define __RTW_RF_H_
|
||||
|
||||
#include <rtw_cmd.h>
|
||||
#include "rtw_cmd.h"
|
||||
|
||||
#define OFDM_PHY 1
|
||||
#define MIXED_PHY 2
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __RTW_SECURITY_H_
|
||||
#define __RTW_SECURITY_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define _NO_PRIVACY_ 0x0
|
||||
#define _WEP40_ 0x1
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_SRESET_C_
|
||||
#define _RTW_SRESET_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
struct sreset_priv {
|
||||
struct mutex silentreset_mutex;
|
||||
@@ -15,7 +15,7 @@ struct sreset_priv {
|
||||
unsigned long last_tx_complete_time;
|
||||
};
|
||||
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "rtl8188e_hal.h"
|
||||
|
||||
#define WIFI_STATUS_SUCCESS 0
|
||||
#define USB_VEN_REQ_CMD_FAIL BIT0
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef _RTW_XMIT_H_
|
||||
#define _RTW_XMIT_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
#define MAX_XMITBUF_SZ (20480) /* 20k */
|
||||
#define NR_XMITBUFF (4)
|
||||
@@ -362,6 +362,6 @@ int rtw_ack_tx_wait(struct xmit_priv *pxmitpriv, u32 timeout_ms);
|
||||
void rtw_ack_tx_done(struct xmit_priv *pxmitpriv, int status);
|
||||
|
||||
/* include after declaring struct xmit_buf, in order to avoid warning */
|
||||
#include <xmit_osdep.h>
|
||||
#include "xmit_osdep.h"
|
||||
|
||||
#endif /* _RTL871X_XMIT_H_ */
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef __STA_INFO_H_
|
||||
#define __STA_INFO_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wifi.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "wifi.h"
|
||||
|
||||
#define IBSS_START_MAC_ID 2
|
||||
#define NUM_STA 32
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef __USB_OPS_H_
|
||||
#define __USB_OPS_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <osdep_intf.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "osdep_intf.h"
|
||||
|
||||
#define REALTEK_USB_VENQT_READ 0xC0
|
||||
#define REALTEK_USB_VENQT_WRITE 0x40
|
||||
@@ -21,7 +21,7 @@ enum {
|
||||
#define MAX_VENDOR_REQ_CMD_SIZE 254 /* 8188cu SIE Support */
|
||||
#define MAX_USB_IO_CTL_SIZE (MAX_VENDOR_REQ_CMD_SIZE + ALIGNMENT_UNIT)
|
||||
|
||||
#include <usb_ops_linux.h>
|
||||
#include "usb_ops_linux.h"
|
||||
|
||||
void rtl8188eu_set_hw_type(struct adapter *padapter);
|
||||
#define hal_set_hw_type rtl8188eu_set_hw_type
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
#ifndef __USB_OSINTF_H
|
||||
#define __USB_OSINTF_H
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <usb_vendor_req.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
#include "usb_vendor_req.h"
|
||||
|
||||
extern char *rtw_initmac;
|
||||
extern int rtw_mc2u_disable;
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
#ifndef __XMIT_OSDEP_H_
|
||||
#define __XMIT_OSDEP_H_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "osdep_service.h"
|
||||
#include "drv_types.h"
|
||||
|
||||
struct pkt_file {
|
||||
struct sk_buff *pkt;
|
||||
|
||||
@@ -3,21 +3,21 @@
|
||||
|
||||
#define _IOCTL_LINUX_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <wlan_bssdef.h>
|
||||
#include <rtw_debug.h>
|
||||
#include <wifi.h>
|
||||
#include <rtw_mlme.h>
|
||||
#include <rtw_mlme_ext.h>
|
||||
#include <rtw_ioctl.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include <rtw_mp_ioctl.h>
|
||||
#include <usb_ops.h>
|
||||
#include <rtl8188e_hal.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/wlan_bssdef.h"
|
||||
#include "../include/rtw_debug.h"
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/rtw_mlme.h"
|
||||
#include "../include/rtw_mlme_ext.h"
|
||||
#include "../include/rtw_ioctl.h"
|
||||
#include "../include/rtw_ioctl_set.h"
|
||||
#include "../include/rtw_mp_ioctl.h"
|
||||
#include "../include/usb_ops.h"
|
||||
#include "../include/rtl8188e_hal.h"
|
||||
|
||||
#include <rtw_mp.h>
|
||||
#include <rtw_iol.h>
|
||||
#include "../include/rtw_mp.h"
|
||||
#include "../include/rtw_iol.h"
|
||||
|
||||
#define RTL_IOCTL_WPA_SUPPLICANT (SIOCIWFIRSTPRIV + 30)
|
||||
|
||||
@@ -5587,7 +5587,7 @@ static int rtw_hostapd_ioctl(struct net_device *dev, struct iw_point *p)
|
||||
}
|
||||
#endif
|
||||
|
||||
#include <rtw_android.h>
|
||||
#include "../include/rtw_android.h"
|
||||
static int rtw_wx_set_priv(struct net_device *dev,
|
||||
struct iw_request_info *info,
|
||||
union iwreq_data *awrq,
|
||||
@@ -8132,7 +8132,7 @@ static int rtw_ioctl_wext_private(struct net_device *dev, union iwreq_data *wrq_
|
||||
return err;
|
||||
}
|
||||
|
||||
#include <rtw_android.h>
|
||||
#include "../include/rtw_android.h"
|
||||
int rtw_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
|
||||
{
|
||||
struct iwreq *wrq = (struct iwreq *)rq;
|
||||
|
||||
@@ -3,9 +3,9 @@
|
||||
|
||||
#define _MLME_OSDEP_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <mlme_osdep.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/mlme_osdep.h"
|
||||
|
||||
void rtw_join_timeout_handler (struct timer_list *t)
|
||||
{
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
#define _OS_INTFS_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <xmit_osdep.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <hal_intf.h>
|
||||
#include <rtw_ioctl.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/xmit_osdep.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/hal_intf.h"
|
||||
#include "../include/rtw_ioctl.h"
|
||||
|
||||
#include <usb_osintf.h>
|
||||
#include <rtw_br_ext.h>
|
||||
#include "../include/usb_osintf.h"
|
||||
#include "../include/rtw_br_ext.h"
|
||||
#include <linux/version.h>
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
|
||||
#define _OSDEP_SERVICE_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include <recv_osdep.h>
|
||||
#include <linux/vmalloc.h>
|
||||
#include <rtw_ioctl_set.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
#include "../include/linux/vmalloc.h"
|
||||
#include "../include/rtw_ioctl_set.h"
|
||||
|
||||
/*
|
||||
* Translate the OS dependent @param error_code to OS independent RTW_STATUS_CODE
|
||||
|
||||
@@ -3,15 +3,15 @@
|
||||
|
||||
#define _RECV_OSDEP_C_
|
||||
|
||||
#include <osdep_service.h>
|
||||
#include <drv_types.h>
|
||||
#include "../include/osdep_service.h"
|
||||
#include "../include/drv_types.h"
|
||||
|
||||
#include <wifi.h>
|
||||
#include <recv_osdep.h>
|
||||
#include "../include/wifi.h"
|
||||
#include "../include/recv_osdep.h"
|
||||
|
||||
#include <osdep_intf.h>
|
||||
#include <ethernet.h>
|
||||
#include <usb_ops.h>
|
||||
#include "../include/osdep_intf.h"
|
||||
#include "../include/ethernet.h"
|
||||
#include "../include/usb_ops.h"
|
||||
|
||||
/* init os related resource in struct recv_priv */
|
||||
int rtw_os_recv_resource_init(struct recv_priv *precvpriv,
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user