Commit Graph

6 Commits

Author SHA1 Message Date
ELIYAZ MOMIN
3f803e7b82 Revert "check whether the network interface exists before using it"
This reverts commit a5faa56a62.

Reason for revert: <Potential culprit for b/379818258  - verifying through ABTD before revert submission. This is part of the standard investigation process, and does not mean your CL will be reverted.>

Change-Id: Ib41a4bf760fd98e9fbc469a20af5bc3ed97e0cee
2024-11-19 11:05:30 +00:00
Zhanglong Xia
a5faa56a62 check whether the network interface exists before using it
Some build targets of the cuttlefish project don't have the
ethernet interface. This CL checks whether the network interface
exists before setting it as Thread simulation local interface.

Bug: b/378777255
Test: acloudw create --branch git_main --build-id P85047583 --build-target cf_x86_64_auto-trunk_staging-userdebug
Change-Id: Ifb1e316f59fac7babf34a7c290d5234853de8653
2024-11-19 13:40:52 +08:00
Yakun Xu
c7897c3beb Thread: simulate radio over Ethernet on Cuttlefish
This commit simulates Thread radio over Ethernet on cuttlefish.

This enables two cuttlefish instances to communicate over Thread.

Test: presubmit
Bug: 329188649

Change-Id: I48b20a9eb0bbc535e67266ca9cf7e4bbc5a676d4
2024-05-16 16:30:34 +08:00
Yakun Xu
c1d3f9a6d2 Thread HAL: support dynamic radio URLs
This commit enables support of dynamic radio URLs, so that the radio
URL can be runtime generated.

Bug: 329188649
Test: presubmit
Change-Id: I11a0d3de47609d59ba50c8b5317c8238f09e18dd
2024-04-29 19:11:42 +08:00
Zhanglong Xia
5c027015c3 add fuzz test and fix the Thread network HAL compile errors
Bug: 288825495
Test: Build and run fuzz test in cuttlefish

Change-Id: If14bd95657d6a71737a348ccbc6d1b05bbcc1f4c
2023-06-26 17:55:39 +08:00
Zhanglong Xia
24e527475f Add Thread network HAL
Bug: b/203492431
Test: Build and run the VTS test and run otbr-agent on Android emulator.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b82b0478059dd6203f43d5917558e34fd4ed44d5)
Merged-In: If58b5a8c75e40376ae6c6e93554afe750496308b
Change-Id: If58b5a8c75e40376ae6c6e93554afe750496308b
2023-06-14 22:24:24 +08:00