Towards proper interfaces
Bug:
163134718
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I2c0908fd0c22e92536b4447f0701b00d43084827
return HCI_LE_CONN_PARAM_REQ_SUPPORTED(p_acl->peer_le_features);
}
+bool acl_peer_supports_sniff_subrating(const RawAddress& remote_bda) {
+ tACL_CONN* p_acl = internal_.btm_bda_to_acl(remote_bda, BT_TRANSPORT_LE);
+ if (p_acl == nullptr) {
+ return false;
+ }
+ return HCI_SNIFF_SUB_RATE_SUPPORTED(p_acl->peer_le_features);
+}
+
/*******************************************************************************
*
* Function BTM_ReadConnectionAddr
void acl_disconnect(const RawAddress& bd_addr, tBT_TRANSPORT transport,
uint8_t reason);
+
+bool acl_peer_supports_sniff_subrating(const RawAddress& remote_bda);