components/bt: Add API and EVT for set AFH channels(BR/EDR)

This commit is contained in:
baohongde
2019-09-29 16:20:40 +08:00
parent 9ef656fafd
commit eaf5f6a319
17 changed files with 298 additions and 1 deletions
@@ -798,6 +798,14 @@ typedef struct {
BD_ADDR rem_bda;
} tBTM_LINK_QUALITY_RESULTS;
/* Structure returned with set AFH channels event (in tBTM_CMPL_CB callback function)
** in response to BTM_SetAfhChannels call.
*/
typedef struct {
tBTM_STATUS status;
UINT8 hci_status;
} tBTM_SET_AFH_CHANNELS_RESULTS;
/* Structure returned with read inq tx power quality event (in tBTM_CMPL_CB callback function)
** in response to BTM_ReadInquiryRspTxPower call.
*/
@@ -4098,6 +4106,18 @@ void BTM_PCM2Setup_Write (BOOLEAN clk_master, tBTM_VSC_CMPL_CB *p_arc_cb);
*******************************************************************************/
//extern
tBTM_CONTRL_STATE BTM_PM_ReadControllerState(void);
/*******************************************************************************
**
** Function BTM_SetAfhChannels
**
** Description This function is called to set AFH channels
**
** Returns status of the operation
**
*******************************************************************************/
tBTM_STATUS BTM_SetAfhChannels (AFH_CHANNELS channels, tBTM_CMPL_CB *p_afh_channels_cmpl_cback);
/*
#ifdef __cplusplus
}