Эх сурвалжийг харах

qcacld-3.0: Add PTP timestamp socket options TX support

Host need to fill netbuf with qtime instead of tsf. So
host need to add tsf64 enable/disable related functions
and definitions to sync with FW.

The tsf64_time is new added to fw/host structure, so host
need to add parse functions to get tsf64_time from tx_desc.

Change-Id: Ieea0d8f905eb57629d279f8da0e811857b760b1f
CRs-Fixed: 2444456
Jiani Liu 6 жил өмнө
parent
commit
79f5edab13

+ 2 - 0
fw_offload/dispatcher/inc/cfg_fwol_generic.h

@@ -473,6 +473,7 @@
  * CFG_SET_TSF_PTP_OPT_TX                    (0x2)
  * CFG_SET_TSF_PTP_OPT_RAW                   (0x4)
  * CFG_SET_TSF_DBG_FS                        (0x8)
+ * CFG_SET_TSF_PTP_OPT_TSF64_TX              (0x10)
  *
  * Related: None
  *
@@ -484,6 +485,7 @@
 #define CFG_SET_TSF_PTP_OPT_TX                    (0x2)
 #define CFG_SET_TSF_PTP_OPT_RAW                   (0x4)
 #define CFG_SET_TSF_DBG_FS                        (0x8)
+#define CFG_SET_TSF_PTP_OPT_TSF64_TX              (0x10)
 
 #define CFG_SET_TSF_PTP_OPT CFG_INI_UINT( \
 		"gtsf_ptp_options", \