juanro49 / rtl88x2ce-dkms Goto Github PK
View Code? Open in Web Editor NEWRealtek RTL8822CE WLAN GNU/Linux Driver in dkms format
Realtek RTL8822CE WLAN GNU/Linux Driver in dkms format
When i use 'sudo dkms add -m rtl88x2ce' to add the module i get an error that said module>and module-version are not specified.
It throws error while building:
Building module:
Cleaning build area...
'make' -j6 KVER=6.5.3-arch1-1 KSRC=/lib/modules/6.5.3-arch1-1/build USER_EXTRA_CFLAGS+=-DCONFIG_CONCURRENT_MODE......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.3-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl88x2ce/35403/build/make.log for more information.
Sign command: /usr/lib/modules/6.5.3-arch1-1/build/scripts/sign-file
Signing key: /var/lib/dkms/mok.key
Public certificate (MOK): /var/lib/dkms/mok.pub
Building module:
Cleaning build area...
'make' -j6 KVER=6.5.3-arch1-1 KSRC=/lib/modules/6.5.3-arch1-1/build USER_EXTRA_CFLAGS+=-DCONFIG_CONCURRENT_MODE......(bad exit status: 2)
Error! Bad return status for module build on kernel: 6.5.3-arch1-1 (x86_64)
Consult /var/lib/dkms/rtl88x2ce/35403/build/make.log for more information.
Logs:
DKMS make.log for rtl88x2ce-35403 for kernel 6.5.3-arch1-1 (x86_64)
jue 14 sep 2023 21:56:32 CEST
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/6.5.3-arch1-1/build M=/var/lib/dkms/rtl88x2ce/35403/build modules
make[1]: se entra en el directorio '/usr/lib/modules/6.5.3-arch1-1/build'
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_wlan_util.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c: En la función ‘rtw_drv_scan_by_self’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c:3139:17: aviso: this ‘else’ clause does not guard... [-Wmisleading-indentation]
3139 | else
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c:3142:25: nota: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
3142 | goto exit;
| ^~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_vht.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c: En la función ‘rtw_txpwr_init_regd’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:260:20: aviso: esta sentencia puede fracasar [-Wimplicit-fallthrough=]
260 | if (rfctl->regd_name)
| ^
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:262:9: nota: aquí
262 | default:
| ^~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c: En la función ‘mgt_dispatcher’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:1345:38: aviso: esta sentencia puede fracasar [-Wimplicit-fallthrough=]
1345 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:1347:9: nota: aquí
1347 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c: En la función ‘rtw_txpwr_init_regd’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:197:21: aviso: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
197 | if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_NONE)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:62,
desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_rf.h:177:14: nota: source object ‘regd_name’ of size 0
177 | char regd_name[0];
| ^~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:199:26: aviso: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
199 | else if (strcmp(exc->regd_name, regd_str(TXPWR_LMT_WW)) == 0)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_rf.h:177:14: nota: source object ‘regd_name’ of size 0
177 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_chplan.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sta_mgt.o
En el fichero incluido desde ./include/linux/kernel.h:30,
desde ./arch/x86/include/asm/percpu.h:27,
desde ./arch/x86/include/asm/nospec-branch.h:14,
desde ./arch/x86/include/asm/paravirt_types.h:27,
desde ./arch/x86/include/asm/ptrace.h:97,
desde ./arch/x86/include/asm/math_emu.h:5,
desde ./arch/x86/include/asm/processor.h:13,
desde ./arch/x86/include/asm/timex.h:5,
desde ./include/linux/timex.h:67,
desde ./include/linux/time32.h:13,
desde ./include/linux/time.h:60,
desde ./include/linux/stat.h:19,
desde ./include/linux/module.h:13,
desde /var/lib/dkms/rtl88x2ce/35403/build/include/basic_types.h:76,
desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:26,
desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c: En la función ‘dump_txpwr_lmt’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:901:67: aviso: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
901 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./include/linux/printk.h:427:33: nota: en definición de macro ‘printk_index_wrap’
427 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:85:26: nota: en expansión de macro ‘printk’
85 | #define _dbgdump printk
| ^~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:233:25: nota: en expansión de macro ‘_RTW_PRINT’
233 | _RTW_PRINT(fmt, ##arg); \
| ^~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:900:57: nota: en expansión de macro ‘_RTW_PRINT_SEL’
900 | _RTW_PRINT_SEL(sel, "%3c "
| ^~~~~~~~~~~~~~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:18:
/var/lib/dkms/rtl88x2ce/35403/build/include/hal_data.h:357:14: nota: source object ‘regd_name’ of size 0
357 | char regd_name[0];
| ^~~~~~~~~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:60:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:901:67: aviso: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
901 | , strcmp(ent->regd_name, rfctl->regd_name) == 0 ? rf_path_char(path) : ' ');
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:235:46: nota: en definición de macro ‘_RTW_PRINT_SEL’
235 | _seqdump(sel, fmt, ##arg) /*rtw_warn_on(1)*/; \
| ^~~
/var/lib/dkms/rtl88x2ce/35403/build/include/hal_data.h:357:14: nota: source object ‘regd_name’ of size 0
357 | char regd_name[0];
| ^~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c: En la función ‘_rtw_txpwr_lmt_get_by_name’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.c:1143:21: aviso: ‘strcmp’ reading 1 or more bytes from a region of size 0 [-Wstringop-overread]
1143 | if (strcmp(ent->regd_name, regd_name) == 0) {
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/include/hal_data.h:357:14: nota: source object ‘regd_name’ of size 0
357 | char regd_name[0];
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_p2p.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sta_mgt.c: En la función ‘rtw_mfree_stainfo’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sta_mgt.c:384:25: aviso: the comparison will always evaluate as ‘true’ for the address of ‘lock’ will never be NULL [-Waddress]
384 | if (&psta->lock != NULL)
| ^~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:103,
desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sta_mgt.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/sta_info.h:263:17: nota: ‘lock’ se declara aquí
263 | _lock lock;
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c: En la función ‘validate_mp_recv_frame’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:3558:25: aviso: this ‘for’ clause does not guard... [-Wmisleading-indentation]
3558 | for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
| ^~~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:60,
desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:137:9: nota: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
137 | do {\
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:3561:33: nota: en expansión de macro ‘RTW_INFO’
3561 | RTW_INFO("#############################\n");
| ^~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_tdls.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.c: En la función ‘rtw_ap_update_chbw_by_ifbmp’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.c:4401:42: aviso: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4401 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:1073:19: nota: ‘padapters’ se declara aquí
1073 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.c:4421:42: aviso: the comparison will always evaluate as ‘true’ for the address of ‘padapters’ will never be NULL [-Waddress]
4421 | if (!(ifbmp & BIT(i)) || !dvobj->padapters)
| ^
/var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:1073:19: nota: ‘padapters’ se declara aquí
1073 | _adapter *padapters[CONFIG_IFACE_NUMBER];/*IFACE_ID_MAX*/
| ^~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/pci_intf.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/pci_ops_linux.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.c: En la función ‘isFileReadable’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.c:2203:15: aviso: elementos extra al final de la directiva #endif [-Wendif-labels]
2203 | #endif;
| ^
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.o
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c: En la función ‘rtw_efuse_analyze’:
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:901:17: aviso: this ‘if’ clause does not guard... [-Wmisleading-indentation]
901 | if (i % 16 == 0)
| ^~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:60,
desde /var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:231:9: nota: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
231 | do {\
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:903:25: nota: en expansión de macro ‘_RTW_PRINT_SEL’
903 | _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
| ^~~~~~~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/mlme_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_cfgvendor.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c: En la función ‘rtw_priv_mp_get’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c:10214:26: aviso: esta sentencia puede fracasar [-Wimplicit-fallthrough=]
10214 | status = rtw_mp_dpk(dev, info, wdata, extra);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c:10215:9: nota: aquí
10215 | default:
| ^~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_proc.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: En la función ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:443:9: error: faltan argumentos para la función ‘cfg80211_ch_switch_notify’
443 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/osdep_service_linux.h:93,
desde /var/lib/dkms/rtl88x2ce/35403/build/include/osdep_service.h:50,
desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:27,
desde /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8575:6: nota: se declara aquí
8575 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: En la función ‘rtw_cfg80211_external_auth_status’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:9833:35: aviso: the comparison will always evaluate as ‘true’ for the address of ‘pmkid’ will never be NULL [-Waddress]
9833 | if (params->pmkid != NULL) {
| ^~
En el fichero incluido desde /var/lib/dkms/rtl88x2ce/35403/build/include/osdep_intf.h:105,
desde /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:101:
/var/lib/dkms/rtl88x2ce/35403/build/include/../os_dep/linux/ioctl_cfg80211.h:211:12: nota: ‘pmkid’ se declara aquí
211 | u8 pmkid[PMKID_LEN];
| ^~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: En la función ‘cfg80211_rtw_change_iface’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2418:24: aviso: esta sentencia puede fracasar [-Wimplicit-fallthrough=]
2418 | is_p2p = _TRUE;
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2420:9: nota: aquí
2420 | case NL80211_IFTYPE_STATION:
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2442:24: aviso: esta sentencia puede fracasar [-Wimplicit-fallthrough=]
2442 | is_p2p = _TRUE;
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2444:9: nota: aquí
2444 | case NL80211_IFTYPE_AP:
| ^~~~
make[3]: *** [scripts/Makefile.build:243: /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[3]: *** Se espera a que terminen otras tareas....
make[2]: *** [/usr/lib/modules/6.5.3-arch1-1/build/Makefile:2032: /var/lib/dkms/rtl88x2ce/35403/build] Error 2
make[1]: *** [Makefile:234: __sub-make] Error 2
make[1]: se sale del directorio '/usr/lib/modules/6.5.3-arch1-1/build'
make: *** [Makefile:2296: modules] Error 2
There seems to be a bug common to all RTL* sources that prevents the driver from working with access points that support 802.11b rates.
There's a fix for a similar driver:
I just tried patching it in by hand and it solves the issue, so that's good!
This is problem with dkms on debian, but to get it building I needed to force the ARCH variable by running the build command as:
sudo ARCH=arm64 dkms build -m rtl88x2ce -v 35403
Three Werrors were failing the build as well: -Werror-implict-fallthrough, -Werror-endif-labels, -Werror-vla, so added those to Makefile:
EXTRA_CFLAGS += -Wno-implicit-fallthrough
EXTRA_CFLAGS += -Wno-endif-labels
EXTRA_CFLAGS += -Wno-vla
Also needed to edit os_dep/osdep_service.c to include the necessary kernel namespace:
}
+MODULE_IMPORT_NS(VFS_internal_I_am_really_a_filesystem_and_am_NOT_a_driver);
static int readFile(struct file *fp, char *buf, int len)
{
int rlen = 0, sum = 0;
Kernel version was:
Linux rock-3a 5.10.160-12-rk356x #fd78925da SMP Tue Aug 29 11:45:05 UTC 2023 aarch64 GNU/Linux
Greetings!
dkms install
for kernel 6.10 fails with the following error:
/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c: In function 'rtw_cfg80211_ch_switch_notify':
/var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:443:9: error: too many arguments to function 'cfg80211_ch_switch_notify'
443 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef, 0, 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service_linux.h:93,
from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/osdep_service.h:50,
from /var/lib/dkms/rtl88x2ce/r48.488172d/build/include/drv_types.h:27,
from /var/lib/dkms/rtl88x2ce/r48.488172d/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:8827:6: note: declared here
8827 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
Could you please update this module so it can be built for kernel 6.10 as well?
Bluetooth device isn't detected using kernel 5.9
Hello, I'm trying to build in 5.19.0-32-generic but there are some errors in build:
DKMS make.log for rtl88x2ce-35403 for kernel 5.19.0-32-generic (x86_64)
sáb 18 feb 2023 01:31:15 CET
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.19.0-32-generic/build M=/var/lib/dkms/rtl88x2ce/35403/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.19.0-32-generic'
warning: the compiler differs from the one used to build the kernel
The kernel was built by: x86_64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
You are using: gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_cmd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_security.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_debug.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_io.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_query.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ioctl_set.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ieee80211.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c: In function ‘rtw_drv_scan_by_self’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c:3139:17: warning: this ‘else’ clause does not guard... [-Wmisleading-indentation]
3139 | else
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme.c:3142:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘else’
3142 | goto exit;
| ^~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mi.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_wlan_util.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_vht.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_pwrctrl.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rf.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_chplan.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c: In function ‘rtw_txpwr_init_regd’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:260:20: warning: this statement may fall through [-Wimplicit-fallthrough=]
260 | if (rfctl->regd_name)
| ^
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:262:9: note: here
262 | default:
| ^~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c: In function ‘mgt_dispatcher’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:1345:38: warning: this statement may fall through [-Wimplicit-fallthrough=]
1345 | ptable->func = &OnAuthClient;
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_mlme_ext.c:1347:9: note: here
1347 | case WIFI_ASSOCREQ:
| ^~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sta_mgt.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_ap.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh_pathtbl.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/mesh/rtw_mesh_hwmp.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_xmit.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_p2p.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rson.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_tdls.o
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c: In function ‘validate_mp_recv_frame’:
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:3558:25: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation]
3558 | for (i = 0; i < precv_frame->u.hdr.len; i = i + 8)
| ^~~
In file included from /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:60,
from /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:137:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘for’
137 | do {\
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/core/rtw_recv.c:3561:33: note: in expansion of macro ‘RTW_INFO’
3561 | RTW_INFO("#############################\n");
| ^~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_br_ext.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_iol.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_sreset.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_btcoex_wifionly.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_btcoex.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_beamforming.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_odm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/rtw_rm_fsm.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/os_intfs.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/pci_intf.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/pci_ops_linux.o
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c: In function ‘rtw_efuse_analyze’:
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:901:17: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
901 | if (i % 16 == 0)
| ^~
In file included from /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:60,
from /var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:17:
/var/lib/dkms/rtl88x2ce/35403/build/include/rtw_debug.h:231:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
231 | do {\
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/core/efuse/rtw_efuse.c:903:25: note: in expansion of macro ‘_RTW_PRINT_SEL’
903 | _RTW_PRINT_SEL(RTW_DBGDUMP, "%02X%s"
| ^~~~~~~~~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/xmit_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/mlme_linux.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.c: In function ‘isFileReadable’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/osdep_service.c:2203:15: warning: extra tokens at end of #endif directive [-Wendif-labels]
2203 | #endif;
| ^
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/recv_linux.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_cfgvendor.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/wifi_regd.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_android.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_proc.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c: In function ‘rtw_priv_mp_get’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c:10214:26: warning: this statement may fall through [-Wimplicit-fallthrough=]
10214 | status = rtw_mp_dpk(dev, info, wdata, extra);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_linux.c:10215:9: note: here
10215 | default:
| ^~~~~~~
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/rtw_rhashtable.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.o
CC [M] /var/lib/dkms/rtl88x2ce/35403/build/hal/hal_intf.o
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:442:9: error: too few arguments to function ‘cfg80211_ch_switch_notify’
442 | cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /var/lib/dkms/rtl88x2ce/35403/build/include/osdep_service_linux.h:93,
from /var/lib/dkms/rtl88x2ce/35403/build/include/osdep_service.h:50,
from /var/lib/dkms/rtl88x2ce/35403/build/include/drv_types.h:27,
from /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:17:
./include/net/cfg80211.h:7967:6: note: declared here
7967 | void cfg80211_ch_switch_notify(struct net_device *dev,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: At top level:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:9884:20: error: initialization of ‘int (*)(struct wiphy *, struct net_device *, unsigned int)’ from incompatible pointer type ‘int (*)(struct wiphy *, struct net_device *)’ [-Werror=incompatible-pointer-types]
9884 | .stop_ap = cfg80211_rtw_stop_ap,
| ^~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:9884:20: note: (near initialization for ‘rtw_cfg80211_ops.stop_ap’)
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_wdev_unregister’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:10160:17: error: ‘struct wireless_dev’ has no member named ‘current_bss’
10160 | if (wdev->current_bss) {
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c: In function ‘cfg80211_rtw_change_iface’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2393:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
2393 | is_p2p = _TRUE;
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2395:9: note: here
2395 | case NL80211_IFTYPE_STATION:
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2417:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
2417 | is_p2p = _TRUE;
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.c:2419:9: note: here
2419 | case NL80211_IFTYPE_AP:
| ^~~~
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:257: /var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_cfg80211.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_reg’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:45:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
45 | char input[wrqu->length + 1];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_reg’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:131:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
131 | char input[wrqu->length + 1];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_write_rf’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:265:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
265 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_read_rf’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:307:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
307 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_rate’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:424:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
424 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_channel’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:474:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
474 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ch_offset’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:502:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
502 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_bandwidth’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:529:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
529 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower_index’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:562:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
562 | char input[wrqu->length + 1];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_txpower’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:608:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
608 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_tx’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:646:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
646 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_ant_rx’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:700:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
700 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_disable_bt_coexist’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:911:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
911 | u8 input[wrqu->data.length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_arx’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:949:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
949 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_pwrtrk’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1134:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1134 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_psd’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1172:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1172 | u8 input[wrqu->length + 1];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_dump’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1325:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1325 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_phypara’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1349:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1349 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_SetRFPath’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1404:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1404 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_switch_rf_path’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1455:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1455 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_QueryDrv’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1504:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1504 | char input[wrqu->data.length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_PwrCtlDM’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:1533:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
1533 | u8 input[wrqu->length];
| ^~
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c: In function ‘rtw_mp_link’:
/var/lib/dkms/rtl88x2ce/35403/build/os_dep/linux/ioctl_mp.c:2608:9: warning: ISO C90 forbids variable length array ‘input’ [-Wvla]
2608 | char input[wrqu->length];
| ^~~~
/var/lib/dkms/rtl88x2ce/35403/build/hal/hal_intf.c: In function ‘c2h_handler’:
/var/lib/dkms/rtl88x2ce/35403/build/hal/hal_intf.c:1083:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
1083 | sub_id = payload[0];
| ~~~~~~~^~~~~~~~~~~~
/var/lib/dkms/rtl88x2ce/35403/build/hal/hal_intf.c:1086:9: note: here
1086 | default:
| ^~~~~~~
make[1]: *** [Makefile:1850: /var/lib/dkms/rtl88x2ce/35403/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.19.0-32-generic'
make: *** [Makefile:2296: modules] Error 2
Please, any help on how to build this driver?
os: deepin 20
linux-kernel:4.19
cpu:amd
dmesg:
rtl88x2ce 0000:01:00.0: Event logged [IO_PAGE_FAULT domain=0x0000 address=0x00000000ff2db000 flags=0x0000]
hi. latest debian 12
6.1.0-15-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.66-1 (2023-12-09) x86_64 GNU/Linux
when module starts then all system stucks. blacklisting from cli + phisical reboot from button only helps
didn't wrote or debugged any module before, where can i start to find the metter?
First off, thank you. This driver is a lifesaver!
It appears that the deb in the apt repo still doesn't include 5.8 fix. Please consider updating it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.