mirror of
https://github.com/aircrack-ng/rtl8812au.git
synced 2024-11-22 13:24:36 +00:00
Compare commits
7 Commits
a3e0c0b6d5
...
f23979f0d2
Author | SHA1 | Date | |
---|---|---|---|
|
f23979f0d2 | ||
|
98895e9f2e | ||
|
6b6f1347dc | ||
|
135756af13 | ||
|
88d0f5ca85 | ||
|
d3feb6ae93 | ||
|
c0d16813f5 |
2
Makefile
2
Makefile
@ -7,6 +7,8 @@ EXTRA_CFLAGS += -Wno-unused-label
|
|||||||
EXTRA_CFLAGS += -Wno-unused-function
|
EXTRA_CFLAGS += -Wno-unused-function
|
||||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||||
EXTRA_CFLAGS += -Wno-cast-function-type
|
EXTRA_CFLAGS += -Wno-cast-function-type
|
||||||
|
EXTRA_CFLAGS += -Wno-missing-declarations
|
||||||
|
EXTRA_CFLAGS += -Wno-missing-prototypes
|
||||||
#EXTRA_CFLAGS += -Wno-error=cast-function-type
|
#EXTRA_CFLAGS += -Wno-error=cast-function-type
|
||||||
#EXTRA_CFLAGS += -Wno-parentheses-equality
|
#EXTRA_CFLAGS += -Wno-parentheses-equality
|
||||||
EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
|
EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
|
||||||
|
@ -5283,9 +5283,16 @@ exit:
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 7, 0))
|
||||||
|
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
||||||
|
struct cfg80211_ap_update *params)
|
||||||
|
{
|
||||||
|
struct cfg80211_beacon_data *info = ¶ms->beacon;
|
||||||
|
#else
|
||||||
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
static int cfg80211_rtw_change_beacon(struct wiphy *wiphy, struct net_device *ndev,
|
||||||
struct cfg80211_beacon_data *info)
|
struct cfg80211_beacon_data *info)
|
||||||
{
|
{
|
||||||
|
#endif
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
|
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
|
||||||
|
|
||||||
|
@ -17,6 +17,10 @@
|
|||||||
#include <drv_types.h>
|
#include <drv_types.h>
|
||||||
#include <hal_data.h>
|
#include <hal_data.h>
|
||||||
|
|
||||||
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
|
||||||
|
#define strlcpy strscpy
|
||||||
|
#endif
|
||||||
|
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
||||||
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
||||||
|
@ -270,7 +270,7 @@ struct rtw_usb_drv usb_drv = {
|
|||||||
.usbdrv.supports_autosuspend = 1,
|
.usbdrv.supports_autosuspend = 1,
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19))
|
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 19)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 8, 0))
|
||||||
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
.usbdrv.drvwrap.driver.shutdown = rtw_dev_shutdown,
|
||||||
#else
|
#else
|
||||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||||
|
Loading…
Reference in New Issue
Block a user