Add option to specify initial LE connection PHY (1/3)

For whitelist connections we always use all possible PHYs, for direct
connection use PHY specified by client.

Test: manual
Bug: 30622771
Change-Id: I13242608385230371e8a9170fc21e3f1b0a74c78
This commit is contained in:
Jakub Pawlowski 2017-03-24 17:55:56 -07:00
parent b1def383da
commit cc99bc54ec

View file

@ -207,8 +207,8 @@ typedef struct {
bt_status_t (*unregister_client)(int client_if );
/** Create a connection to a remote LE or dual-mode device */
bt_status_t (*connect)( int client_if, const bt_bdaddr_t *bd_addr,
bool is_direct, int transport );
bt_status_t (*connect)(int client_if, const bt_bdaddr_t *bd_addr,
bool is_direct, int transport, int initiating_phys);
/** Disconnect a remote device or cancel a pending connection */
bt_status_t (*disconnect)( int client_if, const bt_bdaddr_t *bd_addr,