diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2017-05-01 23:54:19 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2017-05-18 13:52:49 +0200 |
commit | de2ba3039cfb61334b2523677cc032422873ff93 (patch) | |
tree | 2661702a3ff18cf08deb2b0385eb8e04f812f814 /include/net/bluetooth | |
parent | 27bbca44026d81968b002d73edf6976d49edd005 (diff) | |
download | linux-de2ba3039cfb61334b2523677cc032422873ff93.tar.gz linux-de2ba3039cfb61334b2523677cc032422873ff93.tar.bz2 linux-de2ba3039cfb61334b2523677cc032422873ff93.zip |
Bluetooth: Set LE Default PHY preferences
If the LE Set Default PHY command is supported, the indicate to the
controller that the host has no preferences for transmitter PHY or
receiver PHY selection.
Issuing this command gives the controller a clear indication that other
PHY can be selected if available.
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'include/net/bluetooth')
-rw-r--r-- | include/net/bluetooth/hci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/net/bluetooth/hci.h b/include/net/bluetooth/hci.h index dd43cfdd443a..fe98f0a5bef0 100644 --- a/include/net/bluetooth/hci.h +++ b/include/net/bluetooth/hci.h @@ -1499,6 +1499,13 @@ struct hci_rp_le_read_max_data_len { __le16 rx_time; } __packed; +#define HCI_OP_LE_SET_DEFAULT_PHY 0x2031 +struct hci_cp_le_set_default_phy { + __u8 all_phys; + __u8 tx_phys; + __u8 rx_phys; +} __packed; + /* ---- HCI Events ---- */ #define HCI_EV_INQUIRY_COMPLETE 0x01 |