Tiny Core Extensions > TCE Corepure64

how to get reliable signal strengths when doing CLI wifi scan?

<< < (2/2)

GNUser:

--- Quote from: patrikg on November 23, 2022, 12:26:53 AM ---When you describe your problem two thing come in mind, some wifi chips comes with some
power savings features, and maybe your problem has something to do with that.

--- End quote ---

Thanks for your help, patrikg. After seeing your post I decided to scan for wifi networks on the affected laptop while plugged in to AC power. It makes no difference whether on battery power or on AC power, unfortunately.

Then I tried going into BIOS settings, but this laptop uses Coreboot which, as far as I'm aware, does not have a settings menu.

Next I explored the driver options:

--- Code: ---$ modinfo iwlwifi
filename:       /lib/modules/5.15.10-tinycore64/kernel.tclocal/drivers/net/wireless/intel/iwlwifi/iwlwifi.ko.gz
author:         Intel Corporation <linuxwifi@intel.com>
description:    Intel(R) Wireless WiFi driver for Linux
license:        GPL
parm:           remove_when_gone:Remove dev from PCIe bus if it is deemed inaccessible (default: false)
parm:           disable_11ac:Disable VHT capabilities (default: false)
parm:           power_level:default power save level (range from 1 - 5, default: 1)
parm:           power_save:enable WiFi power management (default: disable)
parm:           led_mode:0=system default, 1=On(RF On)/Off(RF Off), 2=blinking, 3=Off (default: 0)
parm:           bt_coex_active:enable wifi/bt co-exist (default: enable)
parm:           enable_ini:Enable debug INI TLV FW debug infrastructure (default: true
parm:           uapsd_disable:disable U-APSD functionality bitmap 1: BSS 2: P2P Client (default: 3)
parm:           nvm_file:NVM file name
parm:           fw_restart:restart firmware in case of error (default true)
parm:           amsdu_size:amsdu size 0: 12K for multi Rx queue devices, 2K for AX210 devices, 4K for other devices 1:4K 2:8K 3:12K (16K buffers) 4: 2K (default 0)

--- End code ---
It seems power_save is disabled by default, which is good but leaves me without ideas of what to try next :-\

patrikg:
You only get the default value when using modinfo, lets see what value is set ??
Lets us execute this oneliner :)


--- Code: (bash) ---for parm in $(ls /sys/module/iwlwifi/parameters/); do echo $parm $(cat /sys/module/iwlwifi/parameters/$parm); done
--- End code ---


And what about this i wrote in the previous thread:

And you say that you using dualband, maybe you use the same ssid for 5GHz and 2.4Ghz
The driver switches between this two, so my suggestion you have to change your router to have two ssid to distinguish between this two frequencies.

The signal strengths, is much better with 2.4 because of the "low" frequency.

Happy hacking

GNUser:
Hi, patrikg. Here you go:


--- Code: ---$ for parm in $(ls /sys/module/iwlwifi/parameters/); do echo $parm $(cat /sys/module/iwlwifi/parameters/$parm); done
11n_disable 0
amsdu_size 0
bt_coex_active Y
disable_11ac N
disable_11ax N
enable_ini Y
fw_restart Y
led_mode 0
nvm_file (null)
power_level 0
power_save N
remove_when_gone N
swcrypto 0
uapsd_disable 3

--- End code ---

My router is dual-band. The 5 GHz SSID is called "bibliotheca_alexandrina" and the 2.4 GHz SSID is called "donkey". If you look at my first post with the scan results, you see that the scans look at both frequency bands.

patrikg:
OK
power_save N
power save set to NO.

Okey my bad, not seen that in your threads. 2.4 and 5, have different ssid.

Sorry to say that's my thinking of your problem.

Nothing else have popped up in my brain.

Navigation

[0] Message Index

[*] Previous page

Go to full version