From: Denis Kenzior <denkenz@gmail.com>
To: KeithG <ys3al35l@gmail.com>
Cc: iwd@lists.linux.dev
Subject: Re: strange behavior with synthetic ap0
Date: Mon, 7 Apr 2025 21:03:48 -0500 [thread overview]
Message-ID: <27237ccf-edbe-4a1f-a39c-6070e4a7e821@gmail.com> (raw)
In-Reply-To: <CAG17S_N=DnnnLY+hGiqQCfopr1ZngCW0T4_H0+yyP9Z8DiqzhQ@mail.gmail.com>
Hi Keith,
What does:
iw phy | grep -3 'interface combinations'
say?
Typical WiFi chips support only a single channel (e.g. #channels <= 1)
>
> How do I ensure it is on the same frequency? I would think that I
> would have to change the freq to whatever the freq of the SSID I am
> connecting to. The process would then have to be: query the SSID for a
> freq then stop and restart the AP... Wouldn't this disconnect the AP0
> from whatever is connected to it?
There should be a way to tell the AP to switch the current channel. The AP will
inform clients about the channel switch and they should end up at the new
frequency without losing connectivity.
>
> A bit oif background, I am trying to write a python script to do a bit
> of magic. We use connman as the front end and iwd as the wifi
> controller and there is no real good way to have this headless,
> embedded device always allow a connection, so I am trying to get a
> python script to monitor dbus and when it looses its wlan0 connection
> to start ap0 and allow a connection that way unless it 'sees' an SSID
> it already recognizes. In that case, I am having is down the ap0 then
> connect to the SSID on wlan0. That works, but it must be serial: shut
> down ap0 before connecting to SSID on wlan0 or it complains that the
> password is bad.
>
> I may be mistaken, but I think that a year or so ago (kernel 5.x or
> 6.1) it used to actually allow both simultaneously.
Different firmware?
>
> I built a kernel last night so that I nave nlmon available to query
> what is being passed if that is needed.
>
I doubt nlmon will show anything useful. You'd need to have information about
how the firmware / kernel driver works and any constraints.
Regards,
-Denis
next prev parent reply other threads:[~2025-04-08 2:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-07 3:48 strange behavior with synthetic ap0 KeithG
2025-04-07 14:57 ` Denis Kenzior
2025-04-07 15:35 ` KeithG
2025-04-08 2:03 ` Denis Kenzior [this message]
2025-04-08 2:26 ` KeithG
2025-04-10 3:35 ` Denis Kenzior
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=27237ccf-edbe-4a1f-a39c-6070e4a7e821@gmail.com \
--to=denkenz@gmail.com \
--cc=iwd@lists.linux.dev \
--cc=ys3al35l@gmail.com \
/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