| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This adds support for assigning different handles for connection
instead of always using fixed handles.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Fixes the value of RESET_FAILED_CONTACT_COUNTER_RP_SIZE and
RESET_FAILED_CONTACT_COUNTER_RP_SIZE macros to respect the
associated struct.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Transmit power level range is -20 <= N <= 10, thus it should be stored
as int8_t.
|
|
|
|
|
| |
For AMP, L2CAP packets might be of bigger size, up to 1492 bytes.
Without the change hcidump cuts AMP data packets.
|
| |
|
|
|
|
| |
Correct name from assoc_length to remaining_length.
|
|
|
|
| |
kernel side has updated its control channel id from 1 to 3.
|
|
|
|
|
| |
This patch add missing SSP and "Simultaneous LE & BR/EDR" feature bit
definitions to hci.h.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Modify headers to enable support for flushable packets. Following
commit: 8bcbd526c84724d8de087130d53e79da256e34bf to linux kernel
implements functionality on kernel side.
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Added standard and interlaced page scan type definitions. Used for
both read and write page scan type HCI commands.
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
For simplicity sake, the "request" part of the name was dropped,
for it is already implied by its cause.
|
|
|
|
|
| |
This renames "event_mask" to "mask" and changes its type to be
more consistent with the Basic Rate code.
|
|
|
|
|
| |
There were some fields that were mistakenly added to the structure,
this removes them and fixes the size of the struct.
|
|
|
|
|
| |
"rx_freq" should be renamed to "frequency" to remain consistent with the
Transmitter test command.
|
|
|
|
|
| |
In some places this field was named conn_{max,min}_interval, removing
"conn_" so it is consistent with the rest of the code.
|
| |
|
| |
|
| |
|