mirror of https://github.com/aircrack-ng/rtl8812au
Compare commits
13 Commits
5eab3744fc
...
579e13d675
Author | SHA1 | Date |
---|---|---|
Ferdinand Keller | 579e13d675 | |
Christian Bremvåg | 63cf0b4584 | |
alium | 860ccf3165 | |
Christian Bremvåg | 4f645eec17 | |
Rudi Heitbaum | 123e373f88 | |
Christian Bremvåg | f23979f0d2 | |
Christian Bremvåg | 98895e9f2e | |
Christian Bremvåg | 6b6f1347dc | |
Christian Bremvåg | 135756af13 | |
alium | 88d0f5ca85 | |
alium | d3feb6ae93 | |
CamiKaseM7 | c0d16813f5 | |
Ferdinand Keller | a352e7f8b8 |
4
Makefile
4
Makefile
|
@ -7,9 +7,11 @@ EXTRA_CFLAGS += -Wno-unused-label
|
|||
EXTRA_CFLAGS += -Wno-unused-function
|
||||
EXTRA_CFLAGS += -Wno-implicit-fallthrough
|
||||
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-parentheses-equality
|
||||
EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
|
||||
#EXTRA_CFLAGS += -Wno-error=incompatible-pointer-types
|
||||
EXTRA_CFLAGS += -Wno-stringop-overread
|
||||
#EXTRA_CFLAGS += -Wno-pointer-bool-conversion
|
||||
EXTRA_CFLAGS += -Wno-unknown-pragmas
|
||||
|
|
|
@ -98,6 +98,12 @@ Package / Build dependencies (Kali)
|
|||
$ sudo apt-get update
|
||||
$ sudo apt-get install bc mokutil build-essential libelf-dev linux-headers-`uname -r`
|
||||
```
|
||||
#### For Proxmox Virtual Environment (PVE)
|
||||
Package / Build dependencies
|
||||
```
|
||||
$ sudo apt-get update
|
||||
$ sudo apt-get install bc mokutil build-essential libelf-dev pve-headers-`uname -r`
|
||||
```
|
||||
#### For Raspberry (RPI)
|
||||
|
||||
```
|
||||
|
|
|
@ -460,7 +460,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset,
|
|||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 19, 0))
|
||||
if (started) {
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0))
|
||||
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false, 0);
|
||||
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 1, 0))
|
||||
cfg80211_ch_switch_started_notify(adapter->pnetdev, &chdef, 0, 0, false);
|
||||
|
@ -476,7 +476,7 @@ u8 rtw_cfg80211_ch_switch_notify(_adapter *adapter, u8 ch, u8 bw, u8 offset,
|
|||
if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
|
||||
goto exit;
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0))
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 3, 0)) && (LINUX_VERSION_CODE < KERNEL_VERSION(6, 9, 0))
|
||||
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
|
||||
#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 19, 2))
|
||||
cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
|
||||
|
@ -5283,9 +5283,16 @@ exit:
|
|||
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,
|
||||
struct cfg80211_beacon_data *info)
|
||||
{
|
||||
#endif
|
||||
int ret = 0;
|
||||
_adapter *adapter = (_adapter *)rtw_netdev_priv(ndev);
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
#include <drv_types.h>
|
||||
#include <hal_data.h>
|
||||
|
||||
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(6, 8, 0))
|
||||
#define strlcpy strscpy
|
||||
#endif
|
||||
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_DESCRIPTION("Realtek Wireless Lan Driver");
|
||||
MODULE_AUTHOR("Realtek Semiconductor Corp.");
|
||||
|
|
|
@ -270,7 +270,7 @@ struct rtw_usb_drv usb_drv = {
|
|||
.usbdrv.supports_autosuspend = 1,
|
||||
#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,
|
||||
#else
|
||||
.usbdrv.driver.shutdown = rtw_dev_shutdown,
|
||||
|
|
Loading…
Reference in New Issue