fix(ble/bluedroid): move setting host feature API to GAP
This commit is contained in:
@@ -1086,7 +1086,10 @@ typedef void (tBTM_SET_VENDOR_EVT_MASK_CBACK) (tBTM_STATUS status);
|
||||
#define BTM_BLE_GAP_SUBRATE_REQUEST_EVT 49
|
||||
#define BTM_BLE_GAP_SUBRATE_CHANGE_EVT 50
|
||||
#endif // #if (BLE_FEAT_CONN_SUBRATING == TRUE)
|
||||
#define BTM_BLE_5_GAP_UNKNOWN_EVT 51
|
||||
#if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
#define BTM_BLE_GAP_SET_HOST_FEATURE_EVT 51
|
||||
#endif // #if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
#define BTM_BLE_5_GAP_UNKNOWN_EVT 52
|
||||
typedef UINT8 tBTM_BLE_5_GAP_EVENT;
|
||||
|
||||
#if (BLE_FEAT_ISO_EN == TRUE)
|
||||
@@ -1101,7 +1104,6 @@ typedef UINT8 tBTM_BLE_5_GAP_EVENT;
|
||||
#define BTM_BLE_ISO_BIGINFO_ADV_REPORT_EVT 6
|
||||
#endif // #if (BLE_FEAT_ISO_BIG_SYNCER_EN == TRUE)
|
||||
#define BTM_BLE_ISO_DATA_PATH_UPFATE_EVT 7
|
||||
#define BTM_BLE_ISO_SET_HOST_FEATURE_EVT 8
|
||||
#define BTM_BLE_ISO_READ_TX_SYNC_EVT 9
|
||||
#define BTM_BLE_ISO_READ_LINK_QUALITY_EVT 10
|
||||
#if (BLE_FEAT_ISO_CIG_CENTRAL_EN == TRUE)
|
||||
@@ -3296,8 +3298,6 @@ tBTM_STATUS BTM_BleIsoSetDataPath(uint16_t conn_handle, uint8_t data_path_dir, u
|
||||
uint8_t *codec_cfg);
|
||||
tBTM_STATUS BTM_BleIsoRemoveDataPath(uint16_t conn_handle, uint8_t data_path_dir);
|
||||
|
||||
tBTM_STATUS BTM_BleIsoSetHostFeature(uint16_t bit_num, uint8_t bit_val);
|
||||
|
||||
tBTM_STATUS BTM_BleIsoReadTxSync(uint16_t iso_hdl);
|
||||
tBTM_STATUS BTM_BleIsoReadLinkQuality(uint16_t iso_hdl);
|
||||
|
||||
@@ -3355,5 +3355,7 @@ void BTM_BleSetDefaultSubrate(UINT16 subrate_min, UINT16 subrate_max, UINT16 max
|
||||
void BTM_BleSubrateRequest(UINT16 conn_handle, UINT16 subrate_min, UINT16 subrate_max,
|
||||
UINT16 max_latency, UINT16 continuation_number, UINT16 supervision_timeout);
|
||||
#endif // #if (BLE_FEAT_CONN_SUBRATING == TRUE)
|
||||
|
||||
#if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
tBTM_STATUS BTM_BleSetHostFeature(uint16_t bit_num, uint8_t bit_val);
|
||||
#endif // #if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
#endif
|
||||
|
||||
@@ -426,9 +426,9 @@
|
||||
#define HCI_BLE_BIG_TERMINATE_SYNC (0x006C | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_ISO_SET_DATA_PATH (0x006E | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_ISO_REMOVE_DATA_PATH (0x006F | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_ISO_SET_HOST_FEATURE (0x0074 | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_SET_HOST_FEATURE (0x0074 | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_ISO_READ_ISO_LINK_QUALITY (0x0075 | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_ISO_SET_HOST_FEATURE_V2 (0x0097 | HCI_GRP_BLE_CMDS)
|
||||
#define HCI_BLE_SET_HOST_FEATURE_V2 (0x0097 | HCI_GRP_BLE_CMDS)
|
||||
|
||||
#if (BLE_FEAT_POWER_CONTROL_EN == TRUE)
|
||||
#define HCI_BLE_ENH_READ_TRANS_POWER_LEVEL (0x0076 | HCI_GRP_BLE_CMDS)
|
||||
|
||||
@@ -1103,8 +1103,6 @@ UINT8 btsnd_hcic_ble_set_default_periodic_adv_sync_trans_params(UINT8 mode, UINT
|
||||
#endif // #if (BLE_FEAT_ISO_BIG_SYNCER_EN == TRUE)
|
||||
#define HCIC_PARAM_SIZE_ISO_SET_DATA_PATH_PARAMS 13
|
||||
#define HCIC_PARAM_SIZE_ISO_REMOVE_DATA_PATH_PARAMS 3
|
||||
#define HCIC_PARAM_SIZE_ISO_SET_HOST_FEATURE_PARAMS 2
|
||||
#define HCIC_PARAM_SIZE_ISO_SET_HOST_FEATURE_PARAMS_V2 3
|
||||
|
||||
#if (BLE_FEAT_ISO_CIG_CENTRAL_EN == TRUE)
|
||||
struct ble_hci_le_cis_params {
|
||||
@@ -1178,8 +1176,6 @@ UINT8 btsnd_hcic_ble_iso_set_data_path(uint16_t conn_handle, uint8_t data_path_d
|
||||
uint8_t *codec_cfg);
|
||||
UINT8 btsnd_hcic_ble_iso_remove_data_path(uint16_t conn_handle, uint8_t data_path_dir);
|
||||
|
||||
UINT8 btsnd_hcic_ble_iso_set_host_feature(uint16_t bit_num, uint8_t bit_val);
|
||||
|
||||
UINT8 btsnd_hcic_ble_iso_read_tx_sync(uint16_t iso_hdl);
|
||||
|
||||
UINT8 btsnd_hcic_ble_iso_read_iso_link_quality(uint16_t iso_hdl);
|
||||
@@ -1241,4 +1237,10 @@ UINT8 btsnd_hcic_ble_subrate_request(UINT16 conn_handle, UINT16 subrate_min, UIN
|
||||
UINT16 continuation_number, UINT16 supervision_timeout);
|
||||
#endif // #if (BLE_FEAT_CONN_SUBRATING == TRUE)
|
||||
|
||||
#if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
#define HCIC_PARAM_SIZE_SET_HOST_FEATURE_PARAMS 2
|
||||
#define HCIC_PARAM_SIZE_SET_HOST_FEATURE_PARAMS_V2 3
|
||||
UINT8 btsnd_hcic_ble_set_host_feature(uint16_t bit_num, uint8_t bit_val);
|
||||
#endif // #if (BLE_50_FEATURE_SUPPORT == TRUE)
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user