Running ethtool -T mlan0 give me this output:

Time stamping parameters for mlan0:
Capabilities:
        software-receive      (SOF_TIMESTAMPING_RX_SOFTWARE)
        software-system-clock (SOF_TIMESTAMPING_SOFTWARE)
PTP Hardware Clock: none
Hardware Transmit Timestamp Modes: none
Hardware Receive Filter Modes: none


Reading through the repo page and other questions, I figured I need to do
two things

1. Add skb_tx_timestamp(skb) call to the driver, I added this line
into woal_hard_start_xmit right before send packet

skb_tx_timestamp(skb);
status = mlan_send_packet(priv->phandle->pmlan_adapter, pmbuf);

2. Using Linux Kernel 3.8.11 made me think maybe the OS does not let me see
if MAC is capable of time transmit (TX) so patched the petalinux with a
small change to ethtool.c
added this line  .get_ts_info= ethtool_op_get_ts_info  to   ethtool_ops
but nothing changed !

Could anyone help me to make this MAC with this kernel work ?
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to