Bluetooth: Add API to set LE Connection Parameters

Include auto-setting connection parameters during Pairing for
low latenecy, and default (high latency) settings for non-Pairing
connections.

Change-Id: Ie8e3f65da52213451dcc01fce38d95ae07d1b13b
Signed-off-by: Brian Gix <bgix@codeaurora.org>
This commit is contained in:
Brian Gix
2011-11-01 16:27:25 -07:00
committed by Stephen Boyd
parent bad519927b
commit 3fb0b0ba88
3 changed files with 68 additions and 0 deletions

View File

@@ -219,6 +219,15 @@ struct mgmt_cp_resolve_name {
#define MGMT_OP_SET_LIMIT_DISCOVERABLE 0x001F
#define MGMT_OP_SET_CONNECTION_PARAMS 0x0020
struct mgmt_cp_set_connection_params {
bdaddr_t bdaddr;
__le16 interval_min;
__le16 interval_max;
__le16 slave_latency;
__le16 timeout_multiplier;
} __packed;
#define MGMT_EV_CMD_COMPLETE 0x0001
struct mgmt_ev_cmd_complete {
__le16 opcode;