@@ -96,42 +96,54 @@ static const uint16_t maxRptBufSize = 12 + 2 + 255;
96
96
static const uint16_t aclBufSize = 12 + connDataLen + 4 + BB_DATA_PDU_TAILROOM;
97
97
98
98
const LlRtCfg_t NRFCordioHCIDriver::_ll_cfg = {
99
- /* Device */
100
- /* compId*/ LL_COMP_ID_ARM,
101
- /* implRev*/ LL_IMPL_REV,
102
- /* btVer*/ LL_VER_BT_CORE_SPEC_5_0,
103
- 0 , // padding
104
- /* Advertiser */
105
- /* maxAdvSets*/ 4 , // 4 Extended Advertising Sets
106
- /* maxAdvReports*/ 8 ,
107
- /* maxExtAdvDataLen*/ advDataLen,
108
- /* defExtAdvDataFrag*/ 64 ,
109
- 0 , // Aux delay
110
- /* Scanner */
111
- /* maxScanReqRcvdEvt*/ 4 ,
112
- /* maxExtScanDataLen*/ advDataLen,
113
- /* Connection */
114
- #if defined(NRF52840_XXAA)
115
- /* maxConn*/ 4 ,
116
- #else
117
- /* maxConn*/ 2 ,
118
- #endif
119
- /* numTxBufs*/ numTxBufs,
120
- /* numRxBufs*/ numRxBufs,
121
- /* maxAclLen*/ connDataLen,
122
- /* defTxPwrLvl*/ 0 ,
123
- /* ceJitterUsec*/ 0 ,
124
- /* DTM */
125
- /* dtmRxSyncMs*/ 10000 ,
126
- /* PHY */
127
- /* phy2mSup*/ TRUE ,
128
- #if defined(NRF52840_XXAA)
129
- /* phyCodedSup*/ TRUE ,
130
- #else
131
- /* phyCodedSup*/ FALSE ,
132
- #endif
133
- /* stableModIdxTxSup*/ TRUE ,
134
- /* stableModIdxRxSup*/ TRUE
99
+ /* Device */
100
+ /* uint16_t*/ .compId = LL_COMP_ID_ARM, /* !< Company ID (default to ARM Ltd. ID). */
101
+ /* uint16_t*/ .implRev = LL_IMPL_REV, /* !< Implementation revision number. */
102
+ /* uint8_t*/ .btVer = LL_VER_BT_CORE_SPEC_5_0, /* !< Core specification implementation level (LL_VER_BT_CORE_SPEC_4_2). */
103
+ /* uint32_t*/ ._align32 = 0 , /* !< Unused. Align next field to word boundary. */
104
+ /* Advertiser */
105
+ /* uint8_t*/ .maxAdvSets = 4 , /* !< Maximum number of advertising sets. */
106
+ /* uint8_t*/ .maxAdvReports = 8 , /* !< Maximum number of pending legacy or extended advertising reports. */
107
+ /* uint16_t*/ .maxExtAdvDataLen = advDataLen, /* !< Maximum extended advertising data size. */
108
+ /* uint8_t*/ .defExtAdvDataFrag = 64 , /* !< Default extended advertising data fragmentation size. */
109
+ /* uint16_t*/ .auxDelayUsec = 0 , /* !< Auxiliary Offset delay above T_MAFS in microseconds. */
110
+ /* uint16_t*/ .auxPtrOffsetUsec = 0 , /* !< Delay of auxiliary packet in microseconds from the time specified by auxPtr. */
111
+ /* Scanner */
112
+ /* uint8_t*/ .maxScanReqRcvdEvt = 4 , /* !< Maximum scan request received events. */
113
+ /* uint16_t*/ .maxExtScanDataLen = advDataLen, /* !< Maximum extended scan data size. */
114
+ /* Connection */
115
+ #if defined(NRF52840_XXAA)
116
+ /* uint8_t*/ .maxConn = 4 , /* !< Maximum number of connections. */
117
+ #else
118
+ /* uint8_t*/ .maxConn = 2 ,
119
+ #endif
120
+ /* uint8_t*/ .numTxBufs = numTxBufs, /* !< Default number of transmit buffers. */
121
+ /* uint8_t*/ .numRxBufs = numRxBufs, /* !< Default number of receive buffers. */
122
+ /* uint16_t*/ .maxAclLen = connDataLen, /* !< Maximum ACL buffer size. */
123
+ /* int8_t*/ .defTxPwrLvl = 0 , /* !< Default Tx power level for connections. */
124
+ /* uint8_t*/ .ceJitterUsec = 0 , /* !< Allowable CE jitter on a slave (account for master's sleep clock resolution). */
125
+ /* ISO */
126
+ /* uint8_t*/ .numIsoTxBuf = 0 , /* !< Default number of ISO transmit buffers. */
127
+ /* uint8_t*/ .numIsoRxBuf = 0 , /* !< Default number of ISO receive buffers. */
128
+ /* uint16_t*/ .maxIsoBufLen = 0 , /* !< Maximum ISO buffer size between host and controller. */
129
+ /* uint16_t*/ .maxIsoPduLen = 0 , /* !< Maximum ISO PDU buffer size. */
130
+
131
+ /* CIS */
132
+ /* uint8_t*/ .maxCig = 0 , /* !< Maximum number of CIG. */
133
+ /* uint8_t*/ .maxCis = 0 , /* !< Maximum number of CIS. */
134
+ /* uint16_t*/ .subEvtSpaceDelay = 0 , /* !< Subevent spacing above T_MSS. */
135
+ /* DTM */
136
+ /* uint16_t*/ .dtmRxSyncMs = 10000 , /* !< DTM Rx synchronization window in milliseconds. */
137
+ /* PHY */
138
+ /* bool_t*/ .phy2mSup = TRUE , /* !< 2M PHY supported. */
139
+
140
+ #if defined(NRF52840_XXAA)
141
+ /* bool_t*/ .phyCodedSup = TRUE , /* !< Coded PHY supported. */
142
+ #else
143
+ /* bool_t*/ .phyCodedSup = FALSE ,
144
+ #endif
145
+ /* bool_t*/ .stableModIdxTxSup = TRUE , /* !< Tx stable modulation index supported. */
146
+ /* bool_t*/ .stableModIdxRxSup = TRUE , /* !< Rx stable modulation index supported. */
135
147
};
136
148
137
149
extern " C" void TIMER0_IRQHandler (void );
0 commit comments