The ISDN_PROTOCOL_PARMS_LAPD data structure configures the protocol stack for LAPD. A pointer to this structure is passed as an argument to isdnStartProtocol.
Refer to ISDN_PROTOCOL_PARMS_LAPD parameters for more information on the default values of the parameters in this structure.
The structure is defined as:
typedef struct ISDN_PROTOCOL_PARMS_LAPD
{
DWORD size; /* Size of this structure */
timer_val_t t101;
timer_val_t t102;
timer_val_t t198; /* Observation period for Frame error count */
WORD rate; /* Data rate */
WORD max_FEC_errors; /* Maximum number of FEC during t198 */
/* When to assign/remove a TEI */
WORD tei_time_assignment; /* TEI time assignment at : CONFIGURATION,
NA ACTIVATION or USAGE time (isdndl.h) */
WORD tei_time_removal; /* TEI time removal at : NA DEACTIVATION,
POWER DOWN (dlint.h) */
BYTE tei[3]; /* TEI values:
0 : Broadcast
1-63 : Non automatic TEI assignment
127 : Automatic TEI assignment */
BYTE bpad[1]; /* For 8 bytes alignment */
/* Size is now 32 bytes */
WORD nfas_group; /* NFAS group number if duplicate NAI values */
BYTE bpad1[2]; /* For 8 bytes alignment */
/* Size is now 32 bytes */
} ISDN_PROTOCOL_PARMS_LAPD;