|
@@ -4135,6 +4135,39 @@ enum station_keepalive_method {
|
|
|
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX (120)
|
|
|
#define CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_DEFAULT (78)
|
|
|
|
|
|
+/*
|
|
|
+ * <ini>
|
|
|
+ * lookup_threshold_5g_offset - Lookup Threshold offset for 5G band
|
|
|
+ * @Min: -120
|
|
|
+ * @Max: +120
|
|
|
+ * @Default: 0
|
|
|
+ *
|
|
|
+ * This ini is used to set the 5G band lookup threshold for roaming.
|
|
|
+ * It depends on another INI which is gNeighborLookupThreshold.
|
|
|
+ * gNeighborLookupThreshold is a legacy INI item which will be used to
|
|
|
+ * set the RSSI lookup threshold for both 2G and 5G bands. If the
|
|
|
+ * user wants to setup a different threshold for a 5G band, then user
|
|
|
+ * can use this offset value which will be summed up to the value of
|
|
|
+ * gNeighborLookupThreshold and used for 5G
|
|
|
+ * e.g: gNeighborLookupThreshold = -76dBm
|
|
|
+ * lookup_threshold_5g_offset = 6dBm
|
|
|
+ * Then the 5G band will be configured to -76+6 = -70dBm
|
|
|
+ * A default value of Zero to lookup_threshold_5g_offset will keep the
|
|
|
+ * thresholds same for both 2G and 5G bands
|
|
|
+ *
|
|
|
+ * Related: gNeighborLookupThreshold
|
|
|
+ *
|
|
|
+ * Supported Feature: Roaming
|
|
|
+ *
|
|
|
+ * Usage: Internal/External
|
|
|
+ *
|
|
|
+ * </ini>
|
|
|
+ */
|
|
|
+#define CFG_5G_RSSI_THRESHOLD_OFFSET_NAME "lookup_threshold_5g_offset"
|
|
|
+#define CFG_5G_RSSI_THRESHOLD_OFFSET_MIN (-120)
|
|
|
+#define CFG_5G_RSSI_THRESHOLD_OFFSET_MAX (120)
|
|
|
+#define CFG_5G_RSSI_THRESHOLD_OFFSET_DEFAULT (0)
|
|
|
+
|
|
|
#define CFG_DELAY_BEFORE_VDEV_STOP_NAME "gDelayBeforeVdevStop"
|
|
|
#define CFG_DELAY_BEFORE_VDEV_STOP_MIN (2)
|
|
|
#define CFG_DELAY_BEFORE_VDEV_STOP_MAX (200)
|
|
@@ -11920,7 +11953,6 @@ struct hdd_config {
|
|
|
uint16_t num_11b_tx_chains;
|
|
|
uint16_t num_11ag_tx_chains;
|
|
|
uint8_t ito_repeat_count;
|
|
|
-
|
|
|
/* LCA(Last connected AP) disallow configs */
|
|
|
uint32_t disallow_duration;
|
|
|
uint32_t rssi_channel_penalization;
|
|
@@ -11940,6 +11972,7 @@ struct hdd_config {
|
|
|
uint8_t upper_brssi_thresh;
|
|
|
uint8_t lower_brssi_thresh;
|
|
|
bool enable_dtim_1chrx;
|
|
|
+ int8_t rssi_thresh_offset_5g;
|
|
|
};
|
|
|
|
|
|
#define VAR_OFFSET(_Struct, _Var) (offsetof(_Struct, _Var))
|