qcacld-3.0: Move interface name related modules to NAN OS IF

NAN Datapath vendor commands include a vendor attribute that
contains interface name string. Only NAN Datapath interface
needs the modules that return vdev object from interface name
and vice versa. Presently these modules are part of in cmn
utils under UMAC. They're accessing OS IF private structures
which is a layering violation. So move these modules to the
NAN OS IF files where they're appropriate.

Move interface name related modules to NAN OS IF files.

Change-Id: I643bf597895e172fa501ada18ebc13ffa2e144e3
CRs-Fixed: 2284200
这个提交包含在:
Nachiket Kukade
2019-01-21 16:16:46 +05:30
提交者 nshrivas
父节点 e30041a794
当前提交 8de3c7bcb2
修改 2 个文件,包含 123 行新增14 行删除

查看文件

@@ -28,6 +28,16 @@
#include "nan_public_structs.h"
#include "nan_ucfg_api.h"
/**
* struct ndi_find_vdev_filter - find vdev filter object. this can be extended
* @ifname: interface name of vdev
* @found_vdev: found vdev object matching one or more of above params
*/
struct ndi_find_vdev_filter {
char *ifname;
struct wlan_objmgr_vdev *found_vdev;
};
/**
* os_if_nan_process_ndp_cmd: os_if api to handle nan request message
* @psoc: pointer to psoc object