/hardware/interfaces/bluetooth/1.0/default/test/ |
D | h4_protocol_unittest.cc | 51 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 …]
|
D | mct_protocol_unittest.cc | 48 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/ |
D | hci_packetizer.cc | 35 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/ |
D | rtt.h | 103 wifi_rtt_preamble preamble; // RTT preamble to be used in the RTT frames member 281 wifi_rtt_preamble preamble; member
|
D | link_layer_stats.h | 69 u32 preamble :3; // 0: OFDM, 1:CCK, 2:HT 3:VHT 4..7 reserved member
|
/hardware/interfaces/wifi/1.0/default/ |
D | hidl_struct_util.cpp | 1810 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/ |
D | wifilogger_diag.cpp | 1339 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()
|
D | pkt_stats.h | 353 u16 preamble : 2; member
|
D | llstats.cpp | 359 … 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/ |
D | rtt.cpp | 417 rttParams[i].preamble); in createSetupRequest()
|
/hardware/interfaces/wifi/1.0/ |
D | types.hal | 192 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;
|