qca-wifi: Replace void * data members of mlme with specific type

Replace mlme void * data members having different types across
different drivers with specific type.

Change-Id: I8d16fe8fb8af65c30b2ee17b9b018b9903e968fa
CRs-Fixed: 2463030
This commit is contained in:
Himanshu Batra
2019-05-31 11:44:09 +05:30
zatwierdzone przez Gerrit - the friendly Code Review server
rodzic d24065d0ce
commit ada6f9d07d

Wyświetl plik

@@ -0,0 +1,40 @@
/*
* Copyright (c) 2019 The Linux Foundation. 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
* above copyright notice and this permission notice appear in all
* copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL
* WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE
* AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL
* DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR
* PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER
* TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
* PERFORMANCE OF THIS SOFTWARE.
*/
/**
* DOC: wlan_ext_mlme_obj_types.h
*
* This header file maintain structure definitions for mlme ptr specific to ic
*/
#ifndef __WLAN_EXT_MLME_OBJ_TYPE_H__
#define __WLAN_EXT_MLME_OBJ_TYPE_H__
/**
* typedef mlme_pdev_ext_t - Opaque definition of pdev mlme pointer
*/
struct ieee80211com;
typedef struct ieee80211com mlme_pdev_ext_t;
/**
* typedef mlme_vdev_ext_t - Opaque definition of vdev mlme pointer
*/
struct ieee80211vap;
typedef struct ieee80211vap mlme_vdev_ext_t;
#endif /* __WLAN_EXT_MLME_OBJ_TYPE_H__ */