etc/iwd/main.conf: fix comment typos, remove unnecessary section

Channel ranking on Lumina was unrelated to 5 GHz not getting used.
This commit is contained in:
Aminda Suomalainen 2023-01-22 21:02:15 +02:00
parent a92c1444c7
commit 86b2bbabcb
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
1 changed files with 2 additions and 9 deletions

View File

@ -1,8 +1,8 @@
[General]
# Request setting regulatory domain ISO-Alpha-2. Check with `iw reg get`.
# Request setting regulatory domain (ISO-Alpha-2). Check with `iw reg get`.
# Location-Aided Routing (LAR) or self-managed devices will just set
# the country by nearby APs and for some reason a stock configuration by a
# local ISP in my ighbourhood is incorrectly advertising DE rathar than FI
# local ISP in my neighbourhood is incorrectly advertising DE rathar than FI
# so Lumina gets it wrong. Luckily FI and DE share regulation judging by
# https://archive.softwareheritage.org/swh:1:cnt:3f74194de9b0bdcf6052b505067363f17427c28f;origin=https://git.kernel.org/pub/scm/linux/kernel/git/sforshee/wireless-regdb.git;visit=swh:1:snp:1b8d84b34965cbea94ad57200121527c5ad51616;anchor=swh:1:rev:fe05cc94e070c71486047002fc2edf68f5f2a07a;path=/db.txt
# To check/refresh regdomain, `iw dev wlan0 scan`
@ -12,10 +12,3 @@ use_default_interface=true
# build-in DHCP client
EnableNetworkConfiguration=true
EnableIPv6=true
# This section ranks how iwd prefers networks over 2.4 Ghz. I want to prefer
# 5 GHz and I am guessing 6 GHz is better when it exists. Both default to
# 1.0
[Rank]
BandModifier5Ghz=2.0
BandModifier6Ghz=2.5