summaryrefslogtreecommitdiff
path: root/lib/hci.h
Commit message (Collapse)AuthorAgeFilesLines
* lib: Fix HCI_MAX_ACL_SIZELuiz Augusto von Dentz2021-09-221-2/+3
| | | | | | | HCI_MAX_ACL_SIZE actually includes the maximum frames in AMP controller so this changes it to properly define the max ACL frames on non-AMP controllers and introduces a dedicated define for AMP controller as HCI_MAX_AMP_SIZE.
* lib: Fix variable-length array declarations in hci structuresPeter A. Bigot2021-09-171-8/+8
| | | | | | | | Use of zero as the size for arrays as the last element of a structure is a GNU C extension, which as of GCC 10 produces diagnostics when values in the extended array are referenced. Switch to the C99 standard idiom for flexible array members, already in use in a few other headers.
* btdev: Add support for multiple connectionsLuiz Augusto von Dentz2020-12-171-0/+1
| | | | | This adds support for assigning different handles for connection instead of always using fixed handles.
* lib: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 18 GPL-2.0-only : 1 License: GPL-2.0-or-later lib/sco.h lib/sdp.c lib/a2mp.h lib/uuid.h lib/bluetooth.h lib/hidp.h lib/rfcomm.h lib/hci.c lib/sdp.h lib/sdp_lib.h lib/bluetooth.c lib/mgmt.h lib/hci.h lib/uuid.c lib/l2cap.h lib/bnep.h lib/hci_lib.h lib/cmtp.h License: GPL-2.0-only lib/amp.h
* lib: Add identifier for VIRTIO devicesMarcel Holtmann2020-03-301-0/+1
|
* lib: Add identifier for Qualcomm SMD busMarcel Holtmann2016-08-151-0/+1
|
* lib: Define HCI_PRIMARY and use it instead of HCI_BREDRMarcel Holtmann2016-07-041-1/+2
|
* lib: Add recently introduced SPI & I2C bus definesJohan Hedberg2016-04-221-0/+2
|
* lib: Add definition for HCI_CHANNEL_LOGGINGMarcel Holtmann2015-11-071-0/+1
|
* lib: Add definitions and functions for handling LE resolving listMarcel Holtmann2014-12-171-0/+31
|
* lib: Add missing structure for accept physical link commandMarcel Holtmann2013-10-081-0/+7
|
* lib: Fix a few whitespace damagesMarcel Holtmann2013-10-081-11/+11
|
* lib: Add definition for HCI_CHANNEL_USERMarcel Holtmann2013-09-021-0/+1
|
* lib: Fix two size constantsAlex Deymo2013-06-161-2/+2
| | | | | | Fixes the value of RESET_FAILED_CONTACT_COUNTER_RP_SIZE and RESET_FAILED_CONTACT_COUNTER_RP_SIZE macros to respect the associated struct.
* lib: Correct AMP assoc data structuresMarcel Holtmann2012-12-171-5/+6
|
* lib: Add definition for Num Completed Data Blocks eventMarcel Holtmann2012-12-171-0/+10
|
* lib: Add definition for Read Data Block Size HCI commandMarcel Holtmann2012-12-171-0/+8
|
* lib: Fix member type on le_read_advertising_channel_tx_power_rpAnderson Lizardo2012-12-061-1/+1
| | | | | Transmit power level range is -20 <= N <= 10, thus it should be stored as int8_t.
* lib: Change maximum pkt size for High Speed max pktAndrei Emeltchenko2012-11-051-1/+1
| | | | | For AMP, L2CAP packets might be of bigger size, up to 1492 bytes. Without the change hcidump cuts AMP data packets.
* lib: Fix EVT_CONN_COMPLETE_SIZE constantMarcel Holtmann2012-11-021-1/+1
|
* lib: Correct length name in write assoc structAndrei Emeltchenko2012-07-191-1/+1
| | | | Correct name from assoc_length to remaining_length.
* mgmt: update mgmt control channel idGustavo Padovan2012-04-051-1/+1
| | | | kernel side has updated its control channel id from 1 to 3.
* lib: Add missing host feature definesJohan Hedberg2012-02-281-1/+3
| | | | | This patch add missing SSP and "Simultaneous LE & BR/EDR" feature bit definitions to hci.h.
* lib: Add definition for HCI_CHANNEL_MONITORMarcel Holtmann2012-02-261-0/+1
|
* lib: Add struct for reading LE host supported settingMarcel Holtmann2012-02-211-0/+8
|
* Add macros for the possible link key typesVinicius Costa Gomes2012-01-191-0/+10
|
* lib: Fix structures for AMP Assoc ReadAndrei Emeltchenko2012-01-051-6/+5
| | | | | | Make struct names similar to kernel and remove static array since fragment length can be other size than HCI_MAX_NAME_LENGTH, which is for totally different purpose.
* Add HCI_MAX_NAME_LENGTH define to hci.hJohan Hedberg2011-03-301-5/+7
|
* Add HCI_MAX_EIR_LENGTH defineJohan Hedberg2011-03-301-3/+5
|
* hcitool: Add command to add a device to LE White ListArun Kumar Singh2011-03-011-0/+6
|
* Bluetooth: flushable packet supports headersAndrei Emeltchenko2011-01-271-0/+1
| | | | | | Modify headers to enable support for flushable packets. Following commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel implements functionality on kernel side.
* Make LE_LINK define private to hcitool.c for nowJohan Hedberg2010-11-211-1/+0
| | | | | | | The value 0x03 isn't something that exists in the core spec, so it shouldn't be used in the same API as SCO/ACL link types. Since there are some experimental kernel patches that use it this patch makes it private to hcitool.c.
* Print LE link type on hcitoolSheldon Demario2010-11-111-0/+1
|
* Add initial definitions for the Bluetooth Management interfaceJohan Hedberg2010-10-271-0/+4
|
* Use LMP_HOST prefix for the extended featuresMarcel Holtmann2010-10-051-3/+1
|
* Add extended feature mask constants definitionClaudio Takahasi2010-10-041-0/+5
|
* Set the LE host supported and disable simultaneous LE and BR/EDR flagsClaudio Takahasi2010-10-041-0/+7
| | | | | | | For BlueZ if the controller supports LE, extended feature mask shall be set to indicate that the host supports LE and disable simultaneous LE and BR/EDR for simplicity even if the controller supports simultaneous LE and BR/EDR.
* Remove RSSI field from the advertising report eventClaudio Takahasi2010-10-041-3/+2
| | | | | | | Advertising data has variable length. Maximum length are 31 bytes. RSSI field is the last byte of the datagram. Declare the data field with fixed length will point the rssi field to an invalid memory address.
* Add STANDARD and INTERLACED page scan definitionsDmitriy Paliy2010-08-181-0/+2
| | | | | Added standard and interlaced page scan type definitions. Used for both read and write page scan type HCI commands.
* HCI events related to AMP functionalityInga Stotland2010-08-171-0/+57
| | | | | | | | | | Added constructs for the following HCI events: PHYSICAL_LINK_COMPLETE, EVT_CHANNEL_SELECTED, EVT_DISCONNECT_PHYSICAL_LINK_COMPLETE, EVT_PHYSICAL_LINK_LOSS_EARLY_WARNING, EVT_PHYSICAL_LINK_RECOVERY, EVT_LOGICAL_LINK_COMPLETE, EVT_DISCONNECT_LOGICAL_LINK_COMPLETE, EVT_FLOW_SPEC_MODIFY_COMPLETE, EVT_NUMBER_COMPLETED_BLOCKS, EVT_AMP_STATUS_CHANGE
* HCI commands related to AMP functionalityInga Stotland2010-08-171-0/+145
| | | | | | | | | | | | | Added constructs for the following HCI commands: CREATE_PHYSICAL_LINK, ACCEPT_PHYSICAL_LINK, DISCONNECT_PHYSICAL_LINK, CREATE_LOGICAL_LINK, ACCEPT_LOGICAL_LINK, DISCONNECT_LOGICAL_LINK, LOGICAL_LINK_CANCEL, FLOW_SPEC_MODIFY, READ_LOGICAL_LINK_ACCEPT_TIMEOUT, WRITE_LOGICAL_LINK_ACCEPT_TIMEOUT, SET_EVENT_MASK_PAGE_2, READ_LOCATION_DATA, WRITE_LOCATION_DATA, READ_FLOW_CONTROL_MODE, WRITE_FLOW_CONTROL_MODE, READ_ENHANCED_TRANSMIT_POWER_LEVEL, READ_BEST_EFFORT_FLUSH_TIMEOUT, WRITE_BEST_EFFORT_FLUSH_TIMEOUT, READ_LOCAL_AMP_INFO, READ_LOCAL_AMP_ASSOC, WRITE_REMOTE_AMP_ASSOC
* Change controller type to be either BR/EDR or AMPMarcel Holtmann2010-08-091-1/+1
|
* Fix naming inconsistency for LTK Reply commandVinicius Costa Gomes2010-07-121-1/+1
| | | | | For simplicity sake, the "request" part of the name was dropped, for it is already implied by its cause.
* Fix a inconsistency in OCF_SET_LE_EVENT_MASKVinicius Costa Gomes2010-07-121-1/+1
| | | | | This renames "event_mask" to "mask" and changes its type to be more consistent with the Basic Rate code.
* Fix wrong fields on le_create_connection_cpVinicius Costa Gomes2010-07-081-3/+2
| | | | | There were some fields that were mistakenly added to the structure, this removes them and fixes the size of the struct.
* Fix another inconsistency in the naming of fieldsVinicius Costa Gomes2010-07-081-1/+1
| | | | | "rx_freq" should be renamed to "frequency" to remain consistent with the Transmitter test command.
* Fix inconsistency in {max,min}_interval namingVinicius Costa Gomes2010-07-081-2/+2
| | | | | In some places this field was named conn_{max,min}_interval, removing "conn_" so it is consistent with the rest of the code.
* Add proper LE_ prefix to some HCI constantsMarcel Holtmann2010-07-081-7/+7
|
* Fix some of the LE OGF and OCF constant namesMarcel Holtmann2010-07-081-32/+31
|
* Remove some unneeded empty linesMarcel Holtmann2010-07-081-2/+0
|