staging: r8188eu: fix include directory mess
Subsystems (2)
Greg Kroah-Hartman
maintainerPATCH 1/1 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 <[email protected]>
Signed-off-by Greg Kroah-Hartman <[email protected]>
--- drivers/staging/r8188eu/Makefile | 2 - drivers/staging/r8188eu/core/rtw_ap.c | 8 ++-- drivers/staging/r8188eu/core/rtw_br_ext.c | 32 ++++++------- drivers/staging/r8188eu/core/rtw_cmd.c | 14 +++--- drivers/staging/r8188eu/core/rtw_debug.c | 4 +- drivers/staging/r8188eu/core/rtw_efuse.c | 6 +-- drivers/staging/r8188eu/core/rtw_ieee80211.c | 12 ++--- drivers/staging/r8188eu/core/rtw_io.c | 10 ++-- drivers/staging/r8188eu/core/rtw_ioctl_set.c | 12 ++--- drivers/staging/r8188eu/core/rtw_iol.c | 2 +- drivers/staging/r8188eu/core/rtw_led.c | 4 +- drivers/staging/r8188eu/core/rtw_mlme.c | 22 ++++----- drivers/staging/r8188eu/core/rtw_mlme_ext.c | 14 +++--- drivers/staging/r8188eu/core/rtw_mp.c | 7 ++- drivers/staging/r8188eu/core/rtw_mp_ioctl.c | 10 ++-- drivers/staging/r8188eu/core/rtw_p2p.c | 6 +-- drivers/staging/r8188eu/core/rtw_pwrctrl.c | 8 ++-- drivers/staging/r8188eu/core/rtw_recv.c | 18 ++++---- drivers/staging/r8188eu/core/rtw_rf.c | 8 ++-- drivers/staging/r8188eu/core/rtw_security.c | 8 ++-- drivers/staging/r8188eu/core/rtw_sreset.c | 2 +- drivers/staging/r8188eu/core/rtw_sta_mgt.c | 12 ++--- drivers/staging/r8188eu/core/rtw_wlan_util.c | 6 +-- drivers/staging/r8188eu/core/rtw_xmit.c | 14 +++--- drivers/staging/r8188eu/hal/Hal8188EPwrSeq.c | 4 +- .../r8188eu/hal/Hal8188ERateAdaptive.c | 2 +- .../staging/r8188eu/hal/HalHWImg8188E_BB.c | 5 +- .../staging/r8188eu/hal/HalHWImg8188E_MAC.c | 4 +- .../staging/r8188eu/hal/HalHWImg8188E_RF.c | 5 +- drivers/staging/r8188eu/hal/HalPhyRf_8188e.c | 2 +- drivers/staging/r8188eu/hal/HalPwrSeqCmd.c | 2 +- drivers/staging/r8188eu/hal/hal_com.c | 10 ++-- drivers/staging/r8188eu/hal/hal_intf.c | 6 +-- drivers/staging/r8188eu/hal/odm.c | 2 +- drivers/staging/r8188eu/hal/odm_HWConfig.c | 2 +- drivers/staging/r8188eu/hal/odm_RTL8188E.c | 2 +- .../staging/r8188eu/hal/odm_RegConfig8188E.c | 2 +- drivers/staging/r8188eu/hal/odm_debug.c | 2 +- drivers/staging/r8188eu/hal/odm_interface.c | 2 +- drivers/staging/r8188eu/hal/rtl8188e_cmd.c | 16 +++---- drivers/staging/r8188eu/hal/rtl8188e_dm.c | 7 ++- .../staging/r8188eu/hal/rtl8188e_hal_init.c | 15 +++--- drivers/staging/r8188eu/hal/rtl8188e_mp.c | 8 ++-- drivers/staging/r8188eu/hal/rtl8188e_phycfg.c | 8 ++-- drivers/staging/r8188eu/hal/rtl8188e_rf6052.c | 7 ++- drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c | 6 +-- drivers/staging/r8188eu/hal/rtl8188e_sreset.c | 4 +- drivers/staging/r8188eu/hal/rtl8188e_xmit.c | 6 +-- drivers/staging/r8188eu/hal/rtl8188eu_led.c | 8 ++-- drivers/staging/r8188eu/hal/rtl8188eu_recv.c | 24 +++++----- drivers/staging/r8188eu/hal/rtl8188eu_xmit.c | 12 ++--- drivers/staging/r8188eu/hal/usb_halinit.c | 18 ++++---- drivers/staging/r8188eu/hal/usb_ops_linux.c | 12 ++--- .../staging/r8188eu/include/HalPwrSeqCmd.h | 2 +- drivers/staging/r8188eu/include/cmd_osdep.h | 4 +- drivers/staging/r8188eu/include/drv_types.h | 46 +++++++++---------- drivers/staging/r8188eu/include/hal_intf.h | 6 +-- drivers/staging/r8188eu/include/ieee80211.h | 4 +- .../staging/r8188eu/include/ieee80211_ext.h | 4 +- drivers/staging/r8188eu/include/mlme_osdep.h | 4 +- drivers/staging/r8188eu/include/odm_precomp.h | 6 +-- drivers/staging/r8188eu/include/odm_types.h | 2 +- drivers/staging/r8188eu/include/osdep_intf.h | 4 +- .../staging/r8188eu/include/osdep_service.h | 2 +- drivers/staging/r8188eu/include/recv_osdep.h | 4 +- .../staging/r8188eu/include/rtl8188e_led.h | 4 +- .../staging/r8188eu/include/rtl8188e_sreset.h | 6 +-- drivers/staging/r8188eu/include/rtw_ap.h | 4 +- drivers/staging/r8188eu/include/rtw_cmd.h | 10 ++-- drivers/staging/r8188eu/include/rtw_debug.h | 4 +- drivers/staging/r8188eu/include/rtw_eeprom.h | 4 +- drivers/staging/r8188eu/include/rtw_efuse.h | 2 +- drivers/staging/r8188eu/include/rtw_event.h | 4 +- drivers/staging/r8188eu/include/rtw_ht.h | 2 +- drivers/staging/r8188eu/include/rtw_io.h | 4 +- drivers/staging/r8188eu/include/rtw_ioctl.h | 4 +- .../staging/r8188eu/include/rtw_ioctl_rtl.h | 4 +- .../staging/r8188eu/include/rtw_ioctl_set.h | 2 +- drivers/staging/r8188eu/include/rtw_iol.h | 4 +- drivers/staging/r8188eu/include/rtw_led.h | 4 +- drivers/staging/r8188eu/include/rtw_mlme.h | 8 ++-- .../staging/r8188eu/include/rtw_mlme_ext.h | 6 +-- drivers/staging/r8188eu/include/rtw_mp.h | 2 +- .../staging/r8188eu/include/rtw_mp_ioctl.h | 12 ++--- drivers/staging/r8188eu/include/rtw_p2p.h | 2 +- drivers/staging/r8188eu/include/rtw_pwrctrl.h | 4 +- drivers/staging/r8188eu/include/rtw_recv.h | 4 +- drivers/staging/r8188eu/include/rtw_rf.h | 2 +- .../staging/r8188eu/include/rtw_security.h | 4 +- drivers/staging/r8188eu/include/rtw_sreset.h | 6 +-- drivers/staging/r8188eu/include/rtw_xmit.h | 6 +-- drivers/staging/r8188eu/include/sta_info.h | 6 +-- drivers/staging/r8188eu/include/usb_ops.h | 8 ++-- drivers/staging/r8188eu/include/usb_osintf.h | 6 +-- drivers/staging/r8188eu/include/xmit_osdep.h | 4 +- drivers/staging/r8188eu/os_dep/ioctl_linux.c | 34 +++++++------- drivers/staging/r8188eu/os_dep/mlme_linux.c | 6 +-- drivers/staging/r8188eu/os_dep/os_intfs.c | 18 ++++---- .../staging/r8188eu/os_dep/osdep_service.c | 10 ++-- drivers/staging/r8188eu/os_dep/recv_linux.c | 14 +++--- drivers/staging/r8188eu/os_dep/rtw_android.c | 11 ++--- drivers/staging/r8188eu/os_dep/usb_intf.c | 21 ++++----- .../staging/r8188eu/os_dep/usb_ops_linux.c | 6 +-- drivers/staging/r8188eu/os_dep/xmit_linux.c | 19 ++++---- 104 files changed, 399 insertions(+), 414 deletions(-)
drivers/staging/r8188eu/Makefile +0 -2
@@ -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
drivers/staging/r8188eu/core/rtw_ap.c +4 -4
@@ -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
drivers/staging/r8188eu/core/rtw_br_ext.c +16 -16
@@ -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 <drv_types.h> -#include "rtw_br_ext.h" -#include <usb_osintf.h> -#include <recv_osdep.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 "../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
drivers/staging/r8188eu/core/rtw_cmd.c +7 -7
@@ -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.
drivers/staging/r8188eu/core/rtw_debug.c +2 -2
@@ -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,
drivers/staging/r8188eu/core/rtw_efuse.c +3 -3
@@ -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;
drivers/staging/r8188eu/core/rtw_ieee80211.c +6 -6
@@ -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 ;
drivers/staging/r8188eu/core/rtw_io.c +5 -5
@@ -23,11 +23,11 @@ [email protected]*/ #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)
drivers/staging/r8188eu/core/rtw_ioctl_set.c +6 -6
@@ -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);
drivers/staging/r8188eu/core/rtw_iol.c +1 -1
@@ -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) {
drivers/staging/r8188eu/core/rtw_led.c +2 -2
@@ -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: */
drivers/staging/r8188eu/core/rtw_mlme.c +11 -11
@@ -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 ];
drivers/staging/r8188eu/core/rtw_mlme_ext.c +7 -7
@@ -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},
drivers/staging/r8188eu/core/rtw_mp.c +3 -4
@@ -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) {
drivers/staging/r8188eu/core/rtw_mp_ioctl.c +4 -6
@@ -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)
drivers/staging/r8188eu/core/rtw_p2p.c +3 -3
@@ -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
drivers/staging/r8188eu/core/rtw_pwrctrl.c +4 -4
@@ -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) {
drivers/staging/r8188eu/core/rtw_recv.c +9 -9
@@ -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 };
drivers/staging/r8188eu/core/rtw_rf.c +4 -4
@@ -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;
drivers/staging/r8188eu/core/rtw_security.c +4 -4
@@ -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 ===== */
drivers/staging/r8188eu/core/rtw_sreset.c +1 -1
@@ -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) {
drivers/staging/r8188eu/core/rtw_sta_mgt.c +6 -6
@@ -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) {
drivers/staging/r8188eu/core/rtw_wlan_util.c +3 -3
@@ -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 };
drivers/staging/r8188eu/core/rtw_xmit.c +7 -7
@@ -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 };
drivers/staging/r8188eu/hal/Hal8188EPwrSeq.c +2 -2
@@ -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
drivers/staging/r8188eu/hal/Hal8188ERateAdaptive.c +1 -1
@@ -12,7 +12,7 @@ Major Change History:2011-08-12 Page Create. --*/ -#include "odm_precomp.h" +#include "../include/odm_precomp.h" /* Rate adaptive parameters */
drivers/staging/r8188eu/hal/HalHWImg8188E_BB.c +2 -3
@@ -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 { \
drivers/staging/r8188eu/hal/HalHWImg8188E_MAC.c +2 -2
@@ -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) {
drivers/staging/r8188eu/hal/HalHWImg8188E_RF.c +2 -3
@@ -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) {
drivers/staging/r8188eu/hal/HalPhyRf_8188e.c +1 -1
@@ -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. */
drivers/staging/r8188eu/hal/HalPwrSeqCmd.c +1 -1
@@ -17,7 +17,7 @@ Major Change History:--*/ -#include <HalPwrSeqCmd.h> +#include "../include/HalPwrSeqCmd.h" /* Description: */ /* This routine deals with the Power Configuration CMDs parsing
drivers/staging/r8188eu/hal/hal_com.c +5 -5
@@ -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_
drivers/staging/r8188eu/hal/hal_intf.c +3 -3
@@ -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) {
drivers/staging/r8188eu/hal/odm.c +1 -1
@@ -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 },
drivers/staging/r8188eu/hal/odm_HWConfig.c +1 -1
@@ -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
drivers/staging/r8188eu/hal/odm_RTL8188E.c +1 -1
@@ -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) {
drivers/staging/r8188eu/hal/odm_RegConfig8188E.c +1 -1
@@ -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,
drivers/staging/r8188eu/hal/odm_debug.c +1 -1
@@ -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) {
drivers/staging/r8188eu/hal/odm_interface.c +1 -1
@@ -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)
drivers/staging/r8188eu/hal/rtl8188e_cmd.c +8 -8
@@ -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 <rtl8188e_hal.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 "../include/rtl8188e_hal.h" #define RTL88E_MAX_H2C_BOX_NUMS 4#define RTL88E_MAX_CMD_LEN 7
drivers/staging/r8188eu/hal/rtl8188e_dm.c +3 -4
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c +6 -9
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188e_mp.c +4 -4
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188e_phycfg.c +4 -4
@@ -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*/
drivers/staging/r8188eu/hal/rtl8188e_rf6052.c +3 -4
@@ -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!!!!! */
drivers/staging/r8188eu/hal/rtl8188e_rxdesc.c +3 -3
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188e_sreset.c +2 -2
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188e_xmit.c +3 -3
@@ -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) {
drivers/staging/r8188eu/hal/rtl8188eu_led.c +4 -4
@@ -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. */
drivers/staging/r8188eu/hal/rtl8188eu_recv.c +12 -12
@@ -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 <usb_ops.h> -#include <wifi.h> - -#include <rtl8188e_hal.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" + +#include "../include/rtl8188e_hal.h" void rtl8188eu_init_recvbuf (struct adapter *padapter,struct recv_buf *precvbuf) {
drivers/staging/r8188eu/hal/rtl8188eu_xmit.c +6 -6
@@ -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) {
drivers/staging/r8188eu/hal/usb_halinit.c +9 -9
@@ -3,15 +3,15 @@#define _HCI_HAL_INIT_C_ -#include <osdep_service.h> -#include <drv_types.h> -#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/osdep_service.h" +#include "../include/drv_types.h" +#include "../include/rtw_efuse.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
drivers/staging/r8188eu/hal/usb_ops_linux.c +6 -6
@@ -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) {
drivers/staging/r8188eu/include/HalPwrSeqCmd.h +1 -1
@@ -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 */
drivers/staging/r8188eu/include/cmd_osdep.h +2 -2
@@ -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);
drivers/staging/r8188eu/include/drv_types.h +23 -23
52 lines not on this page · raw message
drivers/staging/r8188eu/include/hal_intf.h +3 -3
@@ -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,
drivers/staging/r8188eu/include/ieee80211.h +2 -2
@@ -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>
drivers/staging/r8188eu/include/ieee80211_ext.h +2 -2
@@ -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
drivers/staging/r8188eu/include/mlme_osdep.h +2 -2
@@ -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);
drivers/staging/r8188eu/include/odm_precomp.h +3 -3
@@ -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 */
drivers/staging/r8188eu/include/odm_types.h +1 -1
@@ -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
drivers/staging/r8188eu/include/osdep_intf.h +2 -2
@@ -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;
drivers/staging/r8188eu/include/osdep_service.h +1 -1
@@ -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
drivers/staging/r8188eu/include/recv_osdep.h +2 -2
@@ -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);
drivers/staging/r8188eu/include/rtl8188e_led.h +2 -2
@@ -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. */
drivers/staging/r8188eu/include/rtl8188e_sreset.h +3 -3
@@ -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);
drivers/staging/r8188eu/include/rtw_ap.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_cmd.h +5 -5
@@ -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
drivers/staging/r8188eu/include/rtw_debug.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_eeprom.h +2 -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
drivers/staging/r8188eu/include/rtw_efuse.h +1 -1
@@ -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
drivers/staging/r8188eu/include/rtw_event.h +2 -2
@@ -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>
drivers/staging/r8188eu/include/rtw_ht.h +1 -1
@@ -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 {
drivers/staging/r8188eu/include/rtw_io.h +2 -2
@@ -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>
drivers/staging/r8188eu/include/rtw_ioctl.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_ioctl_rtl.h +2 -2
@@ -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 */
drivers/staging/r8188eu/include/rtw_ioctl_set.h +1 -1
@@ -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 ];
drivers/staging/r8188eu/include/rtw_iol.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_led.h +2 -2
@@ -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)
drivers/staging/r8188eu/include/rtw_mlme.h +4 -4
@@ -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
drivers/staging/r8188eu/include/rtw_mlme_ext.h +3 -3
@@ -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 ) */
drivers/staging/r8188eu/include/rtw_mp.h +1 -1
@@ -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
drivers/staging/r8188eu/include/rtw_mp_ioctl.h +6 -6
@@ -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 {
drivers/staging/r8188eu/include/rtw_p2p.h +1 -1
@@ -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);
drivers/staging/r8188eu/include/rtw_pwrctrl.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_recv.h +2 -2
@@ -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
drivers/staging/r8188eu/include/rtw_rf.h +1 -1
@@ -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
drivers/staging/r8188eu/include/rtw_security.h +2 -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
drivers/staging/r8188eu/include/rtw_sreset.h +3 -3
@@ -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
drivers/staging/r8188eu/include/rtw_xmit.h +3 -3
@@ -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_ */
drivers/staging/r8188eu/include/sta_info.h +3 -3
@@ -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
drivers/staging/r8188eu/include/usb_ops.h +4 -4
@@ -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
drivers/staging/r8188eu/include/usb_osintf.h +3 -3
@@ -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;
drivers/staging/r8188eu/include/xmit_osdep.h +2 -2
@@ -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;
drivers/staging/r8188eu/os_dep/ioctl_linux.c +17 -17
@@ -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 <rtw_mp.h> -#include <rtw_iol.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 "../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;
drivers/staging/r8188eu/os_dep/mlme_linux.c +3 -3
@@ -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) {
drivers/staging/r8188eu/os_dep/os_intfs.c +9 -9
@@ -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 <usb_osintf.h> -#include <rtw_br_ext.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 "../include/usb_osintf.h" +#include "../include/rtw_br_ext.h" #include <linux/version.h> MODULE_LICENSE ("GPL" );
drivers/staging/r8188eu/os_dep/osdep_service.c +5 -5
@@ -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
drivers/staging/r8188eu/os_dep/recv_linux.c +7 -7
@@ -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,
drivers/staging/r8188eu/os_dep/rtw_android.c +5 -6
@@ -4,12 +4,11 @@#include <linux/module.h> #include <linux/netdevice.h> #include <linux/version.h> - -#include <rtw_android.h> -#include <osdep_service.h> -#include <rtw_debug.h> -#include <ioctl_cfg80211.h> -#include <rtw_ioctl_set.h> +#include "../include/rtw_android.h" +#include "../include/osdep_service.h" +#include "../include/rtw_debug.h" +#include "../include/ioctl_cfg80211.h" +#include "../include/rtw_ioctl_set.h" static const char *android_wifi_cmd_str[ANDROID_WIFI_CMD_MAX ] = {"START" ,
drivers/staging/r8188eu/os_dep/usb_intf.c +10 -11
@@ -3,18 +3,17 @@#define _HCI_INTF_C_ -#include <osdep_service.h> -#include <drv_types.h> -#include <recv_osdep.h> -#include <xmit_osdep.h> -#include <hal_intf.h> #include <linux/usb.h> -#include <osdep_intf.h> - -#include <usb_vendor_req.h> -#include <usb_ops.h> -#include <usb_osintf.h> -#include <rtw_ioctl.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/osdep_intf.h" +#include "../include/usb_vendor_req.h" +#include "../include/usb_ops.h" +#include "../include/usb_osintf.h" +#include "../include/rtw_ioctl.h" int ui_pid[3 ] = {0 ,0 ,0 };
drivers/staging/r8188eu/os_dep/usb_ops_linux.c +3 -3
@@ -3,9 +3,9 @@#define _USB_OPS_LINUX_C_ -#include <drv_types.h> -#include <usb_ops_linux.h> -#include <rtw_sreset.h> +#include "../include/drv_types.h" +#include "../include/usb_ops_linux.h" +#include "../include/rtw_sreset.h" unsigned int ffaddr2pipehdl (struct dvobj_priv *pdvobj,u32 addr) {
drivers/staging/r8188eu/os_dep/xmit_linux.c +9 -10
@@ -4,16 +4,15 @@#define _XMIT_OSDEP_C_#include <linux/version.h> -#include <osdep_service.h> -#include <drv_types.h> - -#include <if_ether.h> -#include <ip.h> -#include <wifi.h> -#include <mlme_osdep.h> -#include <xmit_osdep.h> -#include <osdep_intf.h> -#include <usb_osintf.h> +#include "../include/osdep_service.h" +#include "../include/drv_types.h" +#include "../include/if_ether.h" +#include "../include/ip.h" +#include "../include/wifi.h" +#include "../include/mlme_osdep.h" +#include "../include/xmit_osdep.h" +#include "../include/osdep_intf.h" +#include "../include/usb_osintf.h" uint rtw_remainder_len (struct pkt_file *pfile) {
Signature · 1 line
2.32.0