Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid module format, exec format error #91

Open
boeboe opened this issue Feb 2, 2022 · 0 comments
Open

Invalid module format, exec format error #91

boeboe opened this issue Feb 2, 2022 · 0 comments

Comments

@boeboe
Copy link

boeboe commented Feb 2, 2022

System:

I am using a NUC 11, type NUC11PAKi7 with TP-Link Archer T9UH - USB WiFi-adapter

#:~/Downloads/rtl8814au$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 20.04.3 LTS
Release:	20.04
Codename:	focal

#:~/Downloads/rtl8814au$ uname -r
5.13.0-1008-intel

Compilation:

I needed to apply the following fix to get it properly compiled.

#:~/Downloads/rtl8814au$ make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.13.0-1008-intel/build M=/home/boeboe/Downloads/rtl8814au  modules
make[1]: Entering directory '/usr/src/linux-headers-5.13.0-1008-intel'
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_cmd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_security.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_debug.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_io.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_ioctl_query.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_ioctl_set.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_ieee80211.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_mlme.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_mlme_ext.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_mi.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_wlan_util.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_vht.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_pwrctrl.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_rf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_chplan.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_recv.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_sta_mgt.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_ap.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/mesh/rtw_mesh.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/mesh/rtw_mesh_pathtbl.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/mesh/rtw_mesh_hwmp.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_xmit.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_p2p.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_rson.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_tdls.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_br_ext.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_iol.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_sreset.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_btcoex_wifionly.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_btcoex.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_beamforming.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_odm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_rm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_rm_fsm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_rm_util.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/efuse/rtw_efuse.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/osdep_service.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/os_intfs.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/usb_intf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/usb_ops_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/xmit_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/mlme_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/recv_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_cfg80211.o
/home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_cfg80211.c: In function ‘rtw_cfg80211_ch_switch_notify’:
/home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_cfg80211.c:472:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
472 |     if (!rtw_cfg80211_allow_ch_switch_notify(adapter))
    |     ^~
/home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_cfg80211.c:474:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
474 |   cfg80211_ch_switch_notify(adapter->pnetdev, &chdef);
    |   ^~~~~~~~~~~~~~~~~~~~~~~~~
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/rtw_cfgvendor.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/wifi_regd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/rtw_android.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/rtw_proc.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/rtw_rhashtable.o
CC [M]  /home/boeboe/Downloads/rtl8814au/os_dep/linux/ioctl_mp.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_intf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_com.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_com_phycfg.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_phy.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_dm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_dm_acs.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_btcoex_wifionly.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_btcoex.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_mp.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_mcc.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/hal_hci/hal_usb.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/led/hal_led.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/led/hal_usb_led.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/HalPwrSeqCmd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/Hal8814PwrSeq.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_xmit.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_sreset.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_hal_init.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_phycfg.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_rf6052.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_dm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_rxdesc.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/rtl8814a_cmd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/hal8814a_fw.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/usb/usb_halinit.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/usb/rtl8814au_led.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/usb/rtl8814au_xmit.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/usb/rtl8814au_recv.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/rtl8814a/usb/usb_ops_linux.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/efuse/rtl8814a/HalEfuseMask8814A_USB.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_debug.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_antdiv.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_soml.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_smt_ant.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_antdect.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_interface.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_phystatus.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_hwconfig.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_dig.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_pathdiv.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_rainfo.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_dynamictxpower.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_adaptivity.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_cfotracking.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_noisemonitor.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_beamforming.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_direct_bf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_dfs.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/txbf/halcomtxbf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/txbf/haltxbfinterface.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/txbf/phydm_hal_txbf_api.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_adc_sampling.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_ccx.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_psd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_primary_cca.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_cck_pd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_rssi_monitor.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_auto_dbg.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_math_lib.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_api.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_pow_train.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_lna_sat.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_pmac_tx_setting.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_mp.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/phydm_cck_rx_pathdiv.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf_debug.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halphyrf_ce.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf_powertracking_ce.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf_powertracking.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf_kfree.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/halrf_psd.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/rtl8814a/halhwimg8814a_bb.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/rtl8814a/halhwimg8814a_mac.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/rtl8814a/halhwimg8814a_rf.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/rtl8814a/halrf_iqk_8814a.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/rtl8814a/phydm_regconfig8814a.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/halrf/rtl8814a/halrf_8814a_ce.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/rtl8814a/phydm_rtl8814a.o
CC [M]  /home/boeboe/Downloads/rtl8814au/hal/phydm/txbf/haltxbf8814a.o
CC [M]  /home/boeboe/Downloads/rtl8814au/platform/platform_ops.o
CC [M]  /home/boeboe/Downloads/rtl8814au/core/rtw_mp.o
LD [M]  /home/boeboe/Downloads/rtl8814au/8814au.o
MODPOST /home/boeboe/Downloads/rtl8814au/Module.symvers
CC [M]  /home/boeboe/Downloads/rtl8814au/8814au.mod.o
LD [M]  /home/boeboe/Downloads/rtl8814au/8814au.ko
make[1]: Leaving directory '/usr/src/linux-headers-5.13.0-1008-intel'

