|
@@ -10508,6 +10508,51 @@ enum hdd_external_acs_freq_band {
|
|
|
#define CFG_ITO_REPEAT_COUNT_MIN (0)
|
|
|
#define CFG_ITO_REPEAT_COUNT_MAX (5)
|
|
|
#define CFG_ITO_REPEAT_COUNT_DEFAULT (0)
|
|
|
+
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * oce_sta_enable - Enable/disable oce feature for STA
|
|
|
+ * @Min: 0
|
|
|
+ * @Max: 1
|
|
|
+ * @Default: 1
|
|
|
+ *
|
|
|
+ * This ini is used to enable/disable oce feature for STA
|
|
|
+ *
|
|
|
+ * Related: None
|
|
|
+ *
|
|
|
+ * Supported Feature: OCE
|
|
|
+ *
|
|
|
+ * Usage: External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
+#define CFG_OCE_ENABLE_STA_NAME "oce_sta_enable"
|
|
|
+#define CFG_OCE_ENABLE_STA_MIN (0)
|
|
|
+#define CFG_OCE_ENABLE_STA_MAX (1)
|
|
|
+#define CFG_OCE_ENABLE_STA_DEFAULT (1)
|
|
|
+
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * oce_sap_enable - Enable/disable oce feature for SAP
|
|
|
+ * @Min: 0
|
|
|
+ * @Max: 1
|
|
|
+ * @Default: 1
|
|
|
+ *
|
|
|
+ * This ini is used to enable/disable oce feature for SAP
|
|
|
+ *
|
|
|
+ * Related: None
|
|
|
+ *
|
|
|
+ * Supported Feature: OCE
|
|
|
+ *
|
|
|
+ * Usage: External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
+#define CFG_OCE_ENABLE_SAP_NAME "oce_sap_enable"
|
|
|
+#define CFG_OCE_ENABLE_SAP_MIN (0)
|
|
|
+#define CFG_OCE_ENABLE_SAP_MAX (1)
|
|
|
+#define CFG_OCE_ENABLE_SAP_DEFAULT (1)
|
|
|
+
|
|
|
/*
|
|
|
* <ini>
|
|
|
* groam_disallow_duration -disallow duration before roaming
|
|
@@ -11323,6 +11368,8 @@ struct hdd_config {
|
|
|
uint32_t disallow_duration;
|
|
|
uint32_t rssi_channel_penalization;
|
|
|
uint32_t num_disallowed_aps;
|
|
|
+ bool oce_sta_enabled;
|
|
|
+ bool oce_sap_enabled;
|
|
|
};
|
|
|
|
|
|
#define VAR_OFFSET(_Struct, _Var) (offsetof(_Struct, _Var))
|