mirror of
https://github.com/Mange/rtl8192eu-linux-driver
synced 2026-04-05 08:59:35 +00:00
Update ioctl_linux.c(Support Linux Kernel 7.0(RC-1)
This commit is contained in:
@@ -14,6 +14,8 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
#define _IOCTL_LINUX_C_
|
#define _IOCTL_LINUX_C_
|
||||||
|
|
||||||
|
|
||||||
|
#include <net/mac80211.h>
|
||||||
#include <drv_types.h>
|
#include <drv_types.h>
|
||||||
#include <rtw_mp.h>
|
#include <rtw_mp.h>
|
||||||
#include <rtw_mp_ioctl.h>
|
#include <rtw_mp_ioctl.h>
|
||||||
@@ -22,6 +24,10 @@
|
|||||||
#include "../../hal/hal_halmac.h"
|
#include "../../hal/hal_halmac.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __KERNEL__
|
||||||
|
extern int mac_pton(const char *s, u8 *addr);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27))
|
#if (LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 27))
|
||||||
#define iwe_stream_add_event(a, b, c, d, e) iwe_stream_add_event(b, c, d, e)
|
#define iwe_stream_add_event(a, b, c, d, e) iwe_stream_add_event(b, c, d, e)
|
||||||
#define iwe_stream_add_point(a, b, c, d, e) iwe_stream_add_point(b, c, d, e)
|
#define iwe_stream_add_point(a, b, c, d, e) iwe_stream_add_point(b, c, d, e)
|
||||||
|
|||||||
Reference in New Issue
Block a user