PM5358 S/UNI-4x622 Driver Manual
Application Programming Interface
Proprietary and Confidential to PMC-Sierra, Inc. 74
Document ID: PMC-2010419, Issue 1
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
Forcing Path AIS: suni4x622TPOHForceAIS
This function enables the insertion of the Path Alarm Indication Signal (PAIS) in the transmit
stream. The synchronous payload envelope and the pointer bytes (H1 – H3) are set to all ones.
Prototype
INT4 suni4x622TPOHForceAIS(sSUNI4x622_HNDL
deviceHandle, UINT1 channel, UINT2 enable)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : channel number
enable : flag to start/stop path AIS insertion
Outputs
None
Returns
Success =
SUNI4x622_SUCCESS
Failure = SUNI4x622_ERR_INVALID_DEVICE_STATE
SUNI4x622_ERR_INVALID_DEV
SUNI4x622_ERR_INVALID_CHAN
Valid States
SUNI4x622_ACTIVE, SUNI4x622_INACTIVE
Side Effects
None
4.8 Payload Processor
The Payload Processor performs both ATM and PPP processing.
Setting Payload configuration parameters: suni4x622PyldCfg
This function sets up the minimum and maximum packet length, cell header and mask for
packet/cell payload configuration.
Prototype
INT4 suni4x622PyldCfg(sSUNI4x622_HNDL deviceHandle,
UINT1 channel, sSUNI4x622_CFG_PYLD *ppyldcfg)
Inputs
deviceHandle : device handle (from suni4x622Add)
channel : channel number