Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/1.0/default/test/
Dh4_protocol_unittest.cc51 MATCHER_P3(HidlVecMatches, preamble, preamble_length, payload, "") {
57 if (memcmp(preamble, arg.data(), preamble_length) != 0) {
116 char preamble[5] = {HCI_PACKET_TYPE_ACL_DATA, 19, 92, 0, 0}; in WriteAndExpectInboundAclData() local
118 preamble[3] = length & 0xFF; in WriteAndExpectInboundAclData()
119 preamble[4] = (length >> 8) & 0xFF; in WriteAndExpectInboundAclData()
122 TEMP_FAILURE_RETRY(write(fake_uart_, preamble, sizeof(preamble))); in WriteAndExpectInboundAclData()
128 EXPECT_CALL(acl_cb_, Call(HidlVecMatches(preamble + 1, sizeof(preamble) - 1, in WriteAndExpectInboundAclData()
143 char preamble[4] = {HCI_PACKET_TYPE_SCO_DATA, 20, 17, 0}; in WriteAndExpectInboundScoData() local
144 preamble[3] = strlen(payload) & 0xFF; in WriteAndExpectInboundScoData()
147 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.cc35 size_t HciGetPacketLengthForType(HciPacketType type, const uint8_t* preamble) { in HciGetPacketLengthForType() argument
37 if (type != HCI_PACKET_TYPE_ACL_DATA) return preamble[offset]; in HciGetPacketLengthForType()
38 return (((preamble[offset + 1]) << 8) | preamble[offset]); in HciGetPacketLengthForType()
/hardware/libhardware_legacy/include/hardware_legacy/
Drtt.h103 wifi_rtt_preamble preamble; // RTT preamble to be used in the RTT frames member
281 wifi_rtt_preamble preamble; member
Dlink_layer_stats.h69 u32 preamble :3; // 0: OFDM, 1:CCK, 2:HT 3:VHT 4..7 reserved member
/hardware/interfaces/wifi/1.0/default/
Dhidl_struct_util.cpp1810 WifiRatePreamble convertLegacyWifiRatePreambleToHidl(uint8_t preamble) { in convertLegacyWifiRatePreambleToHidl() argument
1811 switch (preamble) { in convertLegacyWifiRatePreambleToHidl()
1823 CHECK(false) << "Unknown legacy preamble: " << preamble; in convertLegacyWifiRatePreambleToHidl()
1929 legacy_config->preamble = in convertHidlRttConfigToLegacy()
1930 convertHidlRttPreambleToLegacy(hidl_config.preamble); in convertHidlRttConfigToLegacy()
2005 legacy_responder->preamble = in convertHidlRttResponderToLegacy()
2006 convertHidlRttPreambleToLegacy(hidl_responder.preamble); in convertHidlRttResponderToLegacy()
2021 hidl_responder->preamble = in convertLegacyRttResponderToHidl()
2022 convertLegacyRttPreambleToHidl(legacy_responder.preamble); in convertLegacyRttResponderToHidl()
2073 hidl_rate->preamble = in convertLegacyWifiRateInfoToHidl()
[all …]
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifilogger_diag.cpp1339 if ((mcs.mcs_s.preamble <= WL_PREAMBLE_VHT) && (mcs.mcs_s.rate < 10)) { in get_rate()
1340 switch(mcs.mcs_s.preamble) in get_rate()
1345 tx_rate = rate_lookup [mcs.mcs_s.preamble][mcs.mcs_s.rate]; in get_rate()
1493 mcs->mcs_s.preamble = WL_PREAMBLE_OFDM; in parse_rx_stats()
1500 mcs->mcs_s.preamble = WL_PREAMBLE_HT; in parse_rx_stats()
1509 mcs->mcs_s.preamble = WL_PREAMBLE_VHT; in parse_rx_stats()
1571 mcs.mcs_s.preamble = sbw->preamble_type; in get_tx_mcs()
Dpkt_stats.h353 u16 preamble : 2; member
Dllstats.cpp359 … stats->rate.preamble = nla_get_u8(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_RATE_PREAMBLE]); in get_wifi_rate_stat()
432 stats->rate.preamble, in get_wifi_rate_stat()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Drtt.cpp417 rttParams[i].preamble); in createSetupRequest()
/hardware/interfaces/wifi/1.0/
Dtypes.hal192 WifiRatePreamble preamble;
1782 * RTT preamble to be used in the RTT frames.
1784 RttPreamble preamble;
1928 * Bit mask indicates what preamble is supported by initiator.
2025 RttPreamble preamble;