Home
last modified time | relevance | path

Searched full:uci (Results 1 – 25 of 401) sorted by relevance

12345678910>>...17

/aosp_15_r20/external/rust/pica/src/
Dapp_config.rs1 use crate::packets::uci;
4 /// [UCI] 8.3 Application Configuration Parameters.
14 /// [UCI] 8.3 Application Configuration Parameters.
17 /// See [UCI] Table 45: APP Configuration Parameters IDs
24 pub device_type: Option<uci::DeviceType>,
25 pub ranging_round_usage: Option<uci::RangingRoundUsage>,
26 pub sts_config: uci::StsConfig,
27 pub multi_node_mode: Option<uci::MultiNodeMode>,
28 channel_number: uci::ChannelNumber,
45 mac_fcs_type: uci::MacFcsType,
[all …]
Ddevice.rs15 use crate::packets::uci::{self, *};
38 /// cf. [UCI] 8.3 Table 29
80 /// [UCI] 8.2 Device Configuration Parameters
89 // [UCI] 6.3.1 Setting the Configuration
105 /// [UCI] 5. UWBS Device State Machine
220 ResetConfig::UwbsReset => uci::Status::Ok, in core_device_reset()
238 status: uci::Status::Ok, in core_get_device_info()
260 status: uci::Status::Ok, in core_get_caps_info()
268 assert_eq!(self.state, DeviceState::DeviceStateReady); // UCI 6.3 in core_set_config()
270 // [UCI] 6.3.1 Setting the Configuration in core_set_config()
[all …]
/aosp_15_r20/external/rust/pica/tests/
Ddata_transfer.py21 from pica.packets import uci
32 uci.SessionInitCmd(
34 session_type=uci.SessionType.FIRA_RANGING_AND_IN_BAND_DATA_SESSION,
38 await host.expect_control(uci.SessionInitRsp(status=uci.Status.OK))
41 uci.SessionStatusNtf(
43 session_state=uci.SessionState.SESSION_STATE_INIT,
52 uci.SessionSetAppConfigCmd(
55 uci.AppConfigTlv(
56 cfg_id=uci.AppConfigTlvType.DEVICE_ROLE,
57 v=bytes([uci.DeviceRole.INITIATOR]),
[all …]
Dranging.py22 from pica.packets import uci
30 uci.SessionInitCmd(
31 session_id=0, session_type=uci.SessionType.FIRA_RANGING_SESSION
35 await host.expect_control(uci.SessionInitRsp(status=uci.Status.OK))
38 uci.SessionStatusNtf(
40 session_state=uci.SessionState.SESSION_STATE_INIT,
49 uci.SessionSetAppConfigCmd(
52 uci.AppConfigTlv(
53 cfg_id=uci.AppConfigTlvType.DEVICE_ROLE,
54 v=bytes([uci.DeviceRole.INITIATOR]),
[all …]
/aosp_15_r20/out/soong/.intermediates/external/uwb/src/libuwb_core/android_arm64_armv8-2a_cortex-a55_rlib_rlib-std_apex33/
Dlibuwb_core.rlib.clippy.d.raw1uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
3uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
23 external/uwb/src/rust/uwb_core/src/uci.rs:
24 external/uwb/src/rust/uwb_core/src/uci/command.rs:
25 external/uwb/src/rust/uwb_core/src/uci/message.rs:
26 external/uwb/src/rust/uwb_core/src/uci/pcapng_block.rs:
27 external/uwb/src/rust/uwb_core/src/uci/response.rs:
28 external/uwb/src/rust/uwb_core/src/uci/timeout_uci_hal.rs:
29 external/uwb/src/rust/uwb_core/src/uci/error.rs:
30 external/uwb/src/rust/uwb_core/src/uci/notification.rs:
[all …]
Dlibuwb_core.rlib.d.raw1uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
3uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
23 external/uwb/src/rust/uwb_core/src/uci.rs:
24 external/uwb/src/rust/uwb_core/src/uci/command.rs:
25 external/uwb/src/rust/uwb_core/src/uci/message.rs:
26 external/uwb/src/rust/uwb_core/src/uci/pcapng_block.rs:
27 external/uwb/src/rust/uwb_core/src/uci/response.rs:
28 external/uwb/src/rust/uwb_core/src/uci/timeout_uci_hal.rs:
29 external/uwb/src/rust/uwb_core/src/uci/error.rs:
30 external/uwb/src/rust/uwb_core/src/uci/notification.rs:
[all …]
Dlibuwb_core.rlib.d1uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
Dlibuwb_core.rlib.clippy.d1uci.rs external/uwb/src/rust/uwb_core/src/uci/command.rs external/uwb/src/rust/uwb_core/src/uci/me…
/aosp_15_r20/tools/test/connectivity/acts/framework/acts/controllers/openwrt_lib/
Dnetwork_settings.py131 self.ssh.run("uci commit")
217 """Count in uci config.
225 count = self.ssh.run("uci show %s | grep =%s" % (config, key),
282 self.ssh.run("uci set dhcp.@dnsmasq[0].local='/%s/'" % domain_name)
283 self.ssh.run("uci set dhcp.@dnsmasq[0].domain='%s'" % domain_name)
301 self.ssh.run("uci set dhcp.@dnsmasq[0].local='/lan/'")
302 self.ssh.run("uci set dhcp.@dnsmasq[0].domain='lan'")
315 self.ssh.run("uci add dhcp domain")
316 self.ssh.run("uci set dhcp.@domain[-1].name='%s'" % domain_name)
317 self.ssh.run("uci set dhcp.@domain[-1].ip='%s'" % domain_ip)
[all …]
Dwireless_settings_applier.py62 self.ssh.run("uci set wireless.%s.channel='%s'" % (self.radio_2g, self.channel_2g))
63 self.ssh.run("uci set wireless.%s.channel='%s'" % (self.radio_5g, self.channel_5g))
65 self.ssh.run("uci set wireless.%s.htmode='VHT20'" % self.radio_5g)
68 self.ssh.run("uci set wireless.%s.htmode='VHT40'" % self.radio_5g)
71 self.ssh.run("uci set wireless.%s.htmode='VHT40'" % self.radio_5g)
72 self.ssh.run("uci set wireless.%s.country3=0x49" % self.radio_5g)
77 self.ssh.run("uci set wireless.%s.htmode='VHT40'" % self.radio_5g)
83 self.ssh.run("uci set wireless.%s.disabled='%s'" %
85 self.ssh.run("uci set wireless.%s.disabled='%s'" %
89 self.ssh.run("uci set wireless.%s.disabled='%s'" % (self.radio_2g, ENABLE_RADIO))
[all …]
/aosp_15_r20/external/rust/pica/py/pica/
Dconsole.py31 from pica.packets import uci
55 """List the UCI devices and anchors currently existing within the Pica
73 f"{self.http_address}/init-uci-device/{mac_address}",
130 """Set Pica UCI device or anchor position"""
149 uci.DeviceResetCmd(reset_config=uci.ResetConfig.UWBS_RESET)
153 """Retrieve the device information like (UCI version and other vendor specific info)."""
154 self.host.send_control(uci.GetDeviceInfoCmd())
158 self.host.send_control(uci.GetCapsInfoCmd())
163 uci.SetConfigCmd(
165 uci.DeviceConfigTlv(
[all …]
/aosp_15_r20/out/soong/raw-aosp_shiba/fb/
Dfb126883da3b64e95f6e053ad887dbdc4a4b434f157 from: "external/uwb/src/rust/uwb_core/src/uci.rs"
158 to: "external/uwb/src/rust/uwb_core/src/uci.rs"
161 from: "external/uwb/src/rust/uwb_core/src/uci/command.rs"
162 to: "external/uwb/src/rust/uwb_core/src/uci/command.rs"
165 from: "external/uwb/src/rust/uwb_core/src/uci/error.rs"
166 to: "external/uwb/src/rust/uwb_core/src/uci/error.rs"
169 from: "external/uwb/src/rust/uwb_core/src/uci/message.rs"
170 to: "external/uwb/src/rust/uwb_core/src/uci/message.rs"
173 from: "external/uwb/src/rust/uwb_core/src/uci/mock_uci_hal.rs"
174 to: "external/uwb/src/rust/uwb_core/src/uci/mock_uci_hal.rs"
[all …]
/aosp_15_r20/external/rust/pica/py/pica/pica/
D__init__.py4 from .packets import uci
5 from .packets.uci import CommonPacketHeader, ControlPacketHeader, DataPacketHeader
7 UciPacket = TypeVar("UciPacket", uci.DataPacket, uci.ControlPacket)
41 """Read a single UCI packet from the socket.
44 the UCI transport."""
56 common_header: CommonPacketHeader = uci.CommonPacketHeader.parse_all(
60 if common_header.mt == uci.MessageType.DATA:
62 … data_header: DataPacketHeader = uci.DataPacketHeader.parse_all(header_bytes) # type: ignore
67 …control_header: ControlPacketHeader = uci.ControlPacketHeader.parse_all(header_bytes) # type: ign…
74 case uci.PacketBoundaryFlag.COMPLETE:
[all …]
/aosp_15_r20/out/soong/.intermediates/packages/modules/Uwb/service/uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/unstripped/
Dlibuwb_uci_jni_rust.so.d.raw1uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/unstripped/libuwb_uci_…
3uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/unstripped/libuwb_uci_…
5 packages/modules/Uwb/service/uci/jni/src/lib.rs:
6 packages/modules/Uwb/service/uci/jni/src/dispatcher.rs:
7 packages/modules/Uwb/service/uci/jni/src/helper.rs:
8 packages/modules/Uwb/service/uci/jni/src/jclass_name.rs:
9 packages/modules/Uwb/service/uci/jni/src/notification_manager_android.rs:
10 packages/modules/Uwb/service/uci/jni/src/unique_jvm.rs:
11 packages/modules/Uwb/service/uci/jni/src/uci_jni_android_new.rs:
/aosp_15_r20/out/soong/.intermediates/packages/modules/Uwb/service/uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/
Dlibuwb_uci_jni_rust.so.clippy.d.raw1uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/libuwb_uci_jni_rust.so…
3uci/jni/libuwb_uci_jni_rust/android_arm64_armv8-2a_cortex-a55_shared_apex33/libuwb_uci_jni_rust.so…
5 packages/modules/Uwb/service/uci/jni/src/lib.rs:
6 packages/modules/Uwb/service/uci/jni/src/dispatcher.rs:
7 packages/modules/Uwb/service/uci/jni/src/helper.rs:
8 packages/modules/Uwb/service/uci/jni/src/jclass_name.rs:
9 packages/modules/Uwb/service/uci/jni/src/notification_manager_android.rs:
10 packages/modules/Uwb/service/uci/jni/src/unique_jvm.rs:
11 packages/modules/Uwb/service/uci/jni/src/uci_jni_android_new.rs:
/aosp_15_r20/external/uwb/src/rust/uwb_core/src/uci/
H A Duci_manager_sync.rs15 //! This module offers a synchornized interface at UCI level.
17 //! The module is designed with the replacement for Android UCI JNI adaptation in mind. The handling
19 //! its behavior aligned with the Android JNI UCI, and routes the UciNotifications to
37 use crate::uci::mock_uci_manager::MockUciManager;
38 use crate::uci::notification::{
42 use crate::uci::uci_hal::UciHal;
43 use crate::uci::uci_logger::{UciLogger, UciLoggerMode};
44 use crate::uci::uci_manager::{UciManager, UciManagerImpl};
246 /// Start UCI HAL and blocking until UCI commands can be sent.
251 /// Stop the UCI HAL.
[all …]
H A Duci_manager.rs36 use crate::uci::command::UciCommand;
37 use crate::uci::message::UciMessage;
38 use crate::uci::notification::{
42 use crate::uci::response::UciResponse;
43 use crate::uci::timeout_uci_hal::TimeoutUciHal;
44 use crate::uci::uci_hal::{UciHal, UciHalPacket};
45 use crate::uci::uci_logger::{UciLogger, UciLoggerMode, UciLoggerWrapper};
60 /// abstracts the UCI commands, responses, and notifications.
64 // Set the sendor of the UCI notificaions.
90 // Open the UCI HAL.
[all …]
H A Duci_hal.rs15 //! This module defines the UciHal trait, used for the UCI hardware abstration layer.
26 use crate::uci::command::UciCommand;
28 /// The byte buffer of a UCI packet that is used to communicate with the UciHal trait.
29 /// The format of the byte buffer should follow the UCI packet spec.
32 /// The trait for the UCI hardware abstration layer. The client of this library should implement
37 /// Open the UCI HAL and power on the UWB Subsystem.
40 /// completes successfully, the UciHal instance should store |packet_sender| and send the UCI
44 /// Close the UCI HAL.
50 /// Write the UCI command to the UWB Subsystem.
55 // A UCI command message may consist of multiple UCI packets when the payload is over the in send_command()
[all …]
H A Dpcapng_uci_logger_factory.rs16 //! trait and logging UCI packets into PCAPNG format.
26 use crate::uci::pcapng_block::{
29 use crate::uci::uci_logger_factory::UciLoggerFactory;
30 use crate::uci::uci_logger_pcapng::UciLoggerPcapng;
62 error!("UCI log: associated LogWriterActor is dead"); in build_logger()
171 "UCI log: unexpected chip_id {} with associated interface id {}", in handle_new_chip()
194 debug!("UCI log: LogWriterActor started"); in run()
199 error!("UCI log: failed logging new chip {}", &chip_id); in run()
208 "UCI log: failed writting packet to log file {:?}", in run()
213 error!("UCI log: failed writting packet to log file: no log file."); in run()
[all …]
/aosp_15_r20/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/fira/
DFiraOpenSessionParams.java1150 /** UCI spec default: DS-TWR with deferred mode */
1158 /** UCI spec default: 0ms */
1162 /** UCI spec default: 2400 RSTU (2 ms). */
1165 /** UCI spec default: 25 slots per ranging round. */
1168 /** UCI spec default: RANGING_INTERVAL(Fira 2.0: RANGING_DURATION) 200 ms */
1171 /** UCI spec default: no block striding. */
1174 /** UCI spec default: no hopping. */
1177 /** UCI spec default: Termination is disabled and ranging round attempt is infinite */
1181 /** UCI spec default: priority 50 */
1184 /** UCI spec default: 2-byte short address */
[all …]
/aosp_15_r20/external/openwrt-prebuilts/shared/uci-defaults/
H A D0_default_config6 rule_name=$(uci add network rule)
17 uci set network.wan.gateway=${word#*"="}
19 uci set network.wan.ipaddr=${word#*"="}
21 uci set network.wan.broadcast=${word#*"="}
32 uci set network.wan.netmask="255.255.255.0"
34 uci set network.wan.netmask="255.255.255.252"
48 uci set uhttpd.main.cgi_prefix="/$web_base/cgi-bin"
49 uci delete uhttpd.main.lua_prefix
50 uci add_list uhttpd.main.lua_prefix="/$web_base/cgi-bin/luci=/usr/lib/lua/luci/sgi/uhttpd.lua"
51 uci set uhttpd.main.ubus_prefix="/$web_base/ubus"
[all …]
/aosp_15_r20/packages/modules/Uwb/service/uci/jni/src/
Dnotification_manager_android.rs34 use uwb_core::uci::uci_manager_sync::{NotificationManager, NotificationManagerBuilder};
35 use uwb_core::uci::{
259 /// that local java UCI classes can be loaded.
262 /// Global reference to the java class holding the various UCI notification callback functions.
287 error!("UCI JNI: failed to create Java String: {e:?}"); in find_local_class()
298 error!("UCI JNI: failed to find java class {}: {:?}", class_name, e); in find_local_class()
304 error!("UCI JNI: failed to find java class {}: {:?}", class_name, e); in find_local_class()
312 error!("UCI JNI: global reference conversion failed: {:?}", e); in find_local_class()
327 debug!("UCI JNI: callback {}", name); in cached_jni_call()
329 error!("UCI JNI: Invalid type signature: {:?}", e); in cached_jni_call()
[all …]
/aosp_15_r20/external/uwb/src/rust/uwb_core/
H A DREADME.md34 The `uwb_uci_packets` crate is aimed for encoding and decoding the UCI packets.
35 All the details of the UCI packet format should be encapsulated here. That
36 means, the client of this crate should not be aware of how the UCI messages are
40 UCI feature cannot be achieved using PDL alone, a workaround should be created
42 the parsing methods manually) to encapsulate the details of UCI packet format.
50 The params modules defines the parameters types, including UCI, FiRa, and CCC
57 ## UCI section in Code Architecture
59 The `uci` module is aimed to provide a rust-idiomatic way that implements the
60 UCI interface, such as:
62 - Create a public method for each UCI command, and wait for its corresponding
[all …]
/aosp_15_r20/packages/modules/Uwb/service/java/com/android/server/uwb/data/
DUwbConfig.java229 /** UCI spec default: DS-TWR with deferred mode */
233 /** UCI spec default: SP3 */
240 /** UCI spec default: Time Based */
247 /** UCI spec default: time of flight report enabled */
250 /** UCI spec default: No AoA azimuth report */
253 /** UCI spec default: No AoA Elevation report */
256 /** UCI spec default: No AoA FOM report */
259 /** UCI spec default: No Block Striding */
262 /** UCI spec default: 2400 RSTU (2 ms). */
265 /** UCI spec default: 30 slots per ranging round. */
[all …]
/aosp_15_r20/packages/modules/Uwb/service/support_lib/src/com/google/uwb/support/rftest/
DRfTestOpenSessionParams.java422 /** UCI spec default: Channel 9, which is the only mandatory channel. */
432 /** UCI spec default: 2400 RSTU (2 ms). */
437 /** UCI spec default: CRC-16 */
444 /** UCI spec default 10 */
447 /** UCI spec default 2, BPRF */
450 /** UCI spec default 6.81 Mbps */
453 /** UCI spec default 64 symbols */
456 /** UCI spec default BPRF */
459 /** UCI spec default 1 STS segment */
462 /** UCI spec default 1000 */
[all …]

12345678910>>...17