diff --git a/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c b/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c index cac44c8cfb..995b7b460e 100644 --- a/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c +++ b/umac/mlme/connection_mgr/core/src/wlan_cm_bss_scoring.c @@ -2176,12 +2176,14 @@ static int cm_calculate_bss_score(struct wlan_objmgr_psoc *psoc, prorated_pcnt); score += eht_score; - mlme_nofl_debug("Candidate("QDF_MAC_ADDR_FMT" freq %d): rssi %d HT %d VHT %d HE %d su bfer %d phy %d air time frac %d qbss %d cong_pct %d NSS %d ap_tx_pwr_dbm %d oce_subnet_id_present %d sae_pk_cap_present %d prorated_pcnt %d keymgmt 0x%x mlo type %d", + mlme_nofl_debug("Candidate("QDF_MAC_ADDR_FMT" freq %d): rssi %d HT %d VHT %d HE %d EHT %d su bfer %d phy %d air time frac %d qbss %d cong_pct %d NSS %d ap_tx_pwr_dbm %d oce_subnet_id_present %d sae_pk_cap_present %d prorated_pcnt %d keymgmt 0x%x mlo type %d", QDF_MAC_ADDR_REF(entry->bssid.bytes), entry->channel.chan_freq, entry->rssi_raw, util_scan_entry_htcap(entry) ? 1 : 0, util_scan_entry_vhtcap(entry) ? 1 : 0, - util_scan_entry_hecap(entry) ? 1 : 0, ap_su_beam_former, + util_scan_entry_hecap(entry) ? 1 : 0, + util_scan_entry_ehtcap(entry) ? 1 : 0, + ap_su_beam_former, entry->phy_mode, entry->air_time_fraction, entry->qbss_chan_load, congestion_pct, entry->nss, ap_tx_pwr_dbm, oce_subnet_id_present, @@ -2260,9 +2262,9 @@ void wlan_cm_calculate_bss_score(struct wlan_objmgr_pdev *pdev, score_config = &mlme_psoc_obj->psoc_cfg.score_config; config = &mlme_psoc_obj->psoc_cfg.phy_config; - mlme_nofl_debug("Self caps: HT %d VHT %d HE %d VHT_24Ghz %d BF cap %d bw_above_20_24ghz %d bw_above_20_5ghz %d 2.4G NSS %d 5G NSS %d", + mlme_nofl_debug("Self caps: HT %d VHT %d HE %d EHT %d VHT_24Ghz %d BF cap %d bw_above_20_24ghz %d bw_above_20_5ghz %d 2.4G NSS %d 5G NSS %d", config->ht_cap, config->vht_cap, - config->he_cap, config->vht_24G_cap, + config->he_cap, config->eht_cap, config->vht_24G_cap, config->beamformee_cap, config->bw_above_20_24ghz, config->bw_above_20_5ghz, config->vdev_nss_24g, config->vdev_nss_5g); diff --git a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h index b427bb669f..f6defefa91 100644 --- a/umac/scan/dispatcher/inc/wlan_scan_utils_api.h +++ b/umac/scan/dispatcher/inc/wlan_scan_utils_api.h @@ -1581,7 +1581,13 @@ util_scan_entry_ehtop(struct scan_cache_entry *scan_entry) { return scan_entry->ie_list.ehtop; } +#else +static inline uint8_t* +util_scan_entry_ehtcap(struct scan_cache_entry *scan_entry) +{ + return NULL; +} #endif /**