update LL runtime config to new version

pull/10666/head
paul-szczepanek-arm 2019-03-28 13:40:34 +00:00 committed by Martin Kojtal
parent 00bd959abe
commit 88d000e18e
1 changed files with 48 additions and 36 deletions

View File

@ -96,42 +96,54 @@ static const uint16_t maxRptBufSize = 12 + 2 + 255;
static const uint16_t aclBufSize = 12 + connDataLen + 4 + BB_DATA_PDU_TAILROOM; static const uint16_t aclBufSize = 12 + connDataLen + 4 + BB_DATA_PDU_TAILROOM;
const LlRtCfg_t NRFCordioHCIDriver::_ll_cfg = { const LlRtCfg_t NRFCordioHCIDriver::_ll_cfg = {
/* Device */ /* Device */
/*compId*/ LL_COMP_ID_ARM, /*uint16_t*/ .compId = LL_COMP_ID_ARM, /*!< Company ID (default to ARM Ltd. ID). */
/*implRev*/ LL_IMPL_REV, /*uint16_t*/ .implRev = LL_IMPL_REV, /*!< Implementation revision number. */
/*btVer*/ LL_VER_BT_CORE_SPEC_5_0, /*uint8_t*/ .btVer = LL_VER_BT_CORE_SPEC_5_0, /*!< Core specification implementation level (LL_VER_BT_CORE_SPEC_4_2). */
0, // padding /*uint32_t*/ ._align32 = 0, /*!< Unused. Align next field to word boundary. */
/* Advertiser */ /* Advertiser */
/*maxAdvSets*/ 4, // 4 Extended Advertising Sets /*uint8_t*/ .maxAdvSets = 4, /*!< Maximum number of advertising sets. */
/*maxAdvReports*/ 8, /*uint8_t*/ .maxAdvReports = 8, /*!< Maximum number of pending legacy or extended advertising reports. */
/*maxExtAdvDataLen*/ advDataLen, /*uint16_t*/ .maxExtAdvDataLen = advDataLen, /*!< Maximum extended advertising data size. */
/*defExtAdvDataFrag*/ 64, /*uint8_t*/ .defExtAdvDataFrag = 64, /*!< Default extended advertising data fragmentation size. */
0, // Aux delay /*uint16_t*/ .auxDelayUsec = 0, /*!< Auxiliary Offset delay above T_MAFS in microseconds. */
/* Scanner */ /*uint16_t*/ .auxPtrOffsetUsec = 0, /*!< Delay of auxiliary packet in microseconds from the time specified by auxPtr. */
/*maxScanReqRcvdEvt*/ 4, /* Scanner */
/*maxExtScanDataLen*/ advDataLen, /*uint8_t*/ .maxScanReqRcvdEvt = 4, /*!< Maximum scan request received events. */
/* Connection */ /*uint16_t*/ .maxExtScanDataLen = advDataLen, /*!< Maximum extended scan data size. */
#if defined(NRF52840_XXAA) /* Connection */
/*maxConn*/ 4, #if defined(NRF52840_XXAA)
#else /*uint8_t*/ .maxConn = 4, /*!< Maximum number of connections. */
/*maxConn*/ 2, #else
#endif /*uint8_t*/ .maxConn = 2,
/*numTxBufs*/ numTxBufs, #endif
/*numRxBufs*/ numRxBufs, /*uint8_t*/ .numTxBufs = numTxBufs, /*!< Default number of transmit buffers. */
/*maxAclLen*/ connDataLen, /*uint8_t*/ .numRxBufs = numRxBufs, /*!< Default number of receive buffers. */
/*defTxPwrLvl*/ 0, /*uint16_t*/ .maxAclLen = connDataLen, /*!< Maximum ACL buffer size. */
/*ceJitterUsec*/ 0, /*int8_t*/ .defTxPwrLvl = 0, /*!< Default Tx power level for connections. */
/* DTM */ /*uint8_t*/ .ceJitterUsec = 0, /*!< Allowable CE jitter on a slave (account for master's sleep clock resolution). */
/*dtmRxSyncMs*/ 10000, /* ISO */
/* PHY */ /*uint8_t*/ .numIsoTxBuf = 0, /*!< Default number of ISO transmit buffers. */
/*phy2mSup*/ TRUE, /*uint8_t*/ .numIsoRxBuf = 0, /*!< Default number of ISO receive buffers. */
#if defined(NRF52840_XXAA) /*uint16_t*/ .maxIsoBufLen = 0, /*!< Maximum ISO buffer size between host and controller. */
/*phyCodedSup*/ TRUE, /*uint16_t*/ .maxIsoPduLen = 0, /*!< Maximum ISO PDU buffer size. */
#else
/*phyCodedSup*/ FALSE, /* CIS */
#endif /*uint8_t*/ .maxCig = 0, /*!< Maximum number of CIG. */
/*stableModIdxTxSup*/ TRUE, /*uint8_t*/ .maxCis = 0, /*!< Maximum number of CIS. */
/*stableModIdxRxSup*/ TRUE /*uint16_t*/ .subEvtSpaceDelay = 0, /*!< Subevent spacing above T_MSS. */
/* DTM */
/*uint16_t*/ .dtmRxSyncMs = 10000, /*!< DTM Rx synchronization window in milliseconds. */
/* PHY */
/*bool_t*/ .phy2mSup = TRUE, /*!< 2M PHY supported. */
#if defined(NRF52840_XXAA)
/*bool_t*/ .phyCodedSup = TRUE, /*!< Coded PHY supported. */
#else
/*bool_t*/ .phyCodedSup = FALSE,
#endif
/*bool_t*/ .stableModIdxTxSup = TRUE, /*!< Tx stable modulation index supported. */
/*bool_t*/ .stableModIdxRxSup = TRUE, /*!< Rx stable modulation index supported. */
}; };
extern "C" void TIMER0_IRQHandler(void); extern "C" void TIMER0_IRQHandler(void);