Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a4166727 authored by Ashish Kumar Dhanotiya's avatar Ashish Kumar Dhanotiya Committed by Divyajyothi Goparaju
Browse files

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: 3387603
parent b63e48a4
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017-2019 The Linux Foundation. All rights reserved.
 * Copyright (c) 2023 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
+2 −1
Original line number Diff line number Diff line
/*
 * Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
 * Copyright (c) 2023 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);