#:~/Downloads/rtl8814au$ sudo make install
install -p -m 644 8814au.ko  /lib/modules/5.13.0-1008-intel/kernel/drivers/net/wireless/
/sbin/depmod -a 5.13.0-1008-intel

Loading:

#:~/Downloads/rtl8814au$ lsmod | grep 88
nls_iso8859_1          16384  1
iwlmvm                421888  0
snd_pcm               114688  11 snd_hda_codec_hdmi,snd_hda_intel,snd_usb_audio,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
cfg80211              888832  3 iwlmvm,iwlwifi,mac80211

#:~/Downloads/rtl8814au$ sudo modprobe 8814au
modprobe: ERROR: could not insert '8814au': Exec format error

#:~/Downloads/rtl8814au$ dmesg | tail -1
[489235.587813] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000047b65785, val ffffffffc1617781

#:~/Downloads/rtl8814au$ sudo insmod 8814au.ko 
insmod: ERROR: could not insert module 8814au.ko: Invalid module format

#:~/Downloads/rtl8814au$ dmesg | tail -5
[489235.587813] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000047b65785, val ffffffffc1617781
[489268.838668] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000033bb150d, val ffffffffc183e781
[489602.470817] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000047b65785, val ffffffffc1617781

<after unpugging and plugging in the device again>

[489661.084290] usb 3-3: USB disconnect, device number 5
[489689.041448] usb 3-3: new high-speed USB device number 10 using xhci_hcd
[489689.189786] usb 3-3: New USB device found, idVendor=2357, idProduct=0106, bcdDevice= 0.00
[489689.189789] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[489689.189790] usb 3-3: Product: 802.11ac NIC
[489689.189792] usb 3-3: Manufacturer: Realtek
[489689.189793] usb 3-3: SerialNumber: 123456
[489689.236346] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 0000000047b65785, val ffffffffc1617781
[489689.276584] module: x86/modules: Skipping invalid relocation target, existing value is nonzero for type 1, loc 000000007eb48b8a, val ffffffffc18760e8

Module info:

#:~/Downloads/rtl8814au$ file 8814au.ko 
8814au.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=ef01f9b9be8cabfa29b191948bf6569d039913af, with debug_info, not stripped

#:~/Downloads/rtl8814au$ sudo updatedb  && locate 8814au.ko
/home/boeboe/Downloads/rtl8814au/.8814au.ko.cmd
/home/boeboe/Downloads/rtl8814au/8814au.ko
/usr/lib/modules/5.13.0-1008-intel/kernel/drivers/net/wireless/8814au.ko
/usr/lib/modules/5.13.0-1008-intel/updates/dkms/8814au.ko
/usr/src/8814au-5.8.5.1/8814au.ko
/var/lib/dkms/8814au/5.8.5.1/5.13.0-1008-intel/x86_64/module/8814au.ko

