cnss_prealloc: update prealloc mem pool based on device type

Update prealloc mem pool based on device type.

Change-Id: Ic7fc2145a0039aa55643672b8e125857c096a3ee
CRs-Fixed: 3459351
This commit is contained in:
Sandeep Singh
2023-03-06 13:32:08 +05:30
committed by Madan Koyyalamudi
parent 21bd3e2016
commit 97303bf330
9 changed files with 98 additions and 28 deletions

25
cnss_utils/cnss_common.h Normal file
View File

@@ -0,0 +1,25 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*/
#define QCA6174_VENDOR_ID 0x168C
#define QCA6174_DEVICE_ID 0x003E
#define QCA6290_VENDOR_ID 0x17CB
#define QCA6290_DEVICE_ID 0x1100
#define QCA6390_VENDOR_ID 0x17CB
#define QCA6390_DEVICE_ID 0x1101
#define QCA6490_VENDOR_ID 0x17CB
#define QCA6490_DEVICE_ID 0x1103
#define QCN7605_VENDOR_ID 0x17CB
#define QCN7605_DEVICE_ID 0x1102
#define KIWI_VENDOR_ID 0x17CB
#define KIWI_DEVICE_ID 0x1107
#define MANGO_VENDOR_ID 0x17CB
#define MANGO_DEVICE_ID 0x110A
#define PEACH_VENDOR_ID 0x17CB
#define PEACH_DEVICE_ID 0x110E
#define WCN6750_DEVICE_ID 0x6750
#define WCN6450_DEVICE_ID 0x6450
#define ADRASTEA_DEVICE_ID 0xabcd