ath10k: define an enum to enable cycle counter wraparound logic
[cascardo/linux.git] / drivers / net / wireless / ath / ath10k / core.h
index bbc4e0f..3da18c9 100644 (file)
@@ -713,12 +713,10 @@ struct ath10k {
                int uart_pin;
                u32 otp_exe_param;
 
-               /* This is true if given HW chip has a quirky Cycle Counter
-                * wraparound which resets to 0x7fffffff instead of 0. All
-                * other CC related counters (e.g. Rx Clear Count) are divided
-                * by 2 so they never wraparound themselves.
+               /* Type of hw cycle counter wraparound logic, for more info
+                * refer enum ath10k_hw_cc_wraparound_type.
                 */
-               bool has_shifted_cc_wraparound;
+               enum ath10k_hw_cc_wraparound_type cc_wraparound_type;
 
                /* Some of chip expects fragment descriptor to be continuous
                 * memory for any TX operation. Set continuous_frag_desc flag