Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc7b9ccc authored by Mohammed Siddiq's avatar Mohammed Siddiq Committed by Gerrit - the friendly Code Review server
Browse files

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



Update DRV support flag in the feature list of host cap so that
the firmware is aware of the DRV feature support on the host.

Change-Id: I6effd21293da80e023076469f7a42f5bf0018830
Signed-off-by: default avatarMohammed Siddiq <msiddiq@codeaurora.org>
parent 24624df1
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;
}
+1 −0
Original line number Diff line number Diff line
@@ -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,
};