Hello Richard,

thanks for the answer.

Looking into iwlwifi, (iwlmvm, as this is an Intel AX200),  time stamping seems 
to be supported here, right?

https://lxr.missinglinkelectronics.com/linux+v3.11/drivers/net/wireless/iwlwifi/mvm/mac80211.c


static void 
iwl_mvm_mac_tx<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=iwl_mvm_mac_tx>(struct
 
ieee80211_hw<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=ieee80211_hw>
 *hw<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=hw>,
 
268<https://lxr.missinglinkelectronics.com/linux+v3.11/drivers/net/wireless/iwlwifi/mvm/mac80211.c#L268>
                           struct 
ieee80211_tx_control<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=ieee80211_tx_control>
 *control<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=control>,
 
269<https://lxr.missinglinkelectronics.com/linux+v3.11/drivers/net/wireless/iwlwifi/mvm/mac80211.c#L269>
                           struct 
sk_buff<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=sk_buff> 
*skb<https://lxr.missinglinkelectronics.com/linux+v3.11/+code=skb>)


In the linuxptp page, it is said:
"

Note the software-transmit (SOF_TIMESTAMPING_TX_SOFTWARE) capability. If this 
is lacking, then the MAC cannot be used at all. However, adding this capability 
entails adding a single line of code to the device driver.

http://linuxptp.sourceforge.net/


"So, you need to add one line, skb_tx_timestamp(), into the MAC driver in
order to get ptp4l working with SW timestamping on your hardware. "

https://sourceforge.net/p/linuxptp/mailman/message/37044948/
"


Is this the possible issue? Do I need to add

skb_tx_timestamp(skb)?

Thanks for the support.


Best Regards,

Rute Sofia

--
fortiss · Landesforschungsinstitut des Freistaats Bayern
An-Institut Technische Universität München
Guerickestraße 25
80805 München
Germany
Tel.: +49 (89) 3603522 170
Fax: +49 (89) 3603522 50
E-Mail: so...@fortiss.org<mailto:so...@fortiss.org>
http://www.fortiss.org<http://www.fortiss.org/>

Amtsgericht München: HRB: 176633
USt-IdNr.: DE263907002, Steuer-Nr.: 143/237/25900
Rechtsform: gemeinnützige GmbH
Sitz der Gesellschaft: München
Geschäftsführer: Dr. Harald Rueß, Thomas Vallon
Vorsitzender des Aufsichtsrats: Dr. Manfred Wolter

________________________________
From: Richard Cochran <richardcoch...@gmail.com>
Sent: Wednesday, September 9, 2020 7:38:28 PM
To: Rute Sofia
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] SOF_TIMESTAMPING_TX_SOFTWARE missing

On Wed, Sep 09, 2020 at 02:54:45PM +0000, Rute Sofia wrote:

> In regards to driver support, we are using the Intel AX200
> (iwlwifi), kernel 5.7. ethtool states that there are only receive
> timestamping capabilities. How can I check in the iwlwifi code if TX
> capabitilies are also there?

Get a copy of the Linux kernel sources and look at the wifi stack in

   net/mac80211

and your driver in

   drivers/net/wireless/intel/iwlwifi

Cheers,

Richard

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to