#include <asm/io.h>\r
#endif\r
\r
+#ifdef CONFIG_NET_RADIO\r
+ #define CONFIG_WIRELESS_EXT\r
+#endif\r
+\r
/* Monitor mode */\r
#include <net/ieee80211_radiotap.h>\r
-\r
+ #include <linux/ieee80211.h>\r
#ifdef CONFIG_IOCTL_CFG80211 \r
/* #include <linux/ieee80211.h> */\r
#include <net/cfg80211.h>\r
\r
#ifdef CONFIG_EFUSE_CONFIG_FILE\r
#include <linux/fs.h>\r
-#endif //CONFIG_EFUSE_CONFIG_FILE\r
+#endif\r
\r
#ifdef CONFIG_USB_HCI\r
#include <linux/usb.h>\r
#endif\r
#endif\r
\r
+#ifdef CONFIG_BT_COEXIST_SOCKET_TRX\r
+ #include <net/sock.h>\r
+ #include <net/tcp.h>\r
+ #include <linux/udp.h>\r
+ #include <linux/in.h>\r
+ #include <linux/netlink.h>\r
+#endif //CONFIG_BT_COEXIST_SOCKET_TRX\r
+\r
#ifdef CONFIG_USB_HCI\r
typedef struct urb * PURB;\r
#if (LINUX_VERSION_CODE>=KERNEL_VERSION(2,6,22))\r
__inline static void _cancel_timer(_timer *ptimer,u8 *bcancelled)\r
{\r
del_timer_sync(ptimer); \r
- *bcancelled= _TRUE;//TRUE ==1; FALSE==0\r
+ *bcancelled = 1;\r
}\r
\r
\r
-__inline static void _init_workitem(_workitem *pwork, void *pfunc, PVOID cntx)\r
+static inline void _init_workitem(_workitem *pwork, void *pfunc, void *cntx)\r
{\r
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20))\r
INIT_WORK(pwork, pfunc);\r
#endif\r
}\r
\r
-static inline void rtw_merge_string(char *dst, int dst_len, char *src1, char *src2)\r
+static inline void rtw_merge_string(char *dst, int dst_len, const char *src1, const char *src2)\r
{\r
int len = 0;\r
len += snprintf(dst+len, dst_len - len, "%s", src1);\r