Details
Description
The stack currently does this:
if( tConnectionState.fIsLinkUp )
{ /* link is up */ulStatusFlags |= 0x01; /* set flag "link up" */
if (tConnectionState.fIsFullDuplex)
{
ulStatusFlags |= 0x02; /* set flag "Full Duplex" */
ulStatusFlags |= 0x0C; /* set flag "auto neg successful" */
}
else
{
ulStatusFlags |= 0x08; /* set flag "auto neg failed but detected speed" */
}
}
Which of course fails for fixed duplex mode 100 MBit/s full.
We need access to more PHY status information from within the stack (2PS/STDMAC needs adaption).
Attachments
Issue Links
- blocks
-
PSETH2PS-33 Implement an IOCTL to get the autoneg state from the PHY registers
- Closed