|
@@ -1315,6 +1315,14 @@ struct reg_table_entry g_registry_table[] = {
|
|
CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX,
|
|
CFG_NEIGHBOR_LOOKUP_RSSI_THRESHOLD_MAX,
|
|
cb_notify_set_neighbor_lookup_rssi_threshold, 0),
|
|
cb_notify_set_neighbor_lookup_rssi_threshold, 0),
|
|
|
|
|
|
|
|
+ REG_VARIABLE(CFG_5G_RSSI_THRESHOLD_OFFSET_NAME,
|
|
|
|
+ WLAN_PARAM_SignedInteger, struct hdd_config,
|
|
|
|
+ rssi_thresh_offset_5g,
|
|
|
|
+ VAR_FLAGS_OPTIONAL | VAR_FLAGS_RANGE_CHECK_ASSUME_DEFAULT,
|
|
|
|
+ CFG_5G_RSSI_THRESHOLD_OFFSET_DEFAULT,
|
|
|
|
+ CFG_5G_RSSI_THRESHOLD_OFFSET_MIN,
|
|
|
|
+ CFG_5G_RSSI_THRESHOLD_OFFSET_MAX),
|
|
|
|
+
|
|
REG_DYNAMIC_VARIABLE(CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_NAME,
|
|
REG_DYNAMIC_VARIABLE(CFG_OPPORTUNISTIC_SCAN_THRESHOLD_DIFF_NAME,
|
|
WLAN_PARAM_Integer,
|
|
WLAN_PARAM_Integer,
|
|
struct hdd_config, nOpportunisticThresholdDiff,
|
|
struct hdd_config, nOpportunisticThresholdDiff,
|
|
@@ -5648,6 +5656,9 @@ void hdd_cfg_print(hdd_context_t *pHddCtx)
|
|
|
|
|
|
hdd_debug("Name = [nNeighborLookupRssiThreshold] Value = [%u] ",
|
|
hdd_debug("Name = [nNeighborLookupRssiThreshold] Value = [%u] ",
|
|
pHddCtx->config->nNeighborLookupRssiThreshold);
|
|
pHddCtx->config->nNeighborLookupRssiThreshold);
|
|
|
|
+ hdd_debug("Name = [%s] Value = [%d] ",
|
|
|
|
+ CFG_5G_RSSI_THRESHOLD_OFFSET_NAME,
|
|
|
|
+ pHddCtx->config->rssi_thresh_offset_5g);
|
|
hdd_debug("Name = [delay_before_vdev_stop] Value = [%u] ",
|
|
hdd_debug("Name = [delay_before_vdev_stop] Value = [%u] ",
|
|
pHddCtx->config->delay_before_vdev_stop);
|
|
pHddCtx->config->delay_before_vdev_stop);
|
|
hdd_debug("Name = [nOpportunisticThresholdDiff] Value = [%u] ",
|
|
hdd_debug("Name = [nOpportunisticThresholdDiff] Value = [%u] ",
|
|
@@ -7636,6 +7647,8 @@ QDF_STATUS hdd_set_sme_config(hdd_context_t *pHddCtx)
|
|
}
|
|
}
|
|
smeConfig->csrConfig.neighborRoamConfig.nNeighborLookupRssiThreshold =
|
|
smeConfig->csrConfig.neighborRoamConfig.nNeighborLookupRssiThreshold =
|
|
pConfig->nNeighborLookupRssiThreshold;
|
|
pConfig->nNeighborLookupRssiThreshold;
|
|
|
|
+ smeConfig->csrConfig.neighborRoamConfig.rssi_thresh_offset_5g =
|
|
|
|
+ pConfig->rssi_thresh_offset_5g;
|
|
smeConfig->csrConfig.neighborRoamConfig.delay_before_vdev_stop =
|
|
smeConfig->csrConfig.neighborRoamConfig.delay_before_vdev_stop =
|
|
pConfig->delay_before_vdev_stop;
|
|
pConfig->delay_before_vdev_stop;
|
|
smeConfig->csrConfig.neighborRoamConfig.nOpportunisticThresholdDiff =
|
|
smeConfig->csrConfig.neighborRoamConfig.nOpportunisticThresholdDiff =
|