Commit Graph

8 Commits

Author SHA1 Message Date
Kangping Dong
ad6f2cf6f9 [Thread] move ot-daemon into com.android.tethering
Test: build
Bug: 296211911
(cherry picked from https://android-review.googlesource.com/q/commit:72deb0fe8a23cbbfe52a89924aa335bfad762762)

Change-Id: I52320be04ceb9855a37db59b7ef961d2c8555357
2023-08-28 14:35:08 +00:00
Kangping Dong
a59b235aea [Thread] add "owner: google" for Thread HAL
This is for bypassing frozen HAL check on release branches.
Background:
We need to write code in the tethering module that depends on the
HAL interface and that code will be auto-merged to udc-mainline-prod
branch.

Merged-In is added to stop this CL from auto-merged to the main branch

Test: build
Bug: 296211911
Merged-In: I7e4bf260c03dd0500725fec068747e3b3d05820c
Change-Id: Id81adc9ff55649bf6d06cb2519d3e5805da15e5e
2023-08-25 05:20:14 +00:00
Zhanglong Xia
bed5323f89 change the Thread Network HAL api from 'reset' to 'hardwareReset'
This CL changes the API from 'reset' to 'hardwareReset' to make the
the definition of the API clearer. This CL also optimizes the Thread
Network HAL default implementation.

Bug: 289867661
Test: Run Thread stack on cuttlefish.
(cherry picked from https://android-review.googlesource.com/q/commit:a6165dcccf0096f8363b4b64b0f5332267eea330)
Merged-In: Id742453d9d7a0d369ac8f16905efdacfcfba1dbc
Change-Id: Id742453d9d7a0d369ac8f16905efdacfcfba1dbc
2023-08-25 05:18:54 +00:00
Zhanglong Xia
3bbcbcdc8a fix the Thread Network fuzz testing error
The current fuzz testing comunicates with the Thread radio chip
simulation program `ot-rcp`. The 'ot-rcp' is not installed by all
devices, which causes the fuzz testing program is unable to find
the program '/vendor/bin/ot-rcp'.

This commit enables the HAL to talk to the '/dev/null' to avoid
'/vendor/bin/ot-rcp' not being found.

Bug: 289627270
Test: Run the fuzz test on cuttlefish
(cherry picked from https://android-review.googlesource.com/q/commit:7f7e8647fa94b9d126cb88f366740f2b50b1f864)
Merged-In: If410d7d75abe05c7c2d2c82fa0450e925b9a48bb
Change-Id: If410d7d75abe05c7c2d2c82fa0450e925b9a48bb
2023-08-25 05:16:46 +00:00
Zhanglong Xia
83c4ef44e5 add Spinel SPI interface support
This commit enables the Thread Network HAL to support the Spinel
SPI interface.

Bug: 277286756
Test: Build and run otbr-agent on the emulator.
(cherry picked from https://android-review.googlesource.com/q/commit:7ae6d6f4ffe49c358978b9ea9c670ee2aefe4a27)
Merged-In: I6726eead5686f0afb33e5e2035ebc9021eca5afa
Change-Id: I6726eead5686f0afb33e5e2035ebc9021eca5afa
2023-08-25 05:16:23 +00:00
Zhanglong Xia
aa36cb13b9 add fuzz test and fix the Thread network HAL compile errors
Bug: 288825495
Test: Build and run fuzz test in cuttlefish
(cherry picked from https://android-review.googlesource.com/q/commit:5c027015c3437ecf54e9a8dc4eb8a7b4b3ec542b)
Merged-In: If14bd95657d6a71737a348ccbc6d1b05bbcc1f4c
Change-Id: If14bd95657d6a71737a348ccbc6d1b05bbcc1f4c
2023-08-25 05:15:54 +00:00
Zhanglong Xia
9fec41344b 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://android-review.googlesource.com/q/commit:24e527475f91bf52fe75e1342635ac08446c106c)
Merged-In: If58b5a8c75e40376ae6c6e93554afe750496308b
Change-Id: If58b5a8c75e40376ae6c6e93554afe750496308b
2023-08-25 05:14:47 +00:00
Kangping Dong
90bf909516 add OWNERS file for the threadnetwork HAL project
Test: N/A
Bug: 262471085
Change-Id: I024e7d5c1fe3adf7ae03f77d1580bd1f19f750c1
2022-12-14 14:42:14 +08:00