Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Functions | Variables
lctr_int_iso.h File Reference

Internal link layer controller connection interface file. More...

#include "lctr_api_iso.h"
#include "lctr_int.h"
#include "lctr_int_conn.h"
#include "lctr_pdu_iso.h"
#include "lmgr_api_iso.h"
#include "ll_defs.h"
#include "wsf_cs.h"
#include "pal_codec.h"

Go to the source code of this file.

Data Structures

struct  lctrIsoTxBufDesc_t
 Transmit buffer descriptor. More...
 
struct  lctrCodecHandlers_t
 Codec event handlers. More...
 
struct  lctrIsoalTxCtx_t
 Transmit ISOAL Context. More...
 
struct  lctrIsoalRxCtx_t
 Receive ISOAL Context. More...
 
struct  lctrInDataPathCtx_t
 Input datapath context. More...
 
struct  lctrOutDataPathCtx_t
 Output datapath context. More...
 
union  lctrDataPathCtx_t
 Datapath context. More...
 

Macros

#define LCTR_ISO_DATA_PDU_FC_OFFSET   0
 
#define LCTR_ISO_DATA_PDU_LEN_OFFSET   1
 
#define LCTR_FIRST_CIS_HANDLE   (pLctrRtCfg->maxConn)
 First CIS handle (follows ACL handles). More...
 
#define LCTR_FIRST_BIS_HANDLE   (pLctrRtCfg->maxConn + pLctrRtCfg->maxCis)
 First BIS handle (follows CIS handles). More...
 
#define LCTR_ISO_FRAG_HDR_MAX_LEN   (LL_ISO_DATA_HDR_LEN + LL_ISO_SEG_HDR_LEN + LL_ISO_SEG_TO_LEN)
 Fragment header maximum length. More...
 
#define LCTR_ISO_FRAG_TRL_MAX_LEN   LL_DATA_MIC_LEN
 Fragment trailer maximum length. More...
 
#define LCTR_ISO_SDU_DATA_START_OFFSET   HCI_ISO_HDR_LEN + HCI_ISO_DL_MAX_LEN
 SDU offset to start of the SDU data buffer. More...
 

Typedefs

typedef bool_t(* lctrCodecStartStream) (uint16_t id, PalCodecSreamParam_t *pParam)
 Start stream call signature. More...
 
typedef void(* lctrCodecStopStream) (uint16_t id)
 Stop stream call signature. More...
 
typedef uint16_t(* lctrCodecStreamIn) (uint16_t id, uint8_t *pBuf, uint16_t len, uint32_t *pPktCtr)
 Stream in data call signature. More...
 
typedef void(* lctrCodecStreamOut) (uint16_t id, const uint8_t *pBuf, uint16_t len, uint32_t pktCtr)
 Stream out data call signature. More...
 

Functions

static void lctrIsoSduTxIncAvailBuf (void)
 Increment available Tx data buffers. More...
 
static void lctrIsoSduTxDecAvailBuf (void)
 Decrement available Tx data buffers. More...
 
static void lctrIsoDataRxIncAvailBuf (uint8_t numBufs)
 Increment available Rx data buffers. More...
 
static void lctrIsoDataRxDecAvailBuf (void)
 Decrement available Rx data buffers. More...
 

Variables

lctrCodecHandlers_t lctrCodecHdlr
 Codec event handlers. More...
 

Detailed Description

Internal link layer controller connection interface file.

Copyright (c) 2013-2018 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_iso.h.

Macro Definition Documentation

#define LCTR_FIRST_BIS_HANDLE   (pLctrRtCfg->maxConn + pLctrRtCfg->maxCis)

First BIS handle (follows CIS handles).

Definition at line 52 of file lctr_int_iso.h.

#define LCTR_FIRST_CIS_HANDLE   (pLctrRtCfg->maxConn)

First CIS handle (follows ACL handles).

Definition at line 49 of file lctr_int_iso.h.

#define LCTR_ISO_DATA_PDU_FC_OFFSET   0

Flow control fields data PDU offset.

Definition at line 45 of file lctr_int_iso.h.

#define LCTR_ISO_DATA_PDU_LEN_OFFSET   1

Length field CIS or BIS Data PDU offset.

Definition at line 46 of file lctr_int_iso.h.

#define LCTR_ISO_FRAG_HDR_MAX_LEN   (LL_ISO_DATA_HDR_LEN + LL_ISO_SEG_HDR_LEN + LL_ISO_SEG_TO_LEN)

Fragment header maximum length.

Definition at line 55 of file lctr_int_iso.h.

#define LCTR_ISO_FRAG_TRL_MAX_LEN   LL_DATA_MIC_LEN

Fragment trailer maximum length.

Definition at line 58 of file lctr_int_iso.h.

#define LCTR_ISO_SDU_DATA_START_OFFSET   HCI_ISO_HDR_LEN + HCI_ISO_DL_MAX_LEN

SDU offset to start of the SDU data buffer.

Definition at line 61 of file lctr_int_iso.h.

Typedef Documentation

typedef bool_t(* lctrCodecStartStream) (uint16_t id, PalCodecSreamParam_t *pParam)

Start stream call signature.

Definition at line 85 of file lctr_int_iso.h.

typedef void(* lctrCodecStopStream) (uint16_t id)

Stop stream call signature.

Definition at line 88 of file lctr_int_iso.h.

typedef uint16_t(* lctrCodecStreamIn) (uint16_t id, uint8_t *pBuf, uint16_t len, uint32_t *pPktCtr)

Stream in data call signature.

Definition at line 91 of file lctr_int_iso.h.

typedef void(* lctrCodecStreamOut) (uint16_t id, const uint8_t *pBuf, uint16_t len, uint32_t pktCtr)

Stream out data call signature.

Definition at line 94 of file lctr_int_iso.h.

Function Documentation

static void lctrIsoDataRxDecAvailBuf ( void  )
static

Decrement available Rx data buffers.

Definition at line 250 of file lctr_int_iso.h.

static void lctrIsoDataRxIncAvailBuf ( uint8_t  numBufs)
static

Increment available Rx data buffers.

Parameters
numBufsNumber of additional buffers available.

Definition at line 236 of file lctr_int_iso.h.

static void lctrIsoSduTxDecAvailBuf ( void  )
static

Decrement available Tx data buffers.

Definition at line 220 of file lctr_int_iso.h.

static void lctrIsoSduTxIncAvailBuf ( void  )
static

Increment available Tx data buffers.

Definition at line 206 of file lctr_int_iso.h.

Variable Documentation

lctrCodecHandlers_t lctrCodecHdlr

Codec event handlers.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.