Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network sporadicatlly freezes while performing a wifi-scan #309

Open
comphilip opened this issue Jan 31, 2024 · 0 comments
Open

Network sporadicatlly freezes while performing a wifi-scan #309

comphilip opened this issue Jan 31, 2024 · 0 comments

Comments

@comphilip
Copy link

comphilip commented Jan 31, 2024

Environment

  • Ubuntu 22.04
  • Linux 6.6.14-x64v3-xanmod1 #0~20240126.g037984b SMP PREEMPT_DYNAMIC Sat Jan 27 03:20:53 UTC x86_64 x86_64 x86_64 GNU/Linux
  • Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
  • Network controller: Realtek Semiconductor Co., Ltd. Device b852
  • Wireless Driver: rtw89_8852be

Wifi Environment

  • 3 Mikrotik AP
  • EAP-TLS 802.1X authentication

Issue

Wireless network sporadicatlly freezes (ping lost to router for about 20 seconds) during wifi scan.

Jan 31 06:28:57 wpa_supplicant[985]: bgscan simple: Request a background scan
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: Add radio work 'scan'@0x55bf75093f00
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: First radio work item in the queue - schedule start immediately
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: Starting radio work 'scan'@0x55bf75093f00 after 0.000022 second wait
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: nl80211: scan request
Jan 31 06:28:57 wpa_supplicant[985]: Scan requested (ret=0) - scan timeout 30 seconds
Jan 31 06:28:57 wpa_supplicant[985]: nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlp3s0
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: nl80211: Scan trigger
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: Event SCAN_STARTED (47) received
Jan 31 06:28:57 wpa_supplicant[985]: wlp3s0: Own scan request started a scan in 0.000112 seconds
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Scan timeout - try to abort it
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Abort scan
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Drv Event 35 (NL80211_CMD_SCAN_ABORTED) received for wlp3s0
Jan 31 06:29:27 wpa_supplicant[985]: wlp3s0: nl80211: Scan aborted
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Scan probed for SSID 'unitloop-5G'
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 2484 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5720 5745 5765 5785 5805 5825
Jan 31 06:29:27 wpa_supplicant[985]: wlp3s0: Event SCAN_RESULTS (3) received
Jan 31 06:29:27 wpa_supplicant[985]: wlp3s0: Scan completed in 30.033785 seconds
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Received scan results (31 BSSes)
Jan 31 06:29:27 wpa_supplicant[985]: nl80211: Scan results indicate BSS status with 48:a9:8a:36:4b:21 as associated
Jan 31 06:29:27 wpa_supplicant[985]: wlp3s0: BSS: Start scan result update 137

Workaround

Set fixed BSSID in network manager wifi connection setting to disable roaming support (if device does not moved), then ping lost during will drop from about 20 seconds to 2 seconds.

More Information

NetworkManager and WiFi Scans

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant