iwlwifi slowness on Jetson nano

i enabled iwlwifi driver for Intel 9260 and setup AP and everything is working.
When i try to transfer big files (with ssh/scp) the max speed is about 3MB/s.

I tried to disable power save but i can’t :

root@jetson-nano:~# iw dev wlan0 set power_save off
command failed: Operation not supported (-95)
root@jetson-nano:~# iw dev wlan0 get power_save 
Power save: on

i added the patch to dhd_linux.c :

+	dhd_slpauto_config(dhd, 0);
 	DHD_ERROR(("Firmware up: op_mode=0x%04x, MAC="MACDBG"\n",
 		dhd->op_mode, MAC2STRDBG(dhd->mac.octet)));
 	/* Set Country code  */

Nothing changed after the patch, any idea about this?


This is the test I did on my jetson nano with Intel 8265 NGW.
Could you share more information? the singal, etc will impact the performance.
Have you test within the local env?

root@jetson-nano:~# lspci
00:01.0 PCI bridge: NVIDIA Corporation Device 0fae (rev a1)
00:02.0 PCI bridge: NVIDIA Corporation Device 0faf (rev a1)
01:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 50)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
root@jetson-nano:~# iw dev wlan0  set power_save on
root@jetson-nano:~# iw dev wlan0  get power_save on
Power save: on
root@jetson-nano:~# iw dev wlan0  set power_save off
root@jetson-nano:~# iw dev wlan0  get power_save o
Power save: off
root@jetson-nano:/home/dlinano# iw dev wlan0 link
Connected to b4:de:31:fb:b9:8e (on wlan0)
	freq: 5280
	RX: 1308218 bytes (535 packets)
	TX: 39794 bytes (308 packets)
	signal: -68 dBm
	tx bitrate: 650.0 MBit/s VHT-MCS 7 80MHz short GI VHT-NSS 2

	bss flags:	short-slot-time
	dtim period:	1
	beacon int:	100

i can now set power save to off after stopping Hostapd deamon.
also the signal level is not good (antenna not installed), bellow information my PC connected to the setup AP:

IEEE 802.11  ESSID:"test"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: A0:51:0B:5A:F1:7C   
          Bit Rate=1 Mb/s   Tx-Power=20 dBm   
          Retry short limit:7   RTS thr:off   Fragment thr:off
          Power Management:on
          Link Quality=34/70  Signal level=-76 dBm  
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:29   Missed beacon:0
*       test               Infra  1     54 Mbit/s   50      ▂▄__  --

The Nano Kit is near my PC (5cm) so no need to have antenna, right?
Or it’s linked to the use of 802.11b low bandwidth?

Hi, ahadach

In order to keep a good connection the speed will drop to 5.5Mbps、2Mbps、1Mbps or lower.
You can test with a wireless router with a antenna attached to evaluate the performance.

Mostly the signal of the AP is not good enough and the antenna is always required to keep a good performance.