Update ioctl_linux.c(Support Linux Kernel 7.0(RC-1)

This commit is contained in:
Arch User
2026-03-02 05:54:23 +03:00
committed by GitHub
parent d53a23daeb
commit e3e894ed58

View File

@@ -14,6 +14,8 @@
*****************************************************************************/
#define _IOCTL_LINUX_C_
#include <net/mac80211.h>
#include <drv_types.h>
#include <rtw_mp.h>
#include <rtw_mp_ioctl.h>
@@ -22,6 +24,10 @@
#include "../../hal/hal_halmac.h"
#endif
#ifdef __KERNEL__
extern int mac_pton(const char *s, u8 *addr);
#endif
#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_point(a, b, c, d, e) iwe_stream_add_point(b, c, d, e)