Merge "cnss2: Update DRV support flag in the feature list of host cap"

This commit is contained in:
qctecmdr 2022-08-26 03:45:55 -07:00 • committed by Gerrit - the friendly Code Review server
commit c73b8b29cc
2 changed files with 4 additions and 1 deletions

View file

@ -3063,8 +3063,10 @@ static bool cnss_pci_is_drv_supported(struct cnss_pci_data *pci_priv)
drv_supported ? "supported" : "not supported");
pci_priv->drv_supported = drv_supported;
if (drv_supported)
if (drv_supported) {
plat_priv->cap.cap_flag |= CNSS_HAS_DRV_SUPPORT;
cnss_set_feature_list(plat_priv, CNSS_DRV_SUPPORT_V01);
}
return drv_supported;
}

View file

@ -249,6 +249,7 @@ enum wlfw_m3_segment_type_v01 {
enum cnss_feature_v01 {
CNSS_FEATURE_MIN_VAL_V01 = INT_MIN,
BOOTSTRAP_CLOCK_SELECT_V01 = 0,
CNSS_DRV_SUPPORT_V01 = 1,
CNSS_MAX_FEATURE_V01 = 64,
CNSS_FEATURE_MAX_VAL_V01 = INT_MAX,
};