> Hm.. MDIO_AN_T1_ADV_M_MST is T4 of Link codeword Base Page. The spec says: > "Transmitted Nonce Field (T[4:0]) is a 5-bit wide field whose lower 4 > bits contains a random or pseudorandom number. A new value shall be > generated for each entry to the Ability Detect state" > > Should we actually do it? Managed to get some answears from the HW team: Bits 7.515.3:0 correspond to the lower 4 bits of the Transmitted Nonce Field. We do not allow users to write these bits as they need to be controlled by the auto-negotiation (AN) sequencers in order to ensure that AN remains robust and reliable. However, the Transmitted Nonce value is readable via register 7.515. So we could call these bits out in the documentation and indicate that they are readonly. Bottom line is that the driver cannot and should not do anything with the lower 4 Transmitted Nonce bits. The PHY controls them. Also from 802.3 98.2.1.2.3 Transmitted Nonce Field: If the device has received a DME page with good CRC16 and the link partner has a Transmitted Nonce Field (T[4:0]) that matches the devices generated T[4:0], the device shall invert its T[0] bit and regenerate a new random value for T[3:1] and use that as its new T[4:0] value. Since the DME pages are exchanged in a halfduplex manner, it is possible to swap to a new T[4:0] value prior to transmitting the DME page. One device will always see a DME page with good CRC16 before the other device hence this swapping will guarantee that nonce_match will never be true. Seems that there must be hardware to deal with nonce collisions. Regards, Alexandru