#:~/Downloads/rtl8814au$ file /usr/lib/modules/5.13.0-1008-intel/kernel/drivers/net/wireless/8814au.ko
/usr/lib/modules/5.13.0-1008-intel/kernel/drivers/net/wireless/8814au.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=ef01f9b9be8cabfa29b191948bf6569d039913af, with debug_info, not stripped

#:~/Downloads/rtl8814au$ file /usr/lib/modules/5.13.0-1008-intel/updates/dkms/8814au.ko
/usr/lib/modules/5.13.0-1008-intel/updates/dkms/8814au.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=3e4c90f23875bfd0780dfa142e993707dbef108b, not stripped

#:~/Downloads/rtl8814au$ file /var/lib/dkms/8814au/5.8.5.1/5.13.0-1008-intel/x86_64/module/8814au.ko
/var/lib/dkms/8814au/5.8.5.1/5.13.0-1008-intel/x86_64/module/8814au.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=3e4c90f23875bfd0780dfa142e993707dbef108b, not stripped

#:~/Downloads/rtl8814au$ file /home/boeboe/Downloads/rtl8814au/8814au.ko
/home/boeboe/Downloads/rtl8814au/8814au.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), BuildID[sha1]=ef01f9b9be8cabfa29b191948bf6569d039913af, with debug_info, not stripped

#:~/Downloads/rtl8814au$ modinfo 8814au.ko
filename:       /home/boeboe/Downloads/rtl8814au/8814au.ko
version:        5.8.5.1
author:         Realtek Semiconductor Corp.
description:    Realtek Wireless Lan Driver
license:        GPL
srcversion:     F227477865CD53D3DF2498B
alias:          usb:v0846p9054d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p809Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v20F4p809Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2357p0106d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0E66p0026d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8813d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA833d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v7392pA834d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep400Dd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v056Ep400Bd*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1853d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1852d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0B05p1817d*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v2001p331Ad*dc*dsc*dp*ic*isc*ip*in*
alias:          usb:v0BDAp8813d*dc*dsc*dp*ic*isc*ip*in*
depends:        cfg80211
retpoline:      Y
name:           8814au
vermagic:       5.13.0-1008-intel SMP mod_unload modversions 
parm:           rtw_wireless_mode:int
parm:           rtw_monitor_overwrite_seqnum:Overwrite the sequence number of injected frames (int)
parm:           rtw_monitor_retransmit:Retransmit injected frames (int)
parm:           rtw_ips_mode:The default IPS mode (int)
parm:           rtw_lps_level:The default LPS level (int)
parm:           rtw_lps_chk_by_tp:int
parm:           rtw_max_bss_cnt:int
parm:           rtw_usb_rxagg_mode:int
parm:           rtw_dynamic_agg_enable:int
parm:           rtw_tx_aclt_flags:device TX AC queue packet lifetime control flags (uint)
parm:           rtw_tx_aclt_conf_default:device TX AC queue lifetime config for default status (array of uint)
parm:           rtw_tx_aclt_conf_ap_m2u:device TX AC queue lifetime config for AP mode M2U status (array of 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_path:int
parm:           rtw_tx_nss:int
parm:           rtw_rx_nss: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_pci_dynamic_aspm_linkctrl: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_wowlan_sta_mix_mode:int
parm:           rtw_pwrtrim_enable:int
parm:           rtw_initmac:charp
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_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_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_tx_pwr_lmt_enable: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_tsf_update_pause_factor:num of bcn intervals to stay TSF update pause status (int)
parm:           rtw_tsf_update_restore_factor:num of bcn intervals to stay TSF update restore status (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_phydm_ability:uint
parm:           rtw_halrf_ability:uint
parm:           rtw_en_napi:int
parm:           rtw_en_gro:int
parm:           rtw_iqk_fw_offload:int
parm:           rtw_ch_switch_offload:int
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant