Skip to content

fix-wifi-test-in-dt-ros-interface-to-dynamically-detect-wireless-interface-instead-of-hard-coding-wlan-0-DTSW-7683#22

Merged
Tuxliri merged 1 commit intoentefrom
fix-wifi-test-in-dt-ros-interface-to-dynamically-detect-wireless-interface-instead-of-hard-coding-wlan-0-DTSW-7683
Mar 11, 2026
Merged

fix-wifi-test-in-dt-ros-interface-to-dynamically-detect-wireless-interface-instead-of-hard-coding-wlan-0-DTSW-7683#22
Tuxliri merged 1 commit intoentefrom
fix-wifi-test-in-dt-ros-interface-to-dynamically-detect-wireless-interface-instead-of-hard-coding-wlan-0-DTSW-7683

Conversation

@Tuxliri
Copy link
Copy Markdown
Contributor

@Tuxliri Tuxliri commented Mar 11, 2026

On Jetson Orin Nano, the USB WiFi dongle uses predictable interface naming (wlx* prefix) instead of the legacy wlan0 name. This caused the WiFi hardware test to always fail on DB26J robots.

  • Add _detect_wifi_interface() helper that checks robot hardware type and scans netifaces for wlx*/wlp* interfaces on Orin Nano
  • Falls back to wlan0 on all other platforms (Jetson Nano, RPi, etc.)
  • Change wifi_interface default from 'wlan0' to None (auto-detect)
  • Update test description to show the actual detected interface name

DTSW-7683

On Jetson Orin Nano, the USB WiFi dongle uses predictable interface naming
(wlx* prefix) instead of the legacy wlan0 name. This caused the WiFi
hardware test to always fail on DB26J robots.

- Add _detect_wifi_interface() helper that checks robot hardware type
  and scans netifaces for wlx*/wlp* interfaces on Orin Nano
- Falls back to wlan0 on all other platforms (Jetson Nano, RPi, etc.)
- Change wifi_interface default from 'wlan0' to None (auto-detect)
- Update test description to show the actual detected interface name

DTSW-7683
@Tuxliri Tuxliri merged commit f544fd1 into ente Mar 11, 2026
5 checks passed
@Tuxliri Tuxliri deleted the fix-wifi-test-in-dt-ros-interface-to-dynamically-detect-wireless-interface-instead-of-hard-coding-wlan-0-DTSW-7683 branch March 11, 2026 23:23
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

Successfully merging this pull request may close these issues.

1 participant