This function sets the link protocol parameters required by the driver.
If the SNALink wishes to listen on only one station address, Station Address 2 should be set to zero.
A value of zero in both fields indicates that all error-free received frames are to be passed to the SNALink, regardless of the contents of their first address byte.
Bit 7 | 1 = Four wire (constant RTS/CTS). 0 = Two wire (switched RTS/CTS). |
Bit 6 | 1 = NRZI encoding. 0 = NRZ encoding. |
Bit 5 | 1 = HDLC level 1 conventions. 0 = SDLC level 1 conventions. |
Bit 4 | 1 = Full-duplex (simultaneous 2-way) data. 0 = Half-duplex (alternating 1-way) data. |
Bit 3 | 1 = Generate internal clocking. 0 = Take external clocking. |
Bit 2 | 1 = Use DMA if available. 0 = Do not use DMA on this link. |
Bit 1 | 1 = Reset all statistics to zero. 0 = Leave accumulated statistics as is. |
Bit 0 | Reserved. |
IoStatus.Status | IoStatus.Information | Description |
---|---|---|
STATUS_INVALID_PARAMETER | IO_ERR_LINKCHARBUF_ WRONG_SIZE |
|
STATUS_INVALID_PARAMETER | IO_ERR_FRAME_BUF_ TOO_SMALL |
Buffer must be at least 268 bytes. |
STATUS_INVALID_PARAMETER | IO_ERR_FRAME_BUF_ TOO_BIG |
Buffer maximum size is 2048 bytes. |
STATUS_INVALID_PARAMETER | IO_ERR_NO_CLOCKS | No internal clocking available |
STATUS_DATA_ERROR | IO_ERR_HARDWARE_ 8273CMD_TIMEOUT |
|
STATUS_SUCCESS | IO_ERR_NO_DMA_FDX | DMA requested, but can't be used |
The driver should always start the receiver after processing this request. If either the transmitter or receiver is active when this request is issued, the driver stops the current frame before resetting the link characteristics, then restarts the previous operation.
Link Service DLLs that support the synchronous dumb card interface use the following registry entries to the control this feature.
SYSTEM\CurrentControlSet\Services\<linkService>\Parameters
where <linkService> is the name of the link service.
Under this node, the following entries and values must be entered or modified:
A node called ExtraParameters must be created or modified with the following registry entries and values: