All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Johnson <mjohnson459@gmail.com>
To: iwd@lists.linux.dev
Subject: Permanent disconnect when deauthenticated during a roam
Date: Wed, 9 Nov 2022 16:42:27 +0000	[thread overview]
Message-ID: <CACsRnHU1WkovQrSUFH91haGf7rJJppfBwCxkVT9eXejVk_CJ1w@mail.gmail.com> (raw)

Hey all,

I've just had an issue with a client being permanently disconnected
after a failed roam. iwd detects the disconnect and prints a message
but doesn't seem to attempt to reconnect again. I don't see anything
about blacklists mentioned either.
Any idea why this isn't attempting to reconnect?

```
# Normal roam
Nov 08 17:59:41.880934 p3-3478 iwd[426]:
src/netdev.c:netdev_authenticate_event()
Nov 08 17:59:41.881248 p3-3478 kernel: wlan0: send auth to
ac:3a:67:5d:8b:2c (try 1/3)
Nov 08 17:59:41.881324 p3-3478 kernel: wlan0: authenticated
Nov 08 17:59:41.881374 p3-3478 iwd[426]:
src/netdev.c:netdev_get_oci_cb() Obtained OCI: freq: 5560, width: 1,
center1: 5560, center2: 0
Nov 08 17:59:41.889035 p3-3478 kernel: wlan0: associate with
ac:3a:67:5d:8b:2c (try 1/3)
Nov 08 17:59:41.889232 p3-3478 kernel: wlan0: RX ReassocResp from
ac:3a:67:5d:8b:2c (capab=0x1111 status=0 aid=10)
Nov 08 17:59:41.892719 p3-3478 iwd[426]:
src/netdev.c:netdev_mlme_notify() MLME notification Associate(38)
Nov 08 17:59:41.892719 p3-3478 iwd[426]: src/netdev.c:netdev_associate_event()
Nov 08 17:59:41.892719 p3-3478 iwd[426]: src/netdev.c:netdev_set_gtk() 5
Nov 08 17:59:41.892719 p3-3478 iwd[426]:
src/station.c:station_handshake_event() Setting keys
Nov 08 17:59:41.892719 p3-3478 iwd[426]: src/netdev.c:netdev_set_tk() 5
Nov 08 17:59:41.892719 p3-3478 iwd[426]:
src/netdev.c:netdev_mlme_notify() MLME notification Connect(46)
Nov 08 17:59:41.892719 p3-3478 iwd[426]: src/netdev.c:netdev_connect_event()
Nov 08 17:59:41.893224 p3-3478 kernel: wlan0: associated
Nov 08 17:59:41.893271 p3-3478 kernel: ath: EEPROM regdomain: 0x8348
Nov 08 17:59:41.893307 p3-3478 kernel: ath: EEPROM indicates we should
expect a country code
Nov 08 17:59:41.893337 p3-3478 kernel: ath: doing EEPROM
country->regdmn map search
Nov 08 17:59:41.893363 p3-3478 kernel: ath: country maps to regdmn code: 0x3a
Nov 08 17:59:41.893390 p3-3478 kernel: ath: Country alpha2 being used: US
Nov 08 17:59:41.893416 p3-3478 kernel: ath: Regpair used: 0x3a
Nov 08 17:59:41.893457 p3-3478 kernel: ath: regdomain 0x8348
dynamically updated by country element
Nov 08 17:59:41.893483 p3-3478 kernel: wlan0: deauthenticated from
ac:3a:67:5d:8b:2c (Reason: 34=DISASSOC_LOW_ACK)
Nov 08 17:59:41.895990 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
Nov 08 17:59:41.896099 p3-3478 iwd[426]:
src/wiphy.c:wiphy_reg_notify() Notification of command Reg Change(36)
Nov 08 17:59:41.896099 p3-3478 iwd[426]:
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for
(global) is US
Nov 08 17:59:41.896099 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_mlme_notify() MLME notification Del Station(20)
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_mlme_notify() MLME notification Deauthenticate(39)
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_deauthenticate_event()
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_mlme_notify() MLME notification Disconnect(48)
Nov 08 17:59:41.896282 p3-3478 iwd[426]: src/netdev.c:netdev_disconnect_event()
Nov 08 17:59:41.896282 p3-3478 iwd[426]: Received Deauthentication
event, reason: 34, from_ap: true
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/wiphy.c:wiphy_radio_work_done() Work item 493 done
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/station.c:station_disconnect_event() 5
Nov 08 17:59:41.896282 p3-3478 iwd[426]: Unexpected disconnect event
Nov 08 17:59:41.896282 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
Nov 08 17:59:41.896867 p3-3478 iwd[426]:
src/wiphy.c:wiphy_reg_notify() Notification of command Reg Change(36)
Nov 08 17:59:41.896867 p3-3478 iwd[426]:
src/wiphy.c:wiphy_update_reg_domain() New reg domain country code for
(global) is XX
Nov 08 17:59:42.893123 p3-3478 iwd[426]:
src/netdev.c:netdev_link_notify() event 16 on ifindex 5
# Doesn't reconnect and needs to be rebooted ...
```

Regards,
Michael

             reply	other threads:[~2022-11-09 16:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-09 16:42 Michael Johnson [this message]
2022-11-09 18:48 ` Permanent disconnect when deauthenticated during a roam Denis Kenzior
2022-11-10  9:20   ` Michael Johnson
2022-11-10 15:22     ` 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=CACsRnHU1WkovQrSUFH91haGf7rJJppfBwCxkVT9eXejVk_CJ1w@mail.gmail.com \
    --to=mjohnson459@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.