Problem driver Asus USB-AC53 Nano RTL8812BU - EW-7822UNC

Hi,
i cant seem to figure out how to manually install a driver for my Asus USB-AC53 Nano wireless network card on a Raspberry Pi 2 with OSMC
(the driver for RTL8812BU isn’t standard included it seems, tho RTL8811AU etc is)

I found this guide https://edimax.freshdesk.com/support/solutions/articles/14000062079-how-to-install-ew-7822ulc-adapter-on-raspberry-pi (step 4 is a bit different for OSMC) but i keep on getting an error with step 7 “make” , it’s saying that the file “socket.h” is missing

(I can't get a report of this error anymore after trying this below)

I found this topic https://discourse.osmc.tv/t/has-anybody-tried-to-install-wireguard/73506/28 saying that OSMC does something weird with headers, solution would be to remove a folder and copy them from the kernel.org
When i did this, it seems to go a bit further but still lots of errors and now it says it’s missing the file “logic_pio.h”

root@osmc:/home/osmc/rtl8822bu# make
make ARCH="arm" CROSS_COMPILE="" -C /lib/modules/4.19.122-2-osmc/build M="/home/                                                                                                                                                             osmc/rtl8822bu" modules
make[1]: Entering directory '/usr/src/rbp2-headers-4.19.122-2-osmc'
  CC [M]  /home/osmc/rtl8822bu/core/rtw_cmd.o
In file included from ./include/asm-generic/bitops/lock.h:5,
                 from ./arch/arm/include/asm/bitops.h:243,
                 from ./include/linux/bitops.h:19,
                 from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:9,
                 from /home/osmc/rtl8822bu/include/basic_types.h:76,
                 from /home/osmc/rtl8822bu/include/drv_types.h:26,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/linux/atomic.h: In function 'atomic_add_unless':
./include/linux/atomic.h:533:9: error: implicit declaration of function '__atomi                                                                                                                                                             c_add_unless'; did you mean 'atomic_add_unless'? [-Werror=implicit-function-decl                                                                                                                                                             aration]
  return __atomic_add_unless(v, a, u) != u;
         ^~~~~~~~~~~~~~~~~~~
         atomic_add_unless
In file included from ./include/linux/atomic.h:1076,
                 from ./include/asm-generic/bitops/lock.h:5,
                 from ./arch/arm/include/asm/bitops.h:243,
                 from ./include/linux/bitops.h:19,
                 from ./include/linux/kernel.h:11,
                 from ./include/linux/list.h:9,
                 from ./include/linux/module.h:9,
                 from /home/osmc/rtl8822bu/include/basic_types.h:76,
                 from /home/osmc/rtl8822bu/include/drv_types.h:26,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/asm-generic/atomic-long.h: In function 'atomic_long_inc':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_inc'; did you mean 'atomic_and'? [-Werror=implicit-function-declarati                                                                                                                                                             on]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:123:2: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  ATOMIC_LONG_PFX(_inc)(v);
  ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_dec':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_dec'; did you mean 'atomic_set'? [-Werror=implicit-function-declarati                                                                                                                                                             on]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:130:2: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  ATOMIC_LONG_PFX(_dec)(v);
  ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_sub_and_test':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_sub_and_test'; did you mean 'atomic_long_sub_and_test'? [-Werror=impl                                                                                                                                                             icit-function-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:211:9: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  return ATOMIC_LONG_PFX(_sub_and_test)(i, v);
         ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_dec_and_test':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_dec_and_test'; did you mean 'atomic_long_dec_and_test'? [-Werror=impl                                                                                                                                                             icit-function-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:218:9: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  return ATOMIC_LONG_PFX(_dec_and_test)(v);
         ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_inc_and_test':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_inc_and_test'; did you mean 'atomic_long_inc_and_test'? [-Werror=impl                                                                                                                                                             icit-function-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:225:9: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  return ATOMIC_LONG_PFX(_inc_and_test)(v);
         ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_add_negative':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_add_negative'; did you mean 'atomic_long_add_negative'? [-Werror=impl                                                                                                                                                             icit-function-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:232:9: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_PFX'
  return ATOMIC_LONG_PFX(_add_negative)(i, v);
         ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_inc_return':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_inc_return'; did you mean 'atomic_sub_return'? [-Werror=implicit-func                                                                                                                                                             tion-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:241:15: note: in expansion of macro 'ATOMIC_                                                                                                                                                             LONG_PFX'
  return (long)ATOMIC_LONG_PFX(_##op##_return##mo)(v);  \
               ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h:243:1: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_INC_DEC_OP'
 ATOMIC_LONG_INC_DEC_OP(inc,)
 ^~~~~~~~~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h: In function 'atomic_long_dec_return':
./include/asm-generic/atomic-long.h:35:28: error: implicit declaration of functi                                                                                                                                                             on 'atomic_dec_return'; did you mean 'atomic_sub_return'? [-Werror=implicit-func                                                                                                                                                             tion-declaration]
 #define ATOMIC_LONG_PFX(x) atomic ## x
                            ^~~~~~
./include/asm-generic/atomic-long.h:241:15: note: in expansion of macro 'ATOMIC_                                                                                                                                                             LONG_PFX'
  return (long)ATOMIC_LONG_PFX(_##op##_return##mo)(v);  \
               ^~~~~~~~~~~~~~~
./include/asm-generic/atomic-long.h:247:1: note: in expansion of macro 'ATOMIC_L                                                                                                                                                             ONG_INC_DEC_OP'
 ATOMIC_LONG_INC_DEC_OP(dec,)
 ^~~~~~~~~~~~~~~~~~~~~~
In file included from ./arch/arm/include/asm/page.h:163,
                 from ./arch/arm/include/asm/thread_info.h:17,
                 from ./include/linux/thread_info.h:39,
                 from ./include/asm-generic/preempt.h:5,
                 from ./arch/arm/include/generated/asm/preempt.h:1,
                 from ./include/linux/preempt.h:81,
                 from ./include/linux/spinlock.h:51,
                 from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:10,
                 from /home/osmc/rtl8822bu/include/basic_types.h:76,
                 from /home/osmc/rtl8822bu/include/drv_types.h:26,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./arch/arm/include/asm/memory.h: At top level:
./arch/arm/include/asm/memory.h:34:21: warning: "UL" is not defined, evaluates t                                                                                                                                                             o 0 [-Wundef]
 #define TASK_SIZE  (UL(CONFIG_PAGE_OFFSET) - UL(SZ_16M))
                     ^~
./arch/arm/include/asm/memory.h:53:5: note: in expansion of macro 'TASK_SIZE'
 #if TASK_SIZE > MODULES_VADDR
     ^~~~~~~~~
./arch/arm/include/asm/memory.h:34:23: error: missing binary operator before tok                                                                                                                                                             en "("
 #define TASK_SIZE  (UL(CONFIG_PAGE_OFFSET) - UL(SZ_16M))
                       ^
./arch/arm/include/asm/memory.h:53:5: note: in expansion of macro 'TASK_SIZE'
 #if TASK_SIZE > MODULES_VADDR
     ^~~~~~~~~
In file included from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:10,
                 from /home/osmc/rtl8822bu/include/basic_types.h:76,
                 from /home/osmc/rtl8822bu/include/drv_types.h:26,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/linux/spinlock.h: In function 'do_raw_spin_lock_flags':
./include/linux/spinlock.h:173:2: error: implicit declaration of function 'arch_                                                                                                                                                             spin_lock_flags'; did you mean 'do_raw_spin_lock_flags'? [-Werror=implicit-funct                                                                                                                                                             ion-declaration]
  arch_spin_lock_flags(&lock->raw_lock, *flags);
  ^~~~~~~~~~~~~~~~~~~~
  do_raw_spin_lock_flags
In file included from ./include/linux/spinlock.h:289,
                 from ./include/linux/seqlock.h:36,
                 from ./include/linux/time.h:6,
                 from ./include/linux/stat.h:19,
                 from ./include/linux/module.h:10,
                 from /home/osmc/rtl8822bu/include/basic_types.h:76,
                 from /home/osmc/rtl8822bu/include/drv_types.h:26,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/linux/rwlock_api_smp.h: In function '__raw_read_lock_irqsave':
./include/linux/rwlock.h:43:24: error: implicit declaration of function 'arch_re                                                                                                                                                             ad_lock_flags'; did you mean 'do_raw_read_lock_flags'? [-Werror=implicit-functio                                                                                                                                                             n-declaration]
   do {__acquire(lock); arch_read_lock_flags(&(lock)->raw_lock, *(flags)); } whi                                                                                                                                                             le (0)
                        ^~~~~~~~~~~~~~~~~~~~
./include/linux/lockdep.h:656:2: note: in expansion of macro 'do_raw_read_lock_f                                                                                                                                                             lags'
  lockfl((_lock), (flags))
  ^~~~~~
./include/linux/rwlock_api_smp.h:160:2: note: in expansion of macro 'LOCK_CONTEN                                                                                                                                                             DED_FLAGS'
  LOCK_CONTENDED_FLAGS(lock, do_raw_read_trylock, do_raw_read_lock,
  ^~~~~~~~~~~~~~~~~~~~
./include/linux/rwlock_api_smp.h: In function '__raw_write_lock_irqsave':
./include/linux/rwlock.h:48:24: error: implicit declaration of function 'arch_wr                                                                                                                                                             ite_lock_flags'; did you mean 'do_raw_write_lock_flags'? [-Werror=implicit-funct                                                                                                                                                             ion-declaration]
   do {__acquire(lock); arch_write_lock_flags(&(lock)->raw_lock, *(flags)); } wh                                                                                                                                                             ile (0)
                        ^~~~~~~~~~~~~~~~~~~~~
./include/linux/lockdep.h:656:2: note: in expansion of macro 'do_raw_write_lock_                                                                                                                                                             flags'
  lockfl((_lock), (flags))
  ^~~~~~
./include/linux/rwlock_api_smp.h:187:2: note: in expansion of macro 'LOCK_CONTEN                                                                                                                                                             DED_FLAGS'
  LOCK_CONTENDED_FLAGS(lock, do_raw_write_trylock, do_raw_write_lock,
  ^~~~~~~~~~~~~~~~~~~~
In file included from ./include/linux/delay.h:26,
                 from ./include/linux/netdevice.h:30,
                 from /home/osmc/rtl8822bu/include/osdep_service_linux.h:30,
                 from /home/osmc/rtl8822bu/include/osdep_service.h:50,
                 from /home/osmc/rtl8822bu/include/drv_types.h:27,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/linux/delay.h: In function 'ndelay':
./arch/arm/include/asm/delay.h:41:21: error: implicit declaration of function 'U                                                                                                                                                             L' [-Werror=implicit-function-declaration]
 #define UDELAY_MULT UL(2147 * HZ + 483648 * HZ / 1000000)
                     ^~
./arch/arm/include/asm/delay.h:80:54: note: in definition of macro '__const_udel                                                                                                                                                             ay'
 #define __const_udelay(n) arm_delay_ops.const_udelay(n)
                                                      ^
./arch/arm/include/asm/delay.h:85:25: note: in expansion of macro 'UDELAY_MULT'
    __const_udelay((n) * UDELAY_MULT)) :  \
                         ^~~~~~~~~~~
./include/linux/delay.h:51:2: note: in expansion of macro 'udelay'
  udelay(DIV_ROUND_UP(x, 1000));
  ^~~~~~
In file included from ./arch/arm/include/asm/io.h:460,
                 from ./include/linux/scatterlist.h:9,
                 from ./include/linux/dma-mapping.h:11,
                 from ./include/linux/skbuff.h:34,
                 from ./include/linux/if_ether.h:23,
                 from ./include/uapi/linux/ethtool.h:19,
                 from ./include/linux/ethtool.h:18,
                 from ./include/linux/netdevice.h:41,
                 from /home/osmc/rtl8822bu/include/osdep_service_linux.h:30,
                 from /home/osmc/rtl8822bu/include/osdep_service.h:50,
                 from /home/osmc/rtl8822bu/include/drv_types.h:27,
                 from /home/osmc/rtl8822bu/core/rtw_cmd.c:17:
./include/asm-generic/io.h: At top level:
./include/asm-generic/io.h:458:10: fatal error: linux/logic_pio.h: No such file                                                                                                                                                              or directory
 #include <linux/logic_pio.h>
          ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
compilation terminated.
make[2]: *** [scripts/Makefile.build:304: /home/osmc/rtl8822bu/core/rtw_cmd.o] E                                                                                                                                                             rror 1
make[1]: *** [Makefile:1522: _module_/home/osmc/rtl8822bu] Error 2
make[1]: Leaving directory '/usr/src/rbp2-headers-4.19.122-2-osmc'
make: *** [Makefile:2001: modules] Error 2

With DKMS im getting the same errors in the make.log file.

A solution would be great, thx!
Kind regards

It works for me.

osmc@osmc:~/rtl8822bu$ make
make ARCH="arm" CROSS_COMPILE="" -C /lib/modules/4.19.122-2-osmc/build M="/home/osmc/rtl8822bu" modules
make[1]: Entering directory '/usr/src/rbp2-headers-4.19.122-2-osmc'
  CC [M]  /home/osmc/rtl8822bu/core/rtw_cmd.o
  CC [M]  /home/osmc/rtl8822bu/core/rtw_security.o
  CC [M]  /home/osmc/rtl8822bu/core/rtw_debug.o
  CC [M]  /home/osmc/rtl8822bu/core/rtw_io.o
<snip>
  CC [M]  /home/osmc/rtl8822bu/platform/platform_ops.o
  CC [M]  /home/osmc/rtl8822bu/core/rtw_mp.o
  LD [M]  /home/osmc/rtl8822bu/88x2bu.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/osmc/rtl8822bu/88x2bu.mod.o
  LD [M]  /home/osmc/rtl8822bu/88x2bu.ko
make[1]: Leaving directory '/usr/src/rbp2-headers-4.19.122-2-osmc'
osmc@osmc:~/rtl8822bu$ modinfo ./88x2bu.ko 
filename:       /home/osmc/rtl8822bu/./88x2bu.ko
version:        v5.3.1_27678.20180430_COEX20180427-5959
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     899C0FDB930B2B0B0C119BE
alias:          usb:v13B1p0043d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v20F4p808Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0025d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p012Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0115d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p331Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1841d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p184Cd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pB822d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDApB812d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pC822d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v7392pB822d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB812d*dc*dsc*dp*icFFiscFFipFFin*
alias:          usb:v0BDApB82Cd*dc*dsc*dp*icFFiscFFipFFin*
depends:        cfg80211
name:           88x2bu
vermagic:       4.19.122-2-osmc SMP preempt mod_unload modversions ARMv7 p2v8 
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_level:The default LPS level (int)
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_dynamic_agg_enable:int
parm:           rtw_drv_log_level:set log level when insert driver module, default log level is _DRV_INFO_ = 4 (uint)
parm:           rtw_tx_bw_mode:The max tx bw for 2.4G and 5G. format is the same as rtw_bw_mode (uint)
parm:           rtw_rx_ampdu_sz_limit_1ss:RX AMPDU size limit for 1SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_2ss:RX AMPDU size limit for 2SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_3ss:RX AMPDU size limit for 3SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_rx_ampdu_sz_limit_4ss:RX AMPDU size limit for 4SS link of each BW, 0xFF: no limitation (array of uint)
parm:           rtw_vht_enable:int
parm:           rtw_vht_rx_mcs_map:VHT RX MCS map (uint)
parm:           rtw_rf_config:int
parm:           rtw_country_code:The default country code (in alpha2) (charp)
parm:           rtw_channel_plan:The default chplan ID when rtw_alpha2 is not specified or valid (int)
parm:           rtw_excl_chs:exclusive channel array (array of uint)
parm:           rtw_btcoex_enable:BT co-existence on/off, 0:off, 1:on, 2:by efuse (int)
parm:           rtw_ant_num:Antenna number setting, 0:by efuse (int)
parm:           rtw_qos_opt_enable:int
parm:           ifname:The default name to allocate for first interface (charp)
parm:           if2name:The default name to allocate for second interface (charp)
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
parm:           rtw_special_rf_path:int
parm:           rtw_chip_version:int
parm:           rtw_rfintfs:int
parm:           rtw_lbkmode:int
parm:           rtw_network_mode:int
parm:           rtw_channel:int
parm:           rtw_mp_mode:int
parm:           rtw_wmm_enable:int
parm:           rtw_vrtl_carrier_sense:int
parm:           rtw_vcs_type:int
parm:           rtw_busy_thresh:int
parm:           rtw_ht_enable:int
parm:           rtw_bw_mode:int
parm:           rtw_ampdu_enable:int
parm:           rtw_rx_stbc:int
parm:           rtw_rx_ampdu_amsdu:int
parm:           rtw_tx_ampdu_amsdu:int
parm:           rtw_beamform_cap:int
parm:           rtw_lowrate_two_xmit:int
parm:           rtw_power_mgnt:int
parm:           rtw_smart_ps:int
parm:           rtw_low_power:int
parm:           rtw_wifi_spec:int
parm:           rtw_full_ch_in_p2p_handshake:int
parm:           rtw_antdiv_cfg:int
parm:           rtw_antdiv_type:int
parm:           rtw_drv_ant_band_switch:int
parm:           rtw_single_ant_path:int
parm:           rtw_switch_usb_mode:int
parm:           rtw_enusbss:int
parm:           rtw_hwpdn_mode:int
parm:           rtw_hwpwrp_detect:int
parm:           rtw_hw_wps_pbc:int
parm:           rtw_check_hw_status:int
parm:           rtw_max_roaming_times:The max roaming times to try (uint)
parm:           rtw_mc2u_disable:int
parm:           rtw_advnace_ota:int
parm:           rtw_notch_filter:0:Disable, 1:Enable, 2:Enable only for P2P (uint)
parm:           rtw_hiq_filter:0:allow all, 1:allow special, 2:deny all (uint)
parm:           rtw_adaptivity_en:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_mode:0:normal, 1:carrier sense (uint)
parm:           rtw_adaptivity_dml:0:disable, 1:enable (uint)
parm:           rtw_adaptivity_dc_backoff:DC backoff for Adaptivity (uint)
parm:           rtw_adaptivity_th_l2h_ini:th_l2h_ini for Adaptivity (int)
parm:           rtw_adaptivity_th_edcca_hl_diff:th_edcca_hl_diff for Adaptivity (int)
parm:           rtw_amplifier_type_2g:BIT3:2G ext-PA, BIT4:2G ext-LNA (uint)
parm:           rtw_amplifier_type_5g:BIT6:5G ext-PA, BIT7:5G ext-LNA (uint)
parm:           rtw_RFE_type:default init value:64 (uint)
parm:           rtw_powertracking_type:default init value:64 (uint)
parm:           rtw_GLNA_type:default init value:0 (uint)
parm:           rtw_TxBBSwing_2G:default init value:0xFF (uint)
parm:           rtw_TxBBSwing_5G:default init value:0xFF (uint)
parm:           rtw_OffEfuseMask:default open Efuse Mask value:0 (uint)
parm:           rtw_FileMaskEfuse:default drv Mask Efuse value:0 (uint)
parm:           rtw_rxgain_offset_2g:default RF Gain 2G Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gl:default RF Gain 5GL Offset value:0 (uint)
parm:           rtw_rxgain_offset_5gh:uint
parm:           rtw_rxgain_offset_5gm:default RF Gain 5GM Offset value:0 (uint)
parm:           rtw_pll_ref_clk_sel:force pll_ref_clk_sel, 0xF:use autoload value (uint)
parm:           rtw_tx_pwr_by_rate:0:Disable, 1:Enable, 2: Depend on efuse (int)
parm:           rtw_target_tx_pwr_2g_a:2.4G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_b:2.4G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_c:2.4G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_2g_d:2.4G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_a:5G target tx power (unit:dBm) of RF path A for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_b:5G target tx power (unit:dBm) of RF path B for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_c:5G target tx power (unit:dBm) of RF path C for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_target_tx_pwr_5g_d:5G target tx power (unit:dBm) of RF path D for each rate section, should match the real calibrate power, -1: undefined (array of int)
parm:           rtw_phy_file_path:The path of phy parameter (charp)
parm:           rtw_load_phy_file:PHY File Bit Map (int)
parm:           rtw_decrypt_phy_file:Enable Decrypt PHY File (int)
parm:           rtw_dynamic_soml_en:0: disable, 1: enable with default param, 2: enable with specified param. (int)
parm:           rtw_dynamic_soml_train_num:SOML training number (int)
parm:           rtw_dynamic_soml_interval:SOML training interval (int)
parm:           rtw_dynamic_soml_period:SOML training period (int)
parm:           rtw_dynamic_soml_delay:SOML training delay (int)
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int

I’m not sure what’s wrong at your end but you linked to the Wireguard thread, when we were on kernel version 4.14.78-4. We’re now on kernel version 4.19.122-2, so did you use the 4.19.122 kernel.org code?

1 Like

No, i used the 4.14.234 one because 4.19.192 seemed like a newer number than osmc is at.
Ill try this one.

The workaround, but with the headers from 4.19.192 , now works! Thanks

1 Like