Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de8b7860 authored by Myles Watson's avatar Myles Watson Committed by Gerrit Code Review
Browse files

Merge "Remove unused btm neighbor interface" into main

parents 5db25325 5b05e249
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -51,20 +51,6 @@ struct btm_client_interface_t btm_client_interface = {
            .BTM_FreeSCN = BTM_FreeSCN,
        },

    .neighbor =
        {
            .BTM_CancelInquiry = BTM_CancelInquiry,
            .BTM_ClearInqDb = BTM_ClearInqDb,
            .BTM_InqDbNext = BTM_InqDbNext,
            .BTM_SetConnectability = BTM_SetConnectability,
            .BTM_SetDiscoverability = BTM_SetDiscoverability,
            .BTM_StartInquiry = BTM_StartInquiry,
            .BTM_IsInquiryActive = BTM_IsInquiryActive,
            .BTM_SetInquiryMode = BTM_SetInquiryMode,
            .BTM_EnableInterlacedInquiryScan = BTM_EnableInterlacedInquiryScan,
            .BTM_EnableInterlacedPageScan = BTM_EnableInterlacedPageScan,
        },

    // Acl peer and lifecycle
    .peer =
        {
+0 −15
Original line number Diff line number Diff line
@@ -57,21 +57,6 @@ struct btm_client_interface_t {
    bool (*BTM_FreeSCN)(uint8_t scn);
  } scn;

  // Neighbor
  struct {
    void (*BTM_CancelInquiry)();
    tBTM_INQ_INFO* (*BTM_InqDbNext)(tBTM_INQ_INFO* p_cur);
    tBTM_STATUS (*BTM_ClearInqDb)(const RawAddress* p_bda);
    tBTM_STATUS (*BTM_SetDiscoverability)(uint16_t inq_mode);
    tBTM_STATUS (*BTM_SetConnectability)(uint16_t page_mode);
    tBTM_STATUS (*BTM_StartInquiry)(tBTM_INQ_RESULTS_CB* p_results_cb,
                                    tBTM_CMPL_CB* p_cmpl_cb);
    uint16_t (*BTM_IsInquiryActive)(void);
    tBTM_STATUS (*BTM_SetInquiryMode)(uint8_t mode);
    void (*BTM_EnableInterlacedInquiryScan)();
    void (*BTM_EnableInterlacedPageScan)();
  } neighbor;

  // Acl peer and lifecycle
  struct {
    struct {
+0 −13
Original line number Diff line number Diff line
@@ -59,19 +59,6 @@ struct btm_client_interface_t btm_client_interface = {
            .BTM_TryAllocateSCN = BTM_TryAllocateSCN,
            .BTM_FreeSCN = BTM_FreeSCN,
        },
    .neighbor =
        {
            .BTM_CancelInquiry = BTM_CancelInquiry,
            .BTM_InqDbNext = BTM_InqDbNext,
            .BTM_ClearInqDb = BTM_ClearInqDb,
            .BTM_SetDiscoverability = BTM_SetDiscoverability,
            .BTM_SetConnectability = BTM_SetConnectability,
            .BTM_StartInquiry = BTM_StartInquiry,
            .BTM_IsInquiryActive = BTM_IsInquiryActive,
            .BTM_SetInquiryMode = BTM_SetInquiryMode,
            .BTM_EnableInterlacedInquiryScan = BTM_EnableInterlacedInquiryScan,
            .BTM_EnableInterlacedPageScan = BTM_EnableInterlacedPageScan,
        },
    .peer = {
        .features =
            {