qcacld-3.0: Update band capability as well in feature set info

Currently host does not update band capability to fw as
part of feature set info.
With this change update band capability as well as part of
feature set info.

Change-Id: Ieb6d800c1c88a56bf72fac6e105f3498eb22ab58
CRs-Fixed: 3302989
Dieser Commit ist enthalten in:
Ashish Kumar Dhanotiya
2022-09-20 15:22:32 +05:30
committet von Madan Koyyalamudi
Ursprung 62dc7c7cbf
Commit 7df2e56639
3 geänderte Dateien mit 5 neuen und 0 gelöschten Zeilen

Datei anzeigen

@@ -53,11 +53,13 @@ enum cfg_sub_20_channel_width {
* @wifi_standard: Supported wifi standard
* @sap_5g_supported: 5GHz SAP supported or not
* @sap_6g_supported: 6GHz SAP supported or no
* @band_capability: Supported band capability bitmap;
*/
struct wlan_cds_feature_set {
WMI_HOST_WIFI_STANDARD wifi_standard;
bool sap_5g_supported;
bool sap_6g_supported;
uint32_t band_capability;
};
#endif

Datei anzeigen

@@ -13164,6 +13164,7 @@ static void hdd_populate_feature_set_cds_config(struct cds_config_info *cds_cfg,
cds_cfg->cds_feature_set.sap_6g_supported =
band_capability & BIT(REG_BAND_6G);
cds_cfg->cds_feature_set.band_capability = band_capability;
}
#else
static inline void

Datei anzeigen

@@ -364,6 +364,8 @@ static void wma_set_feature_set_info(tp_wma_handle wma_handle,
cds_ctx->cds_cfg->cds_feature_set.sap_5g_supported;
feature_set->sap_6g_supported =
cds_ctx->cds_cfg->cds_feature_set.sap_6g_supported;
feature_set->band_capability =
cds_ctx->cds_cfg->cds_feature_set.band_capability;
feature_set->concurrency_support = wma_get_concurrency_support(psoc);