mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 04:12:04 -04:00
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: Mohammed Siddiq <msiddiq@codeaurora.org>
This commit is contained in:
parent
24624df1f8
commit
dc7b9ccc2d
2 changed files with 4 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue