From: James Prestwood <prestwoj@gmail.com>
To: iwd@lists.01.org
Subject: Re: broadcom fmac ap mode testing - how to set iwd as dhcp server?
Date: Thu, 28 Jan 2021 17:37:00 -0800 [thread overview]
Message-ID: <c8c2dfe5bed4a02bade21f0a12cf71f0da2c97ca.camel@gmail.com> (raw)
In-Reply-To: <CAG17S_NPTw0uyaygZ1FWHm9ar6KCMMr57iVY0apAN-ejeNc+Ew@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1635 bytes --]
Hi Keith,
<snip>
> When I restart the AP from iwct, I can connect again.
> What I do not yet know how to do, though, is assign an ip address to
> the ap and then have it be a dhcp server to serve out a dhcp address
> to the connecting computer. I found this online and took a stab, but
> it did not assign an address, though the computer did 'attach'.
Yes this is exactly the behavior we are seeing as well. I do have a
patch which fixes the disconnect issue and allows the same client to
connect again but we've actually got more problems than this. My recent
patches 'fixing' AP mode is somewhat of a hack in all honesty. It
allows the 4-way handshake to happen but not the GTK handshake. This
means no group traffic which breaks DHCP.
I won't bore you with details but it boils down to brcmfmac being (as
far as we can tell) broken when used this way. We are going to
investigate handshake offloading which might fix it, but we just don't
know yet. I am expecting offloading to work but if not we need to talk
with linux-wireless/broadcom about why its broken or how it supposed to
work. Anyways, we hope to have this sorted soon.
FYI even hostapd exibits this exact same behavior with brcmfmac cards,
does the 4-way but no GTK handshake. At least on my brcmfmac cards. I
would be curious if it does the same for you.
> How do you set it up for iwd to be a dhcp server? If iwd cannot do
> it, can I use dhcpd? dnsmasq? I have found very little info in my
> searches.
You're likely setting it up correctly (EnableNetworkConfiguration=true)
but we've got this GTK problem.
Thanks,
James
[-- Attachment #2: attachment.htm --]
[-- Type: text/html, Size: 2179 bytes --]
next prev parent reply other threads:[~2021-01-29 1:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-29 1:23 broadcom fmac ap mode testing - how to set iwd as dhcp server? KeithG
2021-01-29 1:37 ` James Prestwood [this message]
2021-01-30 11:47 ` Paul Menzel
2021-01-30 20:25 ` KeithG
2021-01-31 15:44 ` KeithG
2021-02-01 12:42 ` Andrew Zaborowski
2021-02-01 17:27 ` KeithG
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=c8c2dfe5bed4a02bade21f0a12cf71f0da2c97ca.camel@gmail.com \
--to=prestwoj@gmail.com \
--cc=iwd@lists.01.org \
/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