($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Michael John <MJohn@midmark.com>
To: "iwd@lists.linux.dev" <iwd@lists.linux.dev>
Subject: Bring up of AP fails on certain channels
Date: Thu, 8 Jun 2023 14:01:10 +0000	[thread overview]
Message-ID: <BY3PR08MB7220600D62E8C2FD1334253FAE50A@BY3PR08MB7220.namprd08.prod.outlook.com> (raw)

Hello,

I'm trying to bring up an AP and ran into an issue where iwd
will fail to do so. My AP profile is below and I'm trying
to bring up the AP on channel 64 but iwd gives a failure.
If I change the channel to 6 iwd is able to successfully
able to bring the AP up. I'm curious to why it fails
if the channel is 64? The reason I needed channel 64
is because my radio requires the AP to be on the same
channel as the STA when in AP+STA mode, and me test
network  for the STA is on channel 64.


~> cat /var/lib/iwd/ap/470034.ap
[Security]
Passphrase=myphrase
PairwiseCiphers=CCMP

[General]
DisableHT=true
Channel=64

[IPv4]
Address=10.42.0.1
Netmask=255.255.255.0
Gateway=10.42.0.255
DNS=10.42.0.0
IPRange=10.42.0.50,10.42.0.60


~> iwctl ap wlan1 start-profile 470034
Argument type is wrong

~> iw dev
phy#0
        Interface wlan1
                ifindex 6
                wdev 0x3
                addr c0:ee:40:64:4a:1d
                type AP
                txpower 23.00 dBm
        Interface wlan0
                ifindex 5
                wdev 0x2
                addr c0:ee:40:64:4a:1c
                type managed
                txpower 23.00 dBm


~> journalctl --no-pager -u iwd --since -1m
-- Logs begin at Thu 2023-06-08 12:39:15 UTC, end at Thu 2023-06-08 12:55:04 UTC. --
Jun 08 12:55:00 V2470034 iwd[1229]: src/agent.c:agent_register() agent register called
Jun 08 12:55:00 V2470034 iwd[1229]: src/agent.c:agent_register() agent :1.193 path /agent/2814
Jun 08 12:55:00 V2470034 iwd[1229]: src/ap.c:ap_validate_band_channel() AP using frequency 5320 and channel width 20MHz (no-HT)
Jun 08 12:55:00 V2470034 iwd[1229]: src/ap.c:ap_get_gateway4_mac_cb() Error: Operation not supported (95)
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 0000: -114
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 0020: -114
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 0040: -114
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 00a0: -114
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 00b0: -114
Jun 08 12:55:00 V2470034 iwd[1229]: Could not register frame watch type 00c0: -114
Jun 08 12:55:00 V2470034 iwd[1229]: START_AP failed: -22
Jun 08 12:55:00 V2470034 iwd[1229]: src/agent.c:agent_disconnect() agent :1.193 disconnected
Jun 08 12:55:00 V2470034 iwd[1229]: src/agent.c:agent_free() agent free 0x1d57d18

Thanks,
Michael
CONFIDENTIALITY NOTICE: This message, including any attachments, contains confidential information intended for a specific individual and purpose. If you are not the intended recipient, you should delete this message and any disclosure, copying, or distribution of this message, or the taking of any action based on it, by you is strictly prohibited.

             reply	other threads:[~2023-06-08 14:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-08 14:01 Michael John [this message]
2023-06-08 14:35 ` Bring up of AP fails on certain channels James Prestwood
2023-06-08 15:19   ` Michael John
2023-06-08 15:34     ` James Prestwood

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=BY3PR08MB7220600D62E8C2FD1334253FAE50A@BY3PR08MB7220.namprd08.prod.outlook.com \
    --to=mjohn@midmark.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).