Re: iwx not getting to status: active

2021-07-06 Thread Greg Steuck
Stefan Sperling writes: > Taking a fresh look at this in the morning, I think we should be checking > for errors from ieee80211_set_key() before flagging the group key as valid. > The only reason this could fail in your case is ENOMEM so it shouldn't > make a difference regarding your test case.

Re: iwx not getting to status: active

2021-07-06 Thread zxystd
Confirmed it is also work. iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00, msix Regards, zxystd

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Mon, Jul 05, 2021 at 06:36:00PM -0700, Greg Steuck wrote: > Stefan Sperling writes: > > > On Tue, Jul 06, 2021 at 12:31:20AM +0200, Stefan Sperling wrote: > >> On Mon, Jul 05, 2021 at 02:11:36PM -0700, Greg Steuck wrote: > >> > Do I need to figure out the state machines behind iwx and iee80211

Re: iwx not getting to status: active

2021-07-05 Thread Greg Steuck
Stefan Sperling writes: > On Tue, Jul 06, 2021 at 12:31:20AM +0200, Stefan Sperling wrote: >> On Mon, Jul 05, 2021 at 02:11:36PM -0700, Greg Steuck wrote: >> > Do I need to figure out the state machines behind iwx and iee80211 now? :) >> >> This AP seems to use TKIP for the groupcipher and the i

Re: iwx not getting to status: active

2021-07-05 Thread Greg Steuck
Stefan Sperling writes: > This AP seems to use TKIP for the groupcipher and the iwx > setkey task doesn't handle this case properly. > > Can you try this? This works great, yielding these diagnostics: iwx0: associated with 38:ff:36:23:09:ac ssid "MarlinGuest" channel 52 start MCS 0 long preamb

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Tue, Jul 06, 2021 at 12:31:20AM +0200, Stefan Sperling wrote: > On Mon, Jul 05, 2021 at 02:11:36PM -0700, Greg Steuck wrote: > > Do I need to figure out the state machines behind iwx and iee80211 now? :) > > This AP seems to use TKIP for the groupcipher and the iwx > setkey task doesn't handle

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Mon, Jul 05, 2021 at 02:11:36PM -0700, Greg Steuck wrote: > Do I need to figure out the state machines behind iwx and iee80211 now? :) This AP seems to use TKIP for the groupcipher and the iwx setkey task doesn't handle this case properly. Can you try this? diff 7faf78381a333a9545f245f931e6a5

Re: iwx not getting to status: active

2021-07-05 Thread Greg Steuck
Greg Steuck writes: > Stefan Sperling writes: > >>> iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:ac >>> iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:ac >>> >>> I never see "iwx0: sending action to" after this. >> >> And you still see status: "no network" i

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Mon, Jul 05, 2021 at 10:20:09AM -0700, Greg Steuck wrote: > Stefan Sperling writes: > > > On Mon, Jul 05, 2021 at 09:35:20AM +0200, Stefan Sperling wrote: > >> On Sun, Jul 04, 2021 at 07:58:47PM -0700, Greg Steuck wrote: > >> > I never see "iwx0: sending action to" after this. > >> > >> And y

Re: iwx not getting to status: active

2021-07-05 Thread Greg Steuck
Stefan Sperling writes: >> iwx0: received msg 3/4 of the 4-way handshake from 38:ff:36:23:09:ac >> iwx0: sending msg 4/4 of the 4-way handshake to 38:ff:36:23:09:ac >> >> I never see "iwx0: sending action to" after this. > > And you still see status: "no network" in ifconfig at this point? > Thi

Re: iwx not getting to status: active

2021-07-05 Thread Greg Steuck
Stefan Sperling writes: > On Mon, Jul 05, 2021 at 09:35:20AM +0200, Stefan Sperling wrote: >> On Sun, Jul 04, 2021 at 07:58:47PM -0700, Greg Steuck wrote: >> > I never see "iwx0: sending action to" after this. >> >> And you still see status: "no network" in ifconfig at this point? >> This could

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Mon, Jul 05, 2021 at 09:35:20AM +0200, Stefan Sperling wrote: > On Sun, Jul 04, 2021 at 07:58:47PM -0700, Greg Steuck wrote: > > I never see "iwx0: sending action to" after this. > > And you still see status: "no network" in ifconfig at this point? > This could mean we're failing to set the lin

Re: iwx not getting to status: active

2021-07-05 Thread Peter Nicolai Mathias Hansteen
> 5. jul. 2021 kl. 04:58 skrev Greg Steuck : > > I stumbled upon a weird hotel WiFi which never gets to a fully running > link with iwx0. I see ifconfig is stuck with: > > iwx0: flags=808847 > mtu 1500 >lladdr xx >index 1 priority 4 llprio 3 >groups: wlan egress >

Re: iwx not getting to status: active

2021-07-05 Thread Stefan Sperling
On Sun, Jul 04, 2021 at 07:58:47PM -0700, Greg Steuck wrote: > I stumbled upon a weird hotel WiFi which never gets to a fully running > link with iwx0. I see ifconfig is stuck with: > > iwx0: flags=808847 > mtu 1500 > lladdr xx > index 1 priority 4 llprio 3 > groups: wlan

iwx not getting to status: active

2021-07-04 Thread Greg Steuck
I stumbled upon a weird hotel WiFi which never gets to a fully running link with iwx0. I see ifconfig is stuck with: iwx0: flags=808847 mtu 1500 lladdr xx index 1 priority 4 llprio 3 groups: wlan egress media: IEEE802.11 autoselect (HT-MCS11 mode 11n) statu