qcacmn: Add 11d offload APIs under correct feature flag

Currently host driver defines 11d offload APIs under
HOST_11D_SCAN feature flag which is not correct.
Add 11d offload APIs under TARGET_11D_SCAN feature flag.

Change-Id: I0d3205b215c9fc363a71c4e7a6b54e40fb10a964
CRs-Fixed: 3183200
This commit is contained in:
Ashish Kumar Dhanotiya
2022-04-26 18:21:07 +05:30
committed by Madan Koyyalamudi
parent e10617683d
commit e9c9acf630
2 changed files with 4 additions and 2 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -32,7 +33,7 @@
#include "wmi_unified_api.h"
#include "wmi_unified_reg_api.h"
#ifdef HOST_11D_SCAN
#ifdef TARGET_11D_SCAN
/**
* tgt_if_regulatory_is_11d_offloaded() - Check if reg 11d is offloaded.
* @psoc: psoc pointer

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -24,7 +25,7 @@
#include "target_if_reg_11d.h"
#ifdef HOST_11D_SCAN
#ifdef TARGET_11D_SCAN
bool tgt_if_regulatory_is_11d_offloaded(struct wlan_objmgr_psoc *psoc)
{
wmi_unified_t wmi_handle = get_wmi_unified_hdl_from_psoc(psoc);