Structure used with TcPortQueryAutonegotiationParameters and TcPortSetAutonegotiationParameters. More...
#include <TcApi.h>
Data Fields | |
TC_SPEED_CONFIGURATION | Configuration |
TC_SPEED_CONFIGURATION | Mask |
BOOLEAN | Enabled |
Structure used with TcPortQueryAutonegotiationParameters and TcPortSetAutonegotiationParameters.
In case of a query request, it returns the current autonegotiation parameters.
In case of a set request, it allows to enable/disable autonegotiation, to set the speed advertised during autonegotiation or to force a specific speed in case autonegotiation is disabled.
TC_SPEED_CONFIGURATION PTC_AUTONEG_PARAMETERS::Configuration |
In case of a query operation, if autonegotiation is enabled (field Enabled is TRUE), it contains a bitmask of TC_SPEED_CONFIGURATION values indicating the link speeds currently advertised during autonegotiation. If autonegotiation is off, this field contains the link speed that is forced on the link (one and only one of the bit values in the TC_SPEED_CONFIGURATION enumeration.
In case of a set operation, if autonegotiation should be enabled (field Enabled is TRUE), it should contain the link speeds that should be advertised upon autonegotiation. If autonegotiation is disabled (field Enabled is FALSE), it contains the link speed that should be forced, one and only one of the values in the TC_SPEED_CONFIGURATION enumeration.
TC_SPEED_CONFIGURATION PTC_AUTONEG_PARAMETERS::Mask |
In case of a query operation, it returns the link speeds supported by the port, as a bitwise combination of the TC_SPEED_CONFIGURATION bit values.
In case of a set operation, this field should be set to the same value as Configuration.
BOOLEAN PTC_AUTONEG_PARAMETERS::Enabled |
In case of a query operation, TRUE if autonegotiation is enabled.
In case of a set operation, enables or disables autonegotiation.
TurboCap API documentation. Copyright (c) 2007-2008 CACE Technologies. All rights reserved.