public inbox for iwd@lists.linux.dev
 help / color / mirror / Atom feed
From: Piotr Oniszczuk <piotr.oniszczuk@gmail.com>
To: iwd@lists.linux.dev
Subject: iwd 2.22 scan fails but... works ok with ConnMan
Date: Tue, 15 Oct 2024 10:56:55 +0200	[thread overview]
Message-ID: <CF5A13CE-18AF-4A33-98F9-13FA353657C4@gmail.com> (raw)

Hi,

I’m using iwd 2.22 as default way of automated wifi connection in my project (https://github.com/warpme/minimyth2)

Some of my users started to report issues about not able to establish wifi connections.
I asked to do 1st step verification: launch ConnMan (https://wiki.archlinux.org/title/ConnMan) to verify is HW working ok.

With ConnMan users are able to connect so HW is OK.
It looks to me like issue is specific to iwd.

With iwd log says like below.

May somebody from iwd team help me to solve this issue?
 

Wireless daemon version 2.22
src/main.c:main() Using configuration directory /etc/iwd
Loaded configuration from /etc/iwd/main.conf
src/storage.c:storage_create_dirs() Using state directory /var/lib/iwd
src/main.c:nl80211_appeared() Found nl80211 interface
src/module.c:iwd_modules_init()
station: Network configuration is disabled.
src/knownnetworks.c:known_network_frequencies_load() No known frequency file found.
src/wsc.c:wsc_init()
src/eap.c:__eap_method_enable()
src/eap-wsc.c:eap_wsc_init()
src/eap-ttls.c:eap_ttls_init()
src/eap-tls.c:eap_tls_init()
src/eap-md5.c:eap_md5_init()
src/eap-pwd.c:eap_pwd_init()
src/eap-gtc.c:eap_gtc_init()
src/eap-peap.c:eap_peap_init()
src/eap-aka.c:eap_aka_prime_init()
src/eap-aka.c:eap_aka_init()
src/eap-sim.c:eap_sim_init()
src/eap-mschapv2.c:eap_mschapv2_init()
src/udev.c:udev_init()
src/manager.c:manager_wiphy_dump_callback() New wiphy phy0 added (0)
src/manager.c:manager_wiphy_dump_done()
src/manager.c:manager_filtered_wiphy_dump_done()
Wiphy: 0, Name: phy0
        Permanent Address: 00:00:00:00:00:00
        2.4GHz Band:
                Bitrates (non-HT):
                         1.0 Mbps
                         2.0 Mbps
                         5.5 Mbps
                        11.0 Mbps
                         6.0 Mbps
                         9.0 Mbps
                        12.0 Mbps
                        18.0 Mbps
                        24.0 Mbps
                        36.0 Mbps
                        48.0 Mbps
                        54.0 Mbps
                         6.5 Mbps
                        13.0 Mbps
                        19.5 Mbps
                        26.0 Mbps
                        39.0 Mbps
                        52.0 Mbps
                        58.5 Mbps
                        13.0 Mbps
                        26.0 Mbps
                        39.0 Mbps
                        52.0 Mbps
                HT Capabilities:
                        HT40
                        Short GI for 20Mhz
                        Short GI for 40Mhz
                HT RX MCS indexes:
                        0-7
                HT TX MCS set undefined
        5GHz Band:
                Bitrates (non-HT):
                         6.0 Mbps
                         9.0 Mbps
                        12.0 Mbps
                        18.0 Mbps
                        24.0 Mbps
                        36.0 Mbps
                        48.0 Mbps
                        54.0 Mbps
                         6.5 Mbps
                        13.0 Mbps
                        19.5 Mbps
                        26.0 Mbps
                        39.0 Mbps
                        52.0 Mbps
                        58.5 Mbps
                        13.0 Mbps
                        26.0 Mbps
                        39.0 Mbps
                        52.0 Mbps
                HT Capabilities:
                        HT40
                        Short GI for 20Mhz
                        Short GI for 40Mhz
                HT RX MCS indexes:
                        0-7
                HT TX MCS set undefined
                VHT Capabilities:
                        Short GI for 80Mhz
                        Max RX MCS: 0-9 for NSS: 1
                        Max TX MCS: 0-9 for NSS: 1
        Ciphers: BIP-CMAC-128 CCMP-128 TKIP
        Supported iftypes: ad-hoc station ap p2p-client p2p-go p2p-device
Wiphy phy0 will only use the default interface
src/manager.c:manager_interface_dump_callback()
src/manager.c:manager_get_interface_cb()
src/manager.c:manager_interface_dump_done()
src/manager.c:manager_use_default()
src/netdev.c:netdev_create_from_genl() Created interface wlan0[3 1]
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for phy0 is 00
src/netdev.c:netdev_link_notify() event 16 on ifindex 3
src/netdev.c:netdev_set_4addr() netdev: 3 use_4addr: 0
src/netdev.c:netdev_initial_up_cb() Interface 3 initialized
event: state, old: disconnected, new: autoconnect_quick
src/scan.c:scan_periodic_start() Starting periodic scan for wdev 1
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 1
src/wiphy.c:wiphy_radio_work_next() Starting work item 1
src/rrm.c:rrm_add_frame_watches()
src/netdev.c:netdev_link_notify() event 16 on ifindex 3
Could not register frame watch type 00b0: -22
src/manager.c:manager_config_notify() Notification of command Set Interface(6)
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 10
src/wiphy.c:wiphy_radio_work_done() Work item 1 done
Received error during CMD_TRIGGER_SCAN: Invalid argument (22)
src/scan.c:scan_periodic_timeout() 1
src/wiphy.c:wiphy_radio_work_insert() Inserting work item 2
src/wiphy.c:wiphy_radio_work_next() Starting work item 2
src/scan.c:scan_periodic_rearm() Arming periodic scan timer: 20
src/wiphy.c:wiphy_radio_work_done() Work item 2 done
Received error during CMD_TRIGGER_SCAN: Invalid argument (22)




             reply	other threads:[~2024-10-15  8:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-15  8:56 Piotr Oniszczuk [this message]
2024-10-23 22:04 ` iwd 2.22 scan fails but... works ok with ConnMan Denis Kenzior
2024-10-24 10:04   ` Piotr Oniszczuk
2024-10-24 14:00     ` Denis Kenzior
2024-10-24 14:32       ` Piotr Oniszczuk
2024-10-24 16:51         ` James Prestwood
2024-10-24 18:37           ` Piotr Oniszczuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CF5A13CE-18AF-4A33-98F9-13FA353657C4@gmail.com \
    --to=piotr.oniszczuk@gmail.com \
    --cc=iwd@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox