|
@@ -1,5 +1,5 @@
|
|
/*
|
|
/*
|
|
- * Copyright (c) 2012-2018 The Linux Foundation. All rights reserved.
|
|
|
|
|
|
+ * Copyright (c) 2012-2018, 2020 The Linux Foundation. All rights reserved.
|
|
*
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* Permission to use, copy, modify, and/or distribute this software for
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
* any purpose with or without fee is hereby granted, provided that the
|
|
@@ -101,11 +101,54 @@
|
|
CFG_VALUE_OR_DEFAULT, \
|
|
CFG_VALUE_OR_DEFAULT, \
|
|
"Interval of high pulse")
|
|
"Interval of high pulse")
|
|
|
|
|
|
|
|
+/*
|
|
|
|
+ * <ini>
|
|
|
|
+ * gwow_pulse_repeat_count - wow pulse repetition count
|
|
|
|
+ * @Min: 1
|
|
|
|
+ * @Max: 0xffffffff
|
|
|
|
+ * @Default: 1
|
|
|
|
+ *
|
|
|
|
+ * The repeat count of wow pin wave.
|
|
|
|
+ * Level low to level high is one time, 0xffffffff means endless.
|
|
|
|
+ *
|
|
|
|
+ * Supported Feature: WOW pulse
|
|
|
|
+ *
|
|
|
|
+ * Usage: External
|
|
|
|
+ *
|
|
|
|
+ * </ini>
|
|
|
|
+ */
|
|
|
|
+#define CFG_PMO_WOW_PULSE_REPEAT CFG_INI_UINT("gwow_pulse_repeat_count", \
|
|
|
|
+ 1, 0xffffffff, 1, \
|
|
|
|
+ CFG_VALUE_OR_DEFAULT, \
|
|
|
|
+ "Pulse repetition count")
|
|
|
|
+
|
|
|
|
+/*
|
|
|
|
+ * <ini>
|
|
|
|
+ * gwow_pulse_init_state - wow pulse init level
|
|
|
|
+ * @Min: 0
|
|
|
|
+ * @Max: 1
|
|
|
|
+ * @Default: 0
|
|
|
|
+ *
|
|
|
|
+ * The init level of wow pin, 1 is high level, 0 is low level.
|
|
|
|
+ *
|
|
|
|
+ * Supported Feature: WOW pulse
|
|
|
|
+ *
|
|
|
|
+ * Usage: External
|
|
|
|
+ *
|
|
|
|
+ * </ini>
|
|
|
|
+ */
|
|
|
|
+#define CFG_PMO_WOW_PULSE_INIT CFG_INI_UINT("gwow_pulse_init_state", \
|
|
|
|
+ 0, 1, 1, \
|
|
|
|
+ CFG_VALUE_OR_DEFAULT, \
|
|
|
|
+ "Pulse init level")
|
|
|
|
+
|
|
#define CFG_WOW_PULSE_ALL \
|
|
#define CFG_WOW_PULSE_ALL \
|
|
CFG(CFG_PMO_WOW_PULSE_ENABLE) \
|
|
CFG(CFG_PMO_WOW_PULSE_ENABLE) \
|
|
CFG(CFG_PMO_WOW_PULSE_PIN) \
|
|
CFG(CFG_PMO_WOW_PULSE_PIN) \
|
|
CFG(CFG_PMO_WOW_PULSE_LOW) \
|
|
CFG(CFG_PMO_WOW_PULSE_LOW) \
|
|
- CFG(CFG_PMO_WOW_PULSE_HIGH)
|
|
|
|
|
|
+ CFG(CFG_PMO_WOW_PULSE_HIGH) \
|
|
|
|
+ CFG(CFG_PMO_WOW_PULSE_REPEAT) \
|
|
|
|
+ CFG(CFG_PMO_WOW_PULSE_INIT)
|
|
#else
|
|
#else
|
|
#define CFG_WOW_PULSE_ALL
|
|
#define CFG_WOW_PULSE_ALL
|
|
#endif /* WLAN_FEATURE_WOW_PULSE */
|
|
#endif /* WLAN_FEATURE_WOW_PULSE */
|