qcacmn: Use fixed pdev id for CFR with KIWI

This change use fixed pdev id for CFR with KIWI.

Change-Id: I6a656b190bf0a061d34b9c0fa2f9a322d275a508
CRs-Fixed: 3373583
This commit is contained in:
Wu Gao 2023-01-10 20:22:15 +08:00 committed by Madan Koyyalamudi
parent 1d91f07450
commit a9137e8331

View File

@ -1,6 +1,6 @@
/*
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2021-2023 Qualcomm Innovation Center, Inc. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@ -475,7 +475,7 @@ target_if_cfr_deinit_pdev(struct wlan_objmgr_psoc *psoc,
#endif
#ifdef WLAN_ENH_CFR_ENABLE
#if defined(QCA_WIFI_QCA6490) || defined(QCA_WIFI_KIWI)
#if defined(QCA_WIFI_QCA6490)
static uint8_t target_if_cfr_get_mac_id(struct wlan_objmgr_pdev *pdev)
{
struct wlan_objmgr_vdev *vdev;
@ -529,7 +529,7 @@ static uint8_t target_if_cfr_get_pdev_id(struct wlan_objmgr_pdev *pdev)
{
return target_if_cfr_get_mac_id(pdev);
}
#elif defined(QCA_WIFI_QCA6750)
#elif defined(QCA_WIFI_KIWI)
static uint8_t target_if_cfr_get_pdev_id(struct wlan_objmgr_pdev *pdev)
{
/* Host and FW have agreement about using fixed pdev id for