Lines Matching refs:packet_len
74 std::function<void(size_t packet_len, const uint8_t *packet)> callback;
78 std::function<void(size_t packet_len, const uint8_t *packet)> callback) : in phNxpUciHal_RxHandler()
91 std::function<void(size_t packet_len, const uint8_t *packet)> callback) in phNxpUciHal_rx_handler_add() argument
106 static void phNxpUciHal_rx_handler_check(size_t packet_len, const uint8_t *packet) in phNxpUciHal_rx_handler_check() argument
116 handler->callback(packet_len, packet); in phNxpUciHal_rx_handler_check()
798 auto dev_info_cb = [](size_t packet_len, const uint8_t *packet) mutable { in cacheDevInfoRsp() argument
799 if (packet_len < 5 || packet[UCI_RESPONSE_STATUS_OFFSET] != UWBSTATUS_SUCCESS) { in cacheDevInfoRsp()
803 if (packet_len > sizeof(nxpucihal_ctrl.dev_info_resp)) { in cacheDevInfoRsp()
813 if (packet_len < firaDevInfoRspSize) { in cacheDevInfoRsp()
819 if (packet_len != (firaDevInfoRspSize + vendorSpecificLen)) { in cacheDevInfoRsp()
823 for (uint8_t i = firaDevInfoRspSize; (i + 2) <= packet_len; ) { in cacheDevInfoRsp()
827 if (i + length > packet_len) in cacheDevInfoRsp()
841 memcpy(nxpucihal_ctrl.dev_info_resp, packet, packet_len); in cacheDevInfoRsp()
885 …auto dev_status_ntf_cb = [&dev_status, &devStatusNtfWait](size_t packet_len, const uint8_t *packet… in phNxpUciHal_init_hw() argument
886 if (packet_len >= 5) { in phNxpUciHal_init_hw()