Internal link layer controller connected isochronous stream interface file. More...
#include "lmgr_api_iso.h"
#include "lctr_int.h"
#include "lctr_int_iso.h"
#include "lctr_int_conn.h"
#include "lctr_api_cis.h"
#include "lctr_pdu_conn.h"
#include "bb_ble_api.h"
#include "bb_ble_api_op.h"
#include "lctr_pdu_iso.h"
#include "wsf_timer.h"
#include "pal_codec.h"
Go to the source code of this file.
Data Structures | |
struct | lctrFtParam_t |
Parameters related to Tx flush timeout. More... | |
struct | ftNode |
Flush timeout parameter node. More... | |
struct | ftList |
Flush timeout parameter list. More... | |
struct | lctrCisCtx_t |
Connected isochronous stream context. More... | |
struct | node |
Connected isochronous stream node. More... | |
struct | list |
Connected isochronous stream linked list. More... | |
struct | lctrCigCtx_t |
Connected isochronous group context. More... | |
Macros | |
#define | LCTR_MAX_BN 0x0F |
Maximum number of burst number. More... | |
#define | LCTR_GET_CIG_RM_HANDLE(pCigCtx) (LL_MAX_CONN + LL_MAX_ADV_SETS + (pCigCtx - &pLctrCigTbl[0])) |
Get reservation manager handle for CIG from the context pointer. More... | |
#define | LCTR_GET_CIG_TM_HANDLE(pCigCtx) (LL_MAX_CONN + LL_MAX_PER_SCAN + (pCigCtx - &pLctrCigTbl[0])) |
Get topology manager handle for CIG from the context pointer. More... | |
#define | LCTR_GET_CIG_RM_CTX(rmHandle) &(pLctrCigTbl[rmHandle - (LL_MAX_CONN + LL_MAX_ADV_SETS)]) |
Resolve CIG context pointer from the reservation manager handle. More... | |
#define | LCTR_GET_CIG_TM_CTX(rmHandle) &(pLctrCigTbl[rmHandle - (LL_MAX_CONN + LL_MAX_PER_SCAN)]) |
Resolve CIG context pointer from the topology manager handle. More... | |
#define | LCTR_CIS_DATA_PDU_START_OFFSET 3 |
ISO Data PDU start offset in a buffer. More... | |
#define | LCTR_CIS_DATA_TX_PDU_START_OFFSET 0 |
Data PDU start offset in a buffer. More... | |
Typedefs | |
typedef struct ftNode | lctrFtParamNode_t |
Flush timeout parameter node. More... | |
typedef struct ftList | lctrFtParamList_t |
Flush timeout parameter list. More... | |
typedef struct node | lctrCisNode_t |
Connected isochronous stream node. More... | |
typedef struct list | lctrCisList_t |
Connected isochronous stream linked list. More... | |
Enumerations |
Functions | |
static void | lctrCisIncPacketCounterTx (lctrCisCtx_t *pCisCtx) |
Increment the Tx/encrypt packet counter. More... | |
static void | lctrCisIncPacketCounterRx (lctrCisCtx_t *pCisCtx) |
Increment the Rx/decrypt packet counter. More... | |
Internal link layer controller connected isochronous stream interface file.
Copyright (c) 2013-2019 Arm Ltd. All Rights Reserved.
Copyright (c) 2019-2020 Packetcraft, Inc.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file lctr_int_cis.h.
#define LCTR_CIS_DATA_PDU_START_OFFSET 3 |
ISO Data PDU start offset in a buffer.
Definition at line 64 of file lctr_int_cis.h.
#define LCTR_CIS_DATA_TX_PDU_START_OFFSET 0 |
Data PDU start offset in a buffer.
Definition at line 67 of file lctr_int_cis.h.
#define LCTR_GET_CIG_RM_CTX | ( | rmHandle | ) | &(pLctrCigTbl[rmHandle - (LL_MAX_CONN + LL_MAX_ADV_SETS)]) |
Resolve CIG context pointer from the reservation manager handle.
Definition at line 58 of file lctr_int_cis.h.
#define LCTR_GET_CIG_RM_HANDLE | ( | pCigCtx | ) | (LL_MAX_CONN + LL_MAX_ADV_SETS + (pCigCtx - &pLctrCigTbl[0])) |
Get reservation manager handle for CIG from the context pointer.
Definition at line 52 of file lctr_int_cis.h.
#define LCTR_GET_CIG_TM_CTX | ( | rmHandle | ) | &(pLctrCigTbl[rmHandle - (LL_MAX_CONN + LL_MAX_PER_SCAN)]) |
Resolve CIG context pointer from the topology manager handle.
Definition at line 61 of file lctr_int_cis.h.
#define LCTR_GET_CIG_TM_HANDLE | ( | pCigCtx | ) | (LL_MAX_CONN + LL_MAX_PER_SCAN + (pCigCtx - &pLctrCigTbl[0])) |
Get topology manager handle for CIG from the context pointer.
Definition at line 55 of file lctr_int_cis.h.
#define LCTR_MAX_BN 0x0F |
Maximum number of burst number.
Definition at line 49 of file lctr_int_cis.h.
typedef struct list lctrCisList_t |
Connected isochronous stream linked list.
typedef struct node lctrCisNode_t |
Connected isochronous stream node.
typedef struct ftList lctrFtParamList_t |
Flush timeout parameter list.
typedef struct ftNode lctrFtParamNode_t |
Flush timeout parameter node.
anonymous enum |
CIS main states.
Enumerator | |
---|---|
LCTR_CIS_STATE_IDLE |
CIS idle state. |
LCTR_CIS_STATE_EST |
CIS established state. |
LCTR_CIS_STATE_SHUTDOWN |
CIS terminating state. |
LCTR_CIS_STATE_TOTAL |
Total number of CIS slave states. |
Definition at line 74 of file lctr_int_cis.h.
anonymous enum |
CIS termination states.
Enumerator | |
---|---|
LCTR_CIS_TERM_STATE_IDLE |
Idle state. |
LCTR_CIS_TERM_STATE_TERMINATING |
Wait for LL_CIS_RSP state. |
LCTR_CIS_TERM_STATE_TOTAL |
Total CIS states. |
Definition at line 83 of file lctr_int_cis.h.
anonymous enum |
CIS termination procedure events.
Definition at line 91 of file lctr_int_cis.h.
anonymous enum |
CIS PDU type.
Enumerator | |
---|---|
LCTR_CIS_PDU_DEFAULT |
Default PDU. |
LCTR_CIS_PDU_NULL |
NULL PDU. |
LCTR_CIS_PDU_EMPTY |
Empty PDU. |
LCTR_CIS_PDU_NON_EMPTY |
Non-empty PDU. |
Definition at line 103 of file lctr_int_cis.h.
|
static |
Increment the Rx/decrypt packet counter.
pCisCtx | Connection context. |
Definition at line 520 of file lctr_int_cis.h.
|
static |
Increment the Tx/encrypt packet counter.
pCisCtx | Connection context. |
Definition at line 502 of file lctr_int_cis.h.