Compare commits

...

13 Commits

Author SHA1 Message Date
Ferdinand Keller 579e13d675
Merge a352e7f8b8 into 63cf0b4584 2024-04-23 10:29:49 +05:30
Christian Bremvåg 63cf0b4584
Merge pull request #1149 from alium/v5.6.4.2
Update ioctl_cfg80211.c
2024-04-09 07:04:54 +02:00
alium 860ccf3165
Update ioctl_cfg80211.c - support for kernel 6.9
support for kernel 6.9
2024-03-30 09:50:44 +01:00
Christian Bremvåg 4f645eec17
Merge pull request #1147 from heitbaum/patch-2
Update Makefile to error on incompatible-pointer-types
2024-03-23 08:33:00 +01:00
Rudi Heitbaum 123e373f88
Update Makefile to error on incompatible-pointer-types 2024-03-16 10:33:16 +11:00
Christian Bremvåg f23979f0d2
Update Makefile 2024-03-16 00:01:23 +01:00
Christian Bremvåg 98895e9f2e
Merge pull request #1134 from crivasr/v5.6.4.2
Fix change_beacon for kernel 6.7
2024-03-15 23:59:04 +01:00
Christian Bremvåg 6b6f1347dc
Update Makefile 2024-03-15 23:58:46 +01:00
Christian Bremvåg 135756af13
Merge pull request #1145 from alium/v5.6.4.2
Update for kernel 6.8
2024-03-15 23:11:21 +01:00
alium 88d0f5ca85
Update usb_intf.c for kernel 6.8 2024-03-12 07:14:38 +01:00
alium d3feb6ae93
Update os_intfs.c for kernel 6.8 2024-03-12 07:11:35 +01:00
CamiKaseM7 c0d16813f5 Fix change_beacon for kernel 6.7 2024-01-16 03:44:34 -03:00
Ferdinand Keller a352e7f8b8
Add doc for proxmox build instructions 2023-03-28 21:07:28 +00:00
5 changed files with 23 additions and 4 deletions

View File

@ -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

View File

@ -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)
```

View File

@ -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 = &params->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);

View File

@ -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.");

View File

@ -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,