Bug 205157

Summary: iwlwifi: AX200: Wifi not working on Nvidia Jetson Nano
Product: Drivers Reporter: shawn (ambersun1019.shawn)
Component: network-wireless-intelAssignee: DO NOT USE - assign "network-wireless-intel" component instead (linuxwifi)
Status: NEW ---    
Severity: normal CC: linuxwifi, luca
Priority: P1    
Hardware: ARM   
OS: Linux   
Kernel Version: 4.9.140-tegra Subsystem:
Regression: No Bisected commit-id:
Attachments: zip file of iwlwifi tracing log

Description shawn 2019-10-10 17:13:44 UTC
Created attachment 285451 [details]
zip file of iwlwifi tracing log

Hi,

I'm using backport driver for Intel AX200 on Nvidia Jetson Nano. After I installed the driver, the wifi can be detected but cannot connect to the hotspot. My Jetson Nano Developer Kit SD Card Image is 4.2.2 .

The dmesg log result show as below:
[    3.676319] Loading modules backported from iwlwifi
[    3.676323] iwlwifi-stack-public:release/core45:7841:bcd11ac8
[    4.558600] iwlwifi 0000:01:00.0: enabling device (0000 -> 0002)
[    4.572557] iwlwifi 0000:01:00.0: Direct firmware load for iwl-dbg-cfg.ini failed with error -2
[    4.581634] iwlwifi 0000:01:00.0: Falling back to user helper
[   64.651799] iwlwifi 0000:01:00.0: TLV_FW_FSEQ_VERSION: FSEQ Version: 43.2.23.17
[   64.651811] iwlwifi 0000:01:00.0: Found debug destination: EXTERNAL_DRAM
[   64.651814] iwlwifi 0000:01:00.0: Found debug configuration: 0
[   64.652867] iwlwifi 0000:01:00.0: loaded firmware version 48.4fa0041f.0 op_mode iwlmvm
[   65.255728] iwlwifi 0000:01:00.0: Detected Intel(R) Wi-Fi 6 AX200 160MHz, REV=0x340
[   65.269591] iwlwifi 0000:01:00.0: Applying debug destination EXTERNAL_DRAM
[   65.270520] iwlwifi 0000:01:00.0: Allocated 0x00400000 bytes for firmware monitor.
[   65.438936] iwlwifi 0000:01:00.0: base HW address: 38:00:25:4d:72:86
[   65.474120] thermal thermal_zone6: Registering thermal zone thermal_zone6 for type iwlwifi
[   65.553431] iwlwifi 0000:01:00.0: Applying debug destination EXTERNAL_DRAM
[   65.719380] iwlwifi 0000:01:00.0: FW already configured (0) - re-configuring
[   80.578976] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   81.586811] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   82.574221] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   84.084292] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   85.549014] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   86.572927] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   88.587665] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   89.546973] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   90.570656] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   92.863664] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   93.546004] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...
[   94.569338] iwlwifi 0000:01:00.0: No beacon heard and the time event is over already...

The following are the steps to reproduce:
1) visit https://developer.nvidia.com/embedded/downloads download the newest Jetson Nano Developer Kit SD Card Image.

2) fresh install image file on SD card

3) update system
$ sudo apt update && sudo apt upgrade -y

4) install backport driver
$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/backport-iwlwifi.git
$ cd backport-iwlwifi
$ git checkout release/core45
$ make defconfig-iwlwifi-public
$ sed -i 's/CPTCFG_IWLMVM_VENDOR_CMDS=y/# CPTCFG_IWLMVM_VENDOR_CMDS is not set/' .config
$ make -j`nproc`
$ sudo make install -j`nproc`

5) install firmware
$ git clone https://git.kernel.org/pub/scm/linux/kernel/git/iwlwifi/linux-firmware.git
$ cd linux-firmware/
$ sudo cp iwlwifi-cc-a0-48.ucode /lib/firmware