Parcourir la source

qcacld-3.0: map WEIGHT_OF_GROUP4_PCL_CHANNELS to valid weights

Map WEIGHT_OF_GROUP4_PCL_CHANNELS to WMI_PCL_WEIGHT_MEDIUM.

Change-Id: I478213eb45ed240b150ed8c9aeb7f37f5767f493
CRs-Fixed: 3109631
Yu Wang il y a 3 ans
Parent
commit
cc24a3b819
1 fichiers modifiés avec 3 ajouts et 1 suppressions
  1. 3 1
      core/wma/src/wma_main.c

+ 3 - 1
core/wma/src/wma_main.c

@@ -1,6 +1,6 @@
 /*
 /*
  * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
  * Copyright (c) 2013-2021 The Linux Foundation. All rights reserved.
- * Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
+ * Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
  *
  *
  * Permission to use, copy, modify, and/or distribute this software for
  * Permission to use, copy, modify, and/or distribute this software for
  * any purpose with or without fee is hereby granted, provided that the
  * any purpose with or without fee is hereby granted, provided that the
@@ -9093,6 +9093,8 @@ wmi_pcl_chan_weight wma_map_pcl_weights(uint32_t pcl_weight)
 		return WMI_PCL_WEIGHT_HIGH;
 		return WMI_PCL_WEIGHT_HIGH;
 	case WEIGHT_OF_GROUP3_PCL_CHANNELS:
 	case WEIGHT_OF_GROUP3_PCL_CHANNELS:
 		return WMI_PCL_WEIGHT_MEDIUM;
 		return WMI_PCL_WEIGHT_MEDIUM;
+	case WEIGHT_OF_GROUP4_PCL_CHANNELS:
+		return WMI_PCL_WEIGHT_MEDIUM;
 	case WEIGHT_OF_NON_PCL_CHANNELS:
 	case WEIGHT_OF_NON_PCL_CHANNELS:
 		return WMI_PCL_WEIGHT_LOW;
 		return WMI_PCL_WEIGHT_LOW;
 	default:
 	default: