Home
last modified time | relevance | path

Searched refs:preamble (Results 1 – 13 of 13) sorted by relevance

/hardware/interfaces/bluetooth/1.0/default/test/
Dh4_protocol_unittest.cc55 MATCHER_P3(HidlVecMatches, preamble, preamble_length, payload, "") {
61 if (memcmp(preamble, arg.data(), preamble_length) != 0) {
120 char preamble[5] = {HCI_PACKET_TYPE_ACL_DATA, 19, 92, 0, 0}; in WriteAndExpectInboundAclData() local
122 preamble[3] = length & 0xFF; in WriteAndExpectInboundAclData()
123 preamble[4] = (length >> 8) & 0xFF; in WriteAndExpectInboundAclData()
126 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
132 EXPECT_CALL(acl_cb_, Call(HidlVecMatches(preamble + 1, sizeof(preamble) - 1, in WriteAndExpectInboundAclData()
147 char preamble[4] = {HCI_PACKET_TYPE_SCO_DATA, 20, 17, 0}; in WriteAndExpectInboundScoData() local
148 preamble[3] = strlen(payload) & 0xFF; in WriteAndExpectInboundScoData()
151 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundScoData()
[all …]
Dmct_protocol_unittest.cc48 MATCHER_P3(HidlVecMatches, preamble, preamble_length, payload, "") {
54 if (memcmp(preamble, arg.data(), preamble_length) != 0) {
121 char preamble[4] = {19, 92, 0, 0}; in WriteAndExpectInboundAclData() local
123 preamble[2] = length & 0xFF; in WriteAndExpectInboundAclData()
124 preamble[3] = (length >> 8) & 0xFF; in WriteAndExpectInboundAclData()
128 write(fake_uart_[CH_ACL_IN], preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
135 Call(HidlVecMatches(preamble, sizeof(preamble), payload))) in WriteAndExpectInboundAclData()
149 char preamble[2] = {9, 0}; in WriteAndExpectInboundEvent() local
150 preamble[1] = strlen(payload) & 0xFF; in WriteAndExpectInboundEvent()
153 TEMP_FAILURE_RETRY(write(fake_uart_[CH_EVT], preamble, sizeof(preamble))); in WriteAndExpectInboundEvent()
[all …]
/hardware/interfaces/bluetooth/1.0/default/
Dhci_packetizer.cc36 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument
38 if (type != HCI_PACKET_TYPE_ACL_DATA) return preamble[offset]; in HciGetPacketLengthForType()
39 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
/hardware/interfaces/wifi/1.4/vts/functional/
Dwifi_rtt_controller_hidl_test.cpp160 int preamble = 1; in TEST_P() local
164 preamble <<= 1; in TEST_P()
180 config.preamble = (RttPreamble)preamble; in TEST_P()
/hardware/libhardware_legacy/include/hardware_legacy/
Drtt.h106 wifi_rtt_preamble preamble; // RTT preamble to be used in the RTT frames member
285 wifi_rtt_preamble preamble; member
Dlink_layer_stats.h69 u32 preamble :3; // 0: OFDM, 1:CCK, 2:HT 3:VHT 4:HE 5..7 reserved member
/hardware/interfaces/wifi/1.4/
Dtypes.hal363 * RTT preamble to be used in the RTT frames.
365 RttPreamble preamble;
403 * Bit mask indicates what preamble is supported by initiator.
427 RttPreamble preamble;
437 WifiRatePreamble preamble;
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp1368 switch (mcs.mcs_s.preamble) { in get_rate_v1()
1432 ALOGE("Unexpected preamble %d", mcs.mcs_s.preamble); in get_rate_v1()
1466 if ((mcs.mcs_s.preamble <= WL_PREAMBLE_VHT) && (mcs.mcs_s.rate < 10)) { in get_rate()
1467 switch(mcs.mcs_s.preamble) in get_rate()
1472 tx_rate = rate_lookup [mcs.mcs_s.preamble][mcs.mcs_s.rate]; in get_rate()
1620 mcs->mcs_s.preamble = WIFI_HW_RATECODE_PREAM_CCK; in parse_rx_stats_v2()
1623 mcs->mcs_s.preamble = WIFI_HW_RATECODE_PREAM_OFDM; in parse_rx_stats_v2()
1632 mcs->mcs_s.preamble = WIFI_HW_RATECODE_PREAM_HT; in parse_rx_stats_v2()
1641 mcs->mcs_s.preamble = WIFI_HW_RATECODE_PREAM_VHT; in parse_rx_stats_v2()
1750 mcs->mcs_s.preamble = WL_PREAMBLE_OFDM; in parse_rx_stats()
[all …]
Dpkt_stats.h587 u16 preamble : 2; member
Dllstats.cpp355 … stats->rate.preamble = nla_get_u8(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_RATE_PREAMBLE]); in get_wifi_rate_stat()
428 stats->rate.preamble, in get_wifi_rate_stat()
/hardware/interfaces/wifi/1.4/default/
Dhidl_struct_util.cpp2378 WifiRatePreamble convertLegacyWifiRatePreambleToHidl(uint8_t preamble) { in convertLegacyWifiRatePreambleToHidl() argument
2379 switch (preamble) { in convertLegacyWifiRatePreambleToHidl()
2393 CHECK(false) << "Unknown legacy preamble: " << preamble; in convertLegacyWifiRatePreambleToHidl()
2505 legacy_config->preamble = in convertHidlRttConfigToLegacy()
2506 convertHidlRttPreambleToLegacy(hidl_config.preamble); in convertHidlRttConfigToLegacy()
2579 legacy_responder->preamble = in convertHidlRttResponderToLegacy()
2580 convertHidlRttPreambleToLegacy(hidl_responder.preamble); in convertHidlRttResponderToLegacy()
2595 hidl_responder->preamble = in convertLegacyRttResponderToHidl()
2596 convertLegacyRttPreambleToHidl(legacy_responder.preamble); in convertLegacyRttResponderToHidl()
2646 hidl_rate->preamble = in convertLegacyWifiRateInfoToHidl()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Drtt.cpp435 rttParams[i].preamble); in createSetupRequest()
/hardware/interfaces/wifi/1.0/
Dtypes.hal192 WifiRatePreamble preamble;
1784 * RTT preamble to be used in the RTT frames.
1786 RttPreamble preamble;
1930 * Bit mask indicates what preamble is supported by initiator.
2027 RttPreamble preamble;