|
@@ -1130,14 +1130,21 @@
|
|
|
#define CFG_DP_CONFIG_DP_TRACE_ALL
|
|
|
#endif
|
|
|
|
|
|
+#ifdef WLAN_NUD_TRACKING
|
|
|
/*
|
|
|
* <ini>
|
|
|
* gEnableNUDTracking - Will enable or disable NUD tracking within driver
|
|
|
* @Min: 0
|
|
|
- * @Max: 1
|
|
|
- * @Default: 1
|
|
|
+ * @Max: 2
|
|
|
+ * @Default: 2
|
|
|
*
|
|
|
- * This ini is used to enable or disable NUD tracking within driver
|
|
|
+ * This ini is used to specify the behaviour of the driver for NUD tracking.
|
|
|
+ * If the ini value is:-
|
|
|
+ * 0: Driver will not track the NUD failures, and ignore the same.
|
|
|
+ * 1: Driver will track the NUD failures and if honoured will disconnect from
|
|
|
+ * the connected BSSID.
|
|
|
+ * 2: Driver will track the NUD failures and if honoured will roam away from
|
|
|
+ * the connected BSSID to a new BSSID to retain the data connectivity.
|
|
|
*
|
|
|
* Related: None
|
|
|
*
|
|
@@ -1147,10 +1154,16 @@
|
|
|
*
|
|
|
* <ini>
|
|
|
*/
|
|
|
-#ifdef WLAN_NUD_TRACKING
|
|
|
+#define CFG_DP_ROAM_AFTER_NUD_FAIL 2
|
|
|
+#define CFG_DP_DISCONNECT_AFTER_NUD_FAIL 1
|
|
|
+#define CFG_DP_DISABLE_NUD_TRACKING 0
|
|
|
+
|
|
|
#define CFG_DP_ENABLE_NUD_TRACKING \
|
|
|
- CFG_INI_BOOL("gEnableNUDTracking", \
|
|
|
- true, "Ctrl to enable nud tracking")
|
|
|
+ CFG_INI_UINT("gEnableNUDTracking", \
|
|
|
+ CFG_DP_DISABLE_NUD_TRACKING, \
|
|
|
+ CFG_DP_ROAM_AFTER_NUD_FAIL, \
|
|
|
+ CFG_DP_ROAM_AFTER_NUD_FAIL, \
|
|
|
+ CFG_VALUE_OR_DEFAULT, "Driver NUD tracking behaviour")
|
|
|
|
|
|
#define CFG_DP_ENABLE_NUD_TRACKING_ALL \
|
|
|
CFG(CFG_DP_ENABLE_NUD_TRACKING)
|