qcacmn: Call regdb wrapper functions from other components

Do not call regdb core functions from other components directly.
Instead, call regdb dispatcher  functions.

Also, wlan_objmgr_vdev_obj.h file is removed from reg_services.h file in
Ie43acc03a5c35200f3e43bc978b792d5047eeb77 and reg_services.h is removed
from wlan_reg_services_api.h in I891b14fac7a4eddf2697d2ecdc0ac4a82046f532.
Therefore to fix "'struct wlan_channel' declared inside parameter list"
error in wlan_dfs_utils_api.h file, I have included wlan_objmgr_vdev_obj.h
file before wlan_dfs_utils_api.h in scan, dfs and wmi component.

Change-Id: Id8816f5137c3b1f9200c59fc3f9041980631f22f
CRs-Fixed: 2349173
This commit is contained in:
Shashikala Prabhu
2018-12-13 18:02:45 +05:30
zatwierdzone przez nshrivas
rodzic daa645bcab
commit 7517a8d7b9
14 zmienionych plików z 26 dodań i 11 usunięć

Wyświetl plik

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2016-2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2016-2019 The Linux Foundation. All rights reserved.
*
*
* Permission to use, copy, modify, and/or distribute this software for
@@ -27,6 +27,7 @@
#include "wlan_dfs_ucfg_api.h"
#include "wlan_reg_services_api.h"
#include <wlan_objmgr_vdev_obj.h>
/* Add channel to nol */
#define DFS_NOL_SET 1