Kaynağa Gözat

qcacld-3.0: Remove legacy LFR config remnants

Change Iebda5bbb3c5c68b922b7f6ac1adaf25cccf903a6 ("qcacld-3.0: Apply
mlme lfr configuraions") relocated a large number of config items from
the legacy HDD config to the MLME config. However this change did not
remove all of the legacy support, so now remove the documentation and
CFG macros for the following:
- roam_bad_rssi_thresh_offset_2g
- enable_5g_band_pref
- 5g_rssi_boost_threshold
- 5g_rssi_boost_factor
- 5g_max_rssi_boost
- 5g_rssi_penalize_threshold
- 5g_rssi_penalize_factor
- 5g_max_rssi_penalize

Change-Id: Idb07ebbe5d6af03de8c46a09365bd74934883719
CRs-Fixed: 2367376
Jeff Johnson 6 yıl önce
ebeveyn
işleme
4d557f380e
1 değiştirilmiş dosya ile 0 ekleme ve 187 silme
  1. 0 187
      core/hdd/inc/wlan_hdd_cfg.h

+ 0 - 187
core/hdd/inc/wlan_hdd_cfg.h

@@ -882,36 +882,6 @@ enum hdd_dot11_mode {
 #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_MAX     (0xFFFFFFFF)
 #define CFG_ROAM_SCAN_TRIGGER_REASON_BITMASK_DEFAULT (0xDA)
 
-/*
- * <ini>
- * roam_bad_rssi_thresh_offset_2g - RSSI threshold offset for 2G to 5G roam
- * @Min: 0
- * @Max: 86
- * @Default: 40
- *
- * If the DUT is connected to an AP with weak signal in 2G band, then the
- * bad RSSI offset for 2g would be used as offset from the bad RSSI
- * threshold configured and then use the resulting rssi for an opportunity
- * to use the scan results from other scan clients and try to roam to
- * 5G Band ONLY if there is a better AP available in the environment.
- *
- * For example if the roam_bg_scan_bad_rssi_thresh is -76 and
- * roam_bad_rssi_thresh_offset_2g is 40 then the difference of -36 would be
- * used as a trigger to roam to a 5G AP if DUT initially connected to a 2G AP
- *
- * Related: roam_bg_scan_bad_rssi_thresh
- *
- * Supported Feature: Roaming
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_NAME "roam_bad_rssi_thresh_offset_2g"
-#define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_MIN     (0)
-#define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_MAX     (86)
-#define CFG_ROAM_BG_SCAN_BAD_RSSI_OFFSET_2G_DEFAULT (40)
-
 /*
  * <ini>
  * ho_delay_for_rx - Delay Hand-off (In msec) by this duration to receive
@@ -2228,163 +2198,6 @@ enum hdd_link_speed_rpt_type {
 #define CFG_INDOOR_CHANNEL_SUPPORT_MAX      (1)
 #define CFG_INDOOR_CHANNEL_SUPPORT_DEFAULT  (0)
 
-
-/*
- * <ini>
- * enable_5g_band_pref - Enable preference for 5G from INI.
- * @Min: 0
- * @Max: 1
- * @Default: 0
- * This ini is used to enable 5G preference parameters.
- *
- * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
- * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-
-#define CFG_ENABLE_5G_BAND_PREF_NAME             "enable_5g_band_pref"
-#define CFG_ENABLE_5G_BAND_PREF_MIN              (0)
-#define CFG_ENABLE_5G_BAND_PREF_MAX              (1)
-#define CFG_ENABLE_5G_BAND_PREF_DEFAULT          (0)
-
-/*
- * <ini>
- * 5g_rssi_boost_threshold - A_band_boost_threshold above which 5 GHz is favored.
- * @Min: -55
- * @Max: -70
- * @Default: -60
- * This ini is used to set threshold for 5GHz band preference.
- *
- * Related: 5g_rssi_boost_factor, 5g_max_rssi_boost
- * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_RSSI_BOOST_THRESHOLD_NAME         "5g_rssi_boost_threshold"
-#define CFG_5G_RSSI_BOOST_THRESHOLD_MIN          (-55)
-#define CFG_5G_RSSI_BOOST_THRESHOLD_MAX          (-70)
-#define CFG_5G_RSSI_BOOST_THRESHOLD_DEFAULT      (-60)
-
-/*
- * <ini>
- * 5g_rssi_boost_factor - Factor by which 5GHz RSSI is boosted.
- * @Min: 0
- * @Max: 2
- * @Default: 1
- * This ini is used to set the 5Ghz boost factor.
- *
- * Related: 5g_rssi_boost_threshold, 5g_max_rssi_boost
- * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_RSSI_BOOST_FACTOR_NAME            "5g_rssi_boost_factor"
-#define CFG_5G_RSSI_BOOST_FACTOR_MIN             (0)
-#define CFG_5G_RSSI_BOOST_FACTOR_MAX             (2)
-#define CFG_5G_RSSI_BOOST_FACTOR_DEFAULT         (1)
-
-/*
- * <ini>
- * 5g_max_rssi_boost - Maximum boost that can be applied to 5GHz RSSI.
- * @Min: 0
- * @Max: 20
- * @Default: 10
- * This ini is used to set maximum boost which can be given to a 5Ghz network.
- *
- * Related: 5g_rssi_boost_threshold, 5g_rssi_boost_factor
- * 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor, 5g_max_rssi_penalize
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_MAX_RSSI_BOOST_NAME               "5g_max_rssi_boost"
-#define CFG_5G_MAX_RSSI_BOOST_MIN                (0)
-#define CFG_5G_MAX_RSSI_BOOST_MAX                (20)
-#define CFG_5G_MAX_RSSI_BOOST_DEFAULT            (10)
-
-/*
- * <ini>
- * 5g_rssi_penalize_threshold - A_band_penalize_threshold above which
- * 5 GHz is not favored.
- * @Min: -65
- * @Max: -80
- * @Default: -70
- * This ini is used to set threshold for 5GHz band preference.
- *
- * Related: 5g_rssi_penalize_factor, 5g_max_rssi_penalize
- * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_RSSI_PENALIZE_THRESHOLD_NAME      "5g_rssi_penalize_threshold"
-#define CFG_5G_RSSI_PENALIZE_THRESHOLD_MIN       (-65)
-#define CFG_5G_RSSI_PENALIZE_THRESHOLD_MAX       (-80)
-#define CFG_5G_RSSI_PENALIZE_THRESHOLD_DEFAULT   (-70)
-
-/*
- * <ini>
- * 5g_rssi_penalize_factor - Factor by which 5GHz RSSI is penalizeed.
- * @Min: 0
- * @Max: 2
- * @Default: 1
- * This ini is used to set the 5Ghz penalize factor.
- *
- * Related: 5g_rssi_penalize_threshold, 5g_max_rssi_penalize
- * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_RSSI_PENALIZE_FACTOR_NAME         "5g_rssi_penalize_factor"
-#define CFG_5G_RSSI_PENALIZE_FACTOR_MIN          (0)
-#define CFG_5G_RSSI_PENALIZE_FACTOR_MAX          (2)
-#define CFG_5G_RSSI_PENALIZE_FACTOR_DEFAULT      (1)
-
-/*
- * <ini>
- * 5g_max_rssi_penalize - Maximum penalty that can be applied to 5GHz RSSI.
- * @Min: 0
- * @Max: 20
- * @Default: 10
- * This ini is used to set maximum penalty which can be given to a 5Ghz network.
- *
- * Related: 5g_rssi_penalize_threshold, 5g_rssi_penalize_factor
- * 5g_rssi_boost_threshold, 5g_rssi_boost_factor, 5g_max_rssi_boost
- *
- * Supported Feature: 5G band preference
- *
- * Usage: External
- *
- * </ini>
- */
-#define CFG_5G_MAX_RSSI_PENALIZE_NAME            "5g_max_rssi_penalize"
-#define CFG_5G_MAX_RSSI_PENALIZE_MIN             (0)
-#define CFG_5G_MAX_RSSI_PENALIZE_MAX             (20)
-#define CFG_5G_MAX_RSSI_PENALIZE_DEFAULT         (10)
-
 /*
  * <ini>
  * gActiveUcBpfMode - Control UC active APF mode