/hardware/interfaces/bluetooth/1.0/default/test/ |
D | h4_protocol_unittest.cc | 55 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 …]
|
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 | 36 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/ |
D | wifi_rtt_controller_hidl_test.cpp | 160 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/ |
D | rtt.h | 106 wifi_rtt_preamble preamble; // RTT preamble to be used in the RTT frames member 285 wifi_rtt_preamble preamble; member
|
D | link_layer_stats.h | 69 u32 preamble :3; // 0: OFDM, 1:CCK, 2:HT 3:VHT 4:HE 5..7 reserved member
|
/hardware/interfaces/wifi/1.4/ |
D | types.hal | 363 * 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/ |
D | wifilogger_diag.cpp | 1368 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 …]
|
D | pkt_stats.h | 587 u16 preamble : 2; member
|
D | llstats.cpp | 355 … 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/ |
D | hidl_struct_util.cpp | 2378 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/ |
D | rtt.cpp | 435 rttParams[i].preamble); in createSetupRequest()
|
/hardware/interfaces/wifi/1.0/ |
D | types.hal | 192 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;
|