aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/emulator
AgeCommit message (Expand)AuthorFilesLines
2024-04-04bthost: handle client L2CAP conn in LE credit based modePauli Virtanen1-25/+180
2024-04-04btdev: set nonzero SCO mtu & max pktPauli Virtanen1-2/+9
2024-04-02btdev: Fix framenting PA reportsLuiz Augusto von Dentz1-1/+1
2024-04-02bthost: Add bthost_set_baseLuiz Augusto von Dentz2-0/+20
2024-04-02bthost: Add support for Set PA dataIulia Tanasescu2-2/+51
2024-02-27btdev: Fix not resetting big_handle on HCI_ResetLuiz Augusto von Dentz1-0/+4
2024-02-26btdev: Fix UAF on page_timeoutLuiz Augusto von Dentz1-1/+14
2024-02-15btdev: Fix crash on page_timeoutLuiz Augusto von Dentz1-0/+3
2024-02-13btdev: Fix set PA data array overflowIulia Tanasescu1-4/+10
2024-02-06emulator/btdev: Send page timeout after 5.12 secs delayJonas Dreßler1-1/+33
2024-02-02btdev: Fix crash on BIG Sync Terminate commandLuiz Augusto von Dentz1-0/+1
2024-01-25btdev: Fix not clearing le_pa_sync_handle on resetLuiz Augusto von Dentz1-0/+1
2024-01-19emulator: const annotate rfcomm_crc_table[]Emil Velikov1-1/+1
2023-10-05hciemu: Add support for setting emulator bdaddrIulia Tanasescu2-0/+11
2023-09-20vhci: Check whether vhci open setup succeededArkadiusz Bokowy1-2/+4
2023-09-19hciemu: Call btdev_receive_h4 unconditionallyArkadiusz Bokowy2-16/+2
2023-09-19emulator: Skip new line when using util_debugArkadiusz Bokowy1-5/+6
2023-08-21hciemu: Add hciemu_flush_client_events for ordering VHCI vs bthostPauli Virtanen2-0/+57
2023-08-21vhci: Add function to pause processing input from vhciPauli Virtanen2-0/+10
2023-08-07btdev: fix CIG ID on Set CIG Parameters error responsePauli Virtanen1-1/+2
2023-08-02btdev: fix Command Status command opcodes for Setup Sync ConnPauli Virtanen1-2/+2
2023-08-02btdev: check error conditions for HCI_Create_Connection_CancelPauli Virtanen1-11/+75
2023-07-14bthost: Add support to set ISO Packet StatusLuiz Augusto von Dentz2-8/+8
2023-06-23btdev: Fix CIS Established Event parametersLuiz Augusto von Dentz1-6/+12
2023-06-22btdev: Fix LE CIS Established EventLuiz Augusto von Dentz1-12/+31
2023-06-21btdev: Fix CIS Establish ISO IntervalLuiz Augusto von Dentz1-1/+1
2023-06-13btdev: Fix build errorLuiz Augusto von Dentz1-1/+1
2023-05-30btdev: Support multiple BISIulia Tanasescu1-19/+33
2023-05-30btdev: check LE Create CIS error conditionsPauli Virtanen1-0/+38
2023-05-30btdev: fix inactive CIG configurable statusPauli Virtanen1-17/+15
2023-05-22btdev: report right reason for local Disconnect completePauli Virtanen1-1/+3
2023-05-22btdev: support multiple CIGPauli Virtanen1-36/+108
2023-04-19tools/iso-tester: Add Broadcast tests for encrypted BIGIulia Tanasescu3-2/+15
2023-04-12btdev: Fix not setting CIS parameters properlyLuiz Augusto von Dentz1-5/+6
2023-03-31Split bt_iso_qos into dedicated structuresIulia Tanasescu1-14/+17
2023-03-30vhci: Add support to trigger devcoredump and read the dump fileManish Mandlik2-1/+62
2023-02-27bthost: Allow sending ISO packets with sequence number and timestampPauli Virtanen2-14/+34
2022-12-06bthost: Add callback to accept ISO connectionsLuiz Augusto von Dentz2-5/+21
2022-10-10vhci: Add function to interact with force_static_addressLuiz Augusto von Dentz2-0/+11
2022-10-10btdev: Add support for setting bdaddrLuiz Augusto von Dentz2-0/+12
2022-08-22bthost: Add destroy callback to bthost_add_iso_hookLuiz Augusto von Dentz2-2/+9
2022-08-05bthost: Add qos support to bthost_set_cig_paramsLuiz Augusto von Dentz2-12/+18
2022-07-11btdev: Fix not checking if a CIG has any active CISLuiz Augusto von Dentz1-0/+17
2022-05-02btdev: Fix not removing connection and advertising set on resetLuiz Augusto von Dentz1-36/+40
2022-04-14btdev: Fix CIS EstablishedLuiz Augusto von Dentz1-4/+4
2022-04-14bthost: Fix not setting all parameters when using Create BIG cmdLuiz Augusto von Dentz1-1/+4
2022-04-14bthost: Add support for Create CISLuiz Augusto von Dentz3-1/+49
2022-04-13btdev: Fix not cleanup ssp_status and ssp_auto_completeLuiz Augusto von Dentz1-0/+5
2022-04-06btdev: Fix BIG Create SyncLuiz Augusto von Dentz1-7/+10
2022-04-06btdev: Add support for sending LE BIG Info Adv ReportsLuiz Augusto von Dentz1-1/+39
2022-04-01btdev: Check parameter for CIG related commandsLuiz Augusto von Dentz1-1/+59
2022-03-08btdev: Fix response to LE Set Extended Advertising ParametersLuiz Augusto von Dentz1-8/+9
2022-03-07bthost: Add support for Create BIGLuiz Augusto von Dentz2-0/+14
2022-03-07bthost: Add support for Periodic AdvertisingLuiz Augusto von Dentz2-0/+25
2022-03-07bthost: Add support for BT_H4_ISO_PKTLuiz Augusto von Dentz3-42/+326
2022-03-07btdev: Implements BT_HCI_CMD_LE_BIG_TERM_SYNCLuiz Augusto von Dentz1-2/+37
2022-03-07btdev: Implements BT_HCI_CMD_LE_BIG_CREATE_SYNCLuiz Augusto von Dentz1-9/+149
2022-03-07monitor: Rename Periodic Advertising terms to PA/paLuiz Augusto von Dentz1-88/+80
2022-03-07btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED if remote start paLuiz Augusto von Dentz1-66/+78
2022-03-07btdev: Send BT_HCI_EVT_LE_PER_SYNC_ESTABLISHED when scan is initiatedLuiz Augusto von Dentz1-66/+86
2022-03-07btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_TERM_SYNCLuiz Augusto von Dentz1-2/+15
2022-03-07btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNC_CANCELLuiz Augusto von Dentz1-3/+27
2022-03-07btdev: Implement BT_HCI_CMD_LE_PERIODIC_ADV_CREATE_SYNCLuiz Augusto von Dentz1-3/+96
2022-03-07monitor: Fix Create BIG PDULuiz Augusto von Dentz1-1/+1
2022-02-15build: Fix errors with glibc < 2.25Fabrice Fontaine2-4/+2
2022-02-09bthost: Increase number of creditsLuiz Augusto von Dentz1-1/+1
2022-02-09bthost: Fix length calculation for RFCOMM headerLuiz Augusto von Dentz1-3/+10
2022-02-09bthost: Fix not handling ACL fragmentationLuiz Augusto von Dentz1-21/+100
2022-01-31btdev: Fix response to BT_HCI_CMD_LE_REMOVE_CIGLuiz Augusto von Dentz1-1/+2
2022-01-31btdev: Fix command status of BT_HCI_CMD_LE_TERM_BIGLuiz Augusto von Dentz1-1/+1
2022-01-27btdev: Add implementation for BT_HCI_CMD_LE_TERM_BIGLuiz Augusto von Dentz1-3/+19
2022-01-05emulator: Add support for vendor commandsLuiz Augusto von Dentz5-8/+68
2021-12-10btdev: Add support for BT_HCI_CMD_LE_CREATE_CONN_CANCELLuiz Augusto von Dentz1-0/+14
2021-12-08emulator: Replace random number generation functionTedd Ho-Jeong An2-4/+17
2021-11-22emulator: fix potential resource leakTedd Ho-Jeong An1-1/+3
2021-11-15emulator: Fix uninitiailzed scalar variableTedd Ho-Jeong An1-0/+3
2021-11-09btdev: Add support for LE Set Privacy modeLuiz Augusto von Dentz1-1/+46
2021-10-25emulator: Add support to get the advertising addressTedd Ho-Jeong An4-2/+41
2021-10-25emulator: bthost: Add support LE Ext Adv ReportTedd Ho-Jeong An2-0/+123
2021-10-25emulator: Add support to config the accept and resolve listTedd Ho-Jeong An4-8/+65
2021-10-25btdev: Fix using the callback return as command completeLuiz Augusto von Dentz1-36/+84
2021-10-21btdev: Set Local RPA when own_addr_type is 0x03Luiz Augusto von Dentz1-6/+15
2021-10-21emulator: Add initial support for MSFT vendor commandsLuiz Augusto von Dentz2-24/+223
2021-10-21btdev: Use Linux Foundation as manufacturerLuiz Augusto von Dentz1-1/+1
2021-10-21emulator/vhci: Fix writing msft_opcode using binary formatLuiz Augusto von Dentz1-1/+10
2021-10-18mgmt-tester: Make use of vhci_set_force_suspend/vhci_set_force_wakeupLuiz Augusto von Dentz2-0/+9
2021-10-18vhci: Add functions to interface with debugfsLuiz Augusto von Dentz4-2/+95
2021-10-18hciemu: Use vhci_open to instanciate a vhci btdevLuiz Augusto von Dentz2-54/+81
2021-10-18vhci: Use io.h instead of mainloop.hLuiz Augusto von Dentz1-36/+31
2021-10-18vhci: Read the controller indexLuiz Augusto von Dentz3-44/+54
2021-09-21emulator: Inclusive language changesArchie Pusaka5-138/+139
2021-09-21monitor: Inclusive language changesArchie Pusaka3-49/+49
2021-08-19btdev: Fix removing advertising set if it was terminatedLuiz Augusto von Dentz1-1/+1
2021-08-19btdev: Fix order of BT_HCI_EVT_LE_ADV_SET_TERMLuiz Augusto von Dentz1-6/+8
2021-08-19btdev: Fix sending terminate advertising event to the wrong deviceLuiz Augusto von Dentz1-1/+1
2021-08-17emulator: Add support enhanced SCO connectionKiran K1-1/+57
2021-08-13bthost: Fix not initializing address types properlyLuiz Augusto von Dentz1-6/+12
2021-08-12bthost: Add bthost_debug and use it on smp.cLuiz Augusto von Dentz4-30/+46
2021-08-06btdev: Add proper handling for own_address_type 0x03Luiz Augusto von Dentz1-8/+78
2021-07-19btdev: Fix not checking conditions for LE Set Random AddressLuiz Augusto von Dentz1-0/+13
2021-07-19btdev: Add proper checks for own_addr_type for LE scan/advLuiz Augusto von Dentz1-22/+79
2021-07-16emulator/btdev: Add support HCI_READ_CLOCK commandTedd Ho-Jeong An1-0/+18
2021-07-14btdev: Add proper checks for own_addr_type for extended advertisingLuiz Augusto von Dentz1-0/+44
2021-07-01emulator/btdev: clean up the queue before closing the testTedd Ho-Jeong An1-1/+4
2021-06-23emulator/bthost: Create ext adv params before setting adv dataTedd Ho-Jeong An2-6/+21
2021-06-23emulator/btdev: Add support HCI LE Adv Set Terminated eventLuiz Augusto von Dentz1-3/+61
2021-06-23emulator/btdev: Add support multiple instance of extended advertisingTedd Ho-Jeong An1-96/+323
2021-06-09btdev: Check advertising/scanning states when changing Resolving ListLuiz Augusto von Dentz1-0/+40
2021-06-09btdev: Check advertising/scanning states when changing White ListLuiz Augusto von Dentz1-0/+68
2021-06-04btdev: Remove debugsLuiz Augusto von Dentz1-9/+0
2021-06-04btdev: Fix handling of white/resolving listLuiz Augusto von Dentz1-55/+103
2021-06-03btdev: Fix crash when generating disconnected event for BISLuiz Augusto von Dentz1-2/+4
2021-06-01emulator/btdev: Enable LE Privacy featureTedd Ho-Jeong An1-0/+1
2021-05-17btdev: Add resolving list supportLuiz Augusto von Dentz1-1/+210
2021-05-17btdev: Add support for Add/Remove White ListLuiz Augusto von Dentz1-4/+100
2021-05-13btdev: Fix crashing if ISO link is in fact a BISLuiz Augusto von Dentz1-1/+2
2021-05-10btdev: Mark LE Periodic Advertising bit as supportedLuiz Augusto von Dentz1-0/+1
2021-04-26emulator/btdev: Add missing commandsTedd Ho-Jeong An1-0/+37
2021-04-08btdev: Fix invalid BIG Complete eventLuiz Augusto von Dentz1-5/+23
2021-04-06emulator: Add Create BIG command in emulatorKeyur Parekh1-3/+30
2021-03-26btdev: Set CIG ID and CIS ID when generating CIS requestedLuiz Augusto von Dentz1-2/+2
2021-03-26btdev: Always set connection handle on CIS establishedLuiz Augusto von Dentz1-1/+1
2021-03-15emulator: Periodic Advertising CommandKeyur Parekh1-6/+44
2021-03-02btdev: Add support for Configure Data PathLuiz Augusto von Dentz1-1/+18
2021-03-02btdev: Add support Read Local Supported Controller DelayLuiz Augusto von Dentz1-1/+20
2021-03-02monitor: Add support for decoding Read Local Controller DelayLuiz Augusto von Dentz1-1/+1
2021-03-02btdev: Add support Read Local Supported Codec CapabilitiesLuiz Augusto von Dentz1-1/+19
2021-03-02btdev: Add support Read Local Supported Codecs V2Luiz Augusto von Dentz1-1/+34
2021-02-19btdev: Fix not sending ISO packetsLuiz Augusto von Dentz1-14/+20
2021-02-19emulator: Add option for enabling debug with btvirtLuiz Augusto von Dentz1-1/+19
2021-02-19vhci: Add vhci_set_debugLuiz Augusto von Dentz2-0/+14
2021-01-22btdev: Fix auto-disable Extended Adv SetLuiz Augusto von Dentz1-2/+4
2021-01-19btdev: Fix using CIG settings from the peripheral not the centralLuiz Augusto von Dentz1-13/+15
2021-01-14emulator: Fix sending CIS Requested to Create CIS deviceLuiz Augusto von Dentz1-1/+1
2020-12-23emulator/btdev: Add support LE_READ_TX_POWER commandTedd Ho-Jeong An1-1/+19
2020-12-17bthost: Add support for address types other then publicLuiz Augusto von Dentz3-9/+29
2020-12-17hciemu: Add support for multiple clientsLuiz Augusto von Dentz2-77/+163
2020-12-17btdev: Add support for multiple connectionsLuiz Augusto von Dentz1-321/+609
2020-12-17bthost: Always use conn->prnd for Pairing RandomLuiz Augusto von Dentz1-5/+4
2020-12-16bthost: Use bt_crypto_random_bytes to generate a Pairing RandomLuiz Augusto von Dentz1-0/+2
2020-12-15btdev: Fix not responding with the same CIG IDLuiz Augusto von Dentz1-1/+2
2020-12-07btdev: Fix not handling BT_HCI_CMD_HOST_NUM_COMPLETED_PACKETSLuiz Augusto von Dentz1-0/+11
2020-11-24emulator: Fix the unchecked return valueTedd Ho-Jeong An2-3/+13
2020-11-17btdev: Fix not emitting Ext Connection Complete properlyLuiz Augusto von Dentz1-1/+2
2020-11-13bthost: Fix sending uninitilized dataLuiz Augusto von Dentz1-0/+1
2020-11-13hciemu: Fix crash when test is aborted during pre setupLuiz Augusto von Dentz1-1/+7
2020-11-13bthost: Fix running request callbacks for remote requestsLuiz Augusto von Dentz1-2/+30
2020-11-13btdev: Rework command handlingLuiz Augusto von Dentz1-2854/+3537
2020-11-04emulator: Return error for ext adv feature not supportedLuiz Augusto von Dentz1-2/+13
2020-11-02emulator/bthost: Add support for LE CIS RequestLuiz Augusto von Dentz1-0/+18
2020-11-02emulator: Fix not gerating proper advertisementLuiz Augusto von Dentz1-0/+25
2020-11-02emulator/hciemu: Add debug supportLuiz Augusto von Dentz2-0/+53
2020-11-02emulator/bthost: Add debug supportLuiz Augusto von Dentz2-10/+68
2020-11-02emulator/btdev: Add debug supportLuiz Augusto von Dentz2-47/+57
2020-10-26emulator: Fix not setting CIG ID properlyLuiz Augusto von Dentz1-1/+1
2020-09-21emulator: Add SPDX License IdentifierTedd Ho-Jeong An22-308/+22
2020-09-11emulator: Implement LE Remove CIGLuiz Augusto von Dentz1-0/+10
2020-06-04tools/l2cap-tester: Add test for waiting disconnection responseArchie Pusaka2-2/+20
2020-05-26emulator: Use master settings for CIS paramsLuiz Augusto von Dentz1-2/+5
2020-05-21emulator: Don't require ACL connection for Setup ISO Data PathLuiz Augusto von Dentz1-1/+1
2020-05-18emulator: Fix not reporting LE Set Default PHY as supportedLuiz Augusto von Dentz1-0/+1
2020-05-13emulator: Fix response to LE Setup ISO Data PathLuiz Augusto von Dentz1-6/+9
2020-04-23emulator: Add support for LE Remove ISO Data PathLuiz Augusto von Dentz1-0/+25
2020-04-23emulator: Add support for LE Setup ISO Data PathLuiz Augusto von Dentz1-0/+45
2020-04-23emulator: Add support for LE Set Host FeatureLuiz Augusto von Dentz1-0/+10
2020-04-23emulator: Fix version number of ISO related featuresLuiz Augusto von Dentz5-38/+38
2020-04-15emulator: Fix command line parameters with optional argumentOlivier Martin1-2/+4
2020-03-30emulator/bthost: Add support for ECRED Connection request/responseLuiz Augusto von Dentz1-0/+72
2020-02-03emulator: Add initial support for BT 5.2Luiz Augusto von Dentz5-43/+258
2019-07-12emulator: Fix condition check in btdev_create()Inga Stotland1-1/+1
2019-03-28emulator: Fix handling of Set Event Mask Page 2 CommandSzymon Janc1-2/+2
2018-12-06build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann6-0/+6
2018-12-05shared/mainloop: Remove mainloop_set_signalLuiz Augusto von Dentz3-25/+3
2018-07-30emulator: Add BREDR 2M & 3M, 3 & 5 Slot packet type supportJaganath Kanakkassery1-0/+10
2018-07-26emulator: Fix unsupported command for WRITE_LE_HOST_SUPPORTEDJaganath Kanakkassery1-0/+1
2018-06-18emulator: Add 5.0 feature supportJaganath Kanakkassery6-10/+558
2018-04-26emulator/b1ee: Enable to specify host and portERAMOTO Masaya1-5/+95
2018-02-12emulator: Add initial LE states to btdev and API to set new oneŁukasz Rymanowski4-1/+31
2017-05-09emulator: Update emulated controller HCI version from 4.2 to 5.0Johan Hedberg1-2/+2
2017-05-02emulator: Improved handling of Set Default PHY commandMarcel Holtmann1-5/+69
2017-05-01emulator: Enable LE power class and minimum channels featureMarcel Holtmann1-2/+2
2017-05-01emulator: Fix comments for event mask descriptionsMarcel Holtmann1-9/+9
2017-05-01emulator: Add basic PHY command handling to LE only controllerMarcel Holtmann1-5/+52
2017-05-01emulator: Add Bluetooth 5.0 defines to LE only controllerMarcel Holtmann1-2/+51
2016-09-07tools/mgmt-tester: Test read extended controller infoMichał Narajowski2-0/+12
2016-08-25build: Fix checking result of sizeof instead of memcmpLuiz Augusto von Dentz1-1/+1
2016-07-04lib: Define HCI_PRIMARY and use it instead of HCI_BREDRMarcel Holtmann3-5/+6
2016-07-02emulator: Fix status value for DHKey Complete eventJohan Hedberg1-0/+1
2016-06-07emulator: Include Link Key in key distribution if BR/EDR is supportedJohan Hedberg3-8/+21
2015-11-16emulator/hciemu: Fix return valueGowtham Anandha Babu1-2/+2
2015-11-16emulator: Add API to get BR/EDR scan_enable valueJohan Hedberg4-0/+17
2015-11-16emulator: Return raw LE scan_enable valueJohan Hedberg4-5/+5
2015-11-12emulator: Fix sending valid HCI_LE_Create_Connection parametersJohan Hedberg1-0/+6
2015-11-11emulator: add support for checking le scan stateJakub Pawlowski4-0/+17
2015-10-05emulator: Refactor le set scan enable command handlerMariusz Skamra1-2/+9
2015-10-05emulator: Enable Slave-initiated Features Exchange featureMariusz Skamra1-0/+1
2015-10-05emulator: Add support for LE Remote Connection Parameter Request Negative ReplyMariusz Skamra1-0/+38
2015-10-05emulator: Add support for LE Remote Connection Parameter Request ReplyMariusz Skamra1-7/+67
2015-10-05emulator: Remove duplicated assignmentMariusz Skamra1-2/+0
2015-10-05emulator: Fix LE Connection Complete Event dataMariusz Skamra1-13/+19