ice: increase the GNSS data polling interval to 20 ms
authorMichal Schmidt <mschmidt@redhat.com>
Wed, 12 Apr 2023 08:19:25 +0000 (10:19 +0200)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 20 Apr 2023 23:33:14 +0000 (16:33 -0700)
Double the GNSS data polling interval from 10 ms to 20 ms.
According to Karol Kolacinski from the Intel team, they have been
planning to make this change.

Signed-off-by: Michal Schmidt <mschmidt@redhat.com>
Reviewed-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Tested-by: Sunitha Mekala <sunithax.d.mekala@intel.com> (A Contingent worker at Intel)
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ice/ice_gnss.h

index 640df7411373b904465446c8614b6780df1c1894..b8bb8b63d081723b13719e75fb974df2e865c143 100644 (file)
@@ -5,7 +5,7 @@
 #define _ICE_GNSS_H_
 
 #define ICE_E810T_GNSS_I2C_BUS         0x2
-#define ICE_GNSS_POLL_DATA_DELAY_TIME  (HZ / 100) /* poll every 10 ms */
+#define ICE_GNSS_POLL_DATA_DELAY_TIME  (HZ / 50) /* poll every 20 ms */
 #define ICE_GNSS_TIMER_DELAY_TIME      (HZ / 10) /* 0.1 second per message */
 #define ICE_GNSS_TTY_WRITE_BUF         250
 #define ICE_MAX_I2C_DATA_SIZE          FIELD_MAX(ICE_AQC_I2C_DATA_SIZE_M)