Sfoglia il codice sorgente

qcacld-3.0: Change scores for QBSS/ESP load

Currently in the scoring logic the host has the same
score of 125 for the QBSS/ESP load between 50% to 75%
and 75% to 100% which sometimes may result in improper
scoring for cases where AP1 has air time fraction
127 which  convertes to 51% load and other AP2 has air
time fraction 13 which convertes to 95 % load.
But the score is same for both AP and the host selects
randomly any one of the AP instead of AP1

Fix is to change score for QBSS/ESP load to differentiate
between 50-75% and 75-100% load

Change-Id: I96d0d8a6a0a1854b2faca4435afa612336bc3caf
CRs-Fixed: 2161778
gaurank kathpalia 7 anni fa
parent
commit
90f83f081b
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      core/hdd/inc/wlan_hdd_cfg.h

+ 2 - 2
core/hdd/inc/wlan_hdd_cfg.h

@@ -13206,7 +13206,7 @@ enum hdd_external_acs_freq_band {
  * esp_qbss_score_idx7_to_4 - percentage for  esp/qbss load for slots 4-7
  * @Min: 0x00000000
  * @Max: 0x64646464
- * @Default: 0x00000019
+ * @Default: 0x0000000A
  *
  * This INI give percentage value of channel_congestion_weightage to be used as
  * index in which the load value falls. Used only if num_esp_qbss_slots is
@@ -13228,7 +13228,7 @@ enum hdd_external_acs_freq_band {
  * </ini>
  */
 #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_NAME      "esp_qbss_score_idx7_to_4"
-#define CFG_ESP_QBSS_SCORE_IDX7_TO_4_DEFAULT   (0x00000019)
+#define CFG_ESP_QBSS_SCORE_IDX7_TO_4_DEFAULT   (0x0000000A)
 #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_MIN       (0x00000000)
 #define CFG_ESP_QBSS_SCORE_IDX7_TO_4_MAX       (0x64646464)