Home
last modified time | relevance | path

Searched refs:UCI_MSG_HDR_SIZE (Results 1 – 5 of 5) sorted by relevance

/hardware/nxp/uwb/extns/inc/
Duci_defs.h29 #define UCI_MSG_HDR_SIZE 4 /* per UCI spec */ macro
108 ((UWB_HDR*)phUwb_GKI_getbuf((uint16_t)(UWB_HDR_SIZE + UCI_MSG_HDR_SIZE + \
/hardware/nxp/uwb/halimpl/hal/
DphNxpUciHal_ext.cc401 uint8_t index = UCI_MSG_HDR_SIZE + 2; // channel + Tag in CountryCodeCapsGenTxPowerPacket()
463 const uint8_t channel = p_data[UCI_MSG_HDR_SIZE + 0]; in phNxpUciHal_handle_set_calibration()
464 const uint8_t tag = p_data[UCI_MSG_HDR_SIZE + 1]; in phNxpUciHal_handle_set_calibration()
835 if (payload_len != (*data_len - UCI_MSG_HDR_SIZE)) { in phNxpUciHal_handle_set_app_config()
913 if (packet_len < (UCI_MSG_HDR_SIZE + bytes_deleted)) { in phNxpUciHal_handle_set_app_config()
918 payload_len = packet_len - UCI_MSG_HDR_SIZE; in phNxpUciHal_handle_set_app_config()
1008 memcpy(packet, p_data, UCI_MSG_HDR_SIZE); in phNxpUciHal_handle_get_caps_info()
1020 packet[UCI_PAYLOAD_LENGTH_OFFSET] = packet_len - UCI_MSG_HDR_SIZE; in phNxpUciHal_handle_get_caps_info()
DphNxpUciHal.cc229 if (data_len < UCI_MSG_HDR_SIZE) in phNxpUciHal_parse()
250 if (p_data[UCI_MSG_HDR_SIZE + 1] == in phNxpUciHal_parse()
503 length += UCI_MSG_HDR_SIZE; in phNxpUciHal_read_complete()
667 if (retlen <= UCI_MSG_HDR_SIZE) { in parseAntennaConfig()
681 uint8_t index = UCI_MSG_HDR_SIZE + 1; // Excluding the header and number of params in parseAntennaConfig()
998 int max_config_length = NXP_MAX_CONFIG_STRING_LEN - UCI_MSG_HDR_SIZE in phNxpUciHal_sessionInitialization()
1026 cmdlen = UCI_MSG_HDR_SIZE + sizeof(sessionId) + retlen; in phNxpUciHal_sessionInitialization()
DsessionTrack.cc324 packet[UCI_PAYLOAD_LENGTH_OFFSET] = packet.size() - UCI_MSG_HDR_SIZE; in StopRanging()
395 packet[UCI_PAYLOAD_LENGTH_OFFSET] = packet.size() - UCI_MSG_HDR_SIZE; in DeleteUrsk()
452 packet[UCI_PAYLOAD_LENGTH_OFFSET] = packet.size() - UCI_MSG_HDR_SIZE; in GetAppConfLe32()
490 packet[UCI_PAYLOAD_LENGTH_OFFSET] = packet.size() - UCI_MSG_HDR_SIZE; in SetStsIndex()
/hardware/nxp/uwb/halimpl/hal/sr200/
DphNxpUciHal_LC.cc118 uint8_t index = UCI_MSG_HDR_SIZE; // Excluding the header and Versions
132 if (rx_data_len < UCI_MSG_HDR_SIZE){
169 uint8_t index = UCI_MSG_HDR_SIZE; // Excluding the header and Versions
336 int cmdLen = buffer[3] + UCI_MSG_HDR_SIZE;