Skip to main content

hisi_rf_link/
lib.rs

1//! Deterministic host-side transforms for HiSilicon radio artifacts.
2
3#[cfg(feature = "tool")]
4pub mod ble_init_profile;
5#[cfg(feature = "tool")]
6pub mod ble_profile;
7#[cfg(feature = "tool")]
8pub mod native_supplicant;
9#[cfg(feature = "tool")]
10pub mod normalize;
11
12/// Link order and archive-selection contract for the WS63 Wi-Fi payload.
13pub const WS63_ARCHIVE_PROFILE: &str = include_str!("../profiles/ws63.toml");
14/// Hash-bound task classification used by the runtime compatibility audit.
15pub const WS63_SCHEDULING_PROFILE: &str = include_str!("../profiles/ws63-scheduling.toml");
16/// Bounded LiteOS/architecture namespace required by the current payload.
17pub const WS63_RUNTIME_COMPAT_PROFILE: &str = include_str!("../profiles/ws63-runtime-compat.toml");
18/// Native hostap archive and legacy-boundary contract.
19pub const WS63_SUPPLICANT_BOUNDARY_PROFILE: &str =
20    include_str!("../profiles/ws63-supplicant-boundary.toml");
21/// Hash-bound BLE archive and external-capability ownership contract.
22pub const WS63_BLE_B0_PROFILE: &str = include_str!("../profiles/ws63-ble-b0.toml");
23/// Generated BLE archive, ABI, relocation, and external-symbol inventory.
24pub const WS63_BLE_B0_REPORT: &str = include_str!("../profiles/ws63-ble-b0-report.json");
25/// Hash-bound BLE initialization/discovery roots and task resources.
26pub const WS63_BLE_B1_PROFILE: &str = include_str!("../profiles/ws63-ble-b1.toml");
27/// Generated rooted member closure and required BLE runtime capabilities.
28pub const WS63_BLE_B1_REPORT: &str = include_str!("../profiles/ws63-ble-b1-report.json");
29/// Hash-bound SLE host archive and external-capability ownership contract.
30pub const WS63_SLE_S0_PROFILE: &str = include_str!("../profiles/ws63-sle-s0.toml");
31/// Generated SLE archive, ABI, relocation, and external-symbol inventory.
32pub const WS63_SLE_S0_REPORT: &str = include_str!("../profiles/ws63-sle-s0-report.json");