qcacmn: Move psoc object to common component
Presently PSOC object is initialized differently between WIN/MCL. With this implementation the psoc creation and destroy will be moved to common code. Change-Id: I7aa8f47f3fe1d88c6c37ab3184a81fbc7dedb789 CRs-Fixed: 2547533
This commit is contained in:

committed by
nshrivas

parent
a477ec2257
commit
d76b54a1c5
35
umac/mlme/include/wlan_psoc_mlme.h
Normal file
35
umac/mlme/include/wlan_psoc_mlme.h
Normal file
@@ -0,0 +1,35 @@
|
||||
/*
|
||||
* 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: Define PSOC MLME structure
|
||||
*/
|
||||
#ifndef _WLAN_PSOC_MLME_H_
|
||||
#define _WLAN_PSOC_MLME_H_
|
||||
|
||||
#include <wlan_ext_mlme_obj_types.h>
|
||||
|
||||
/**
|
||||
* struct psoc_mlme_obj - PSOC MLME component object
|
||||
* @psoc: PSOC object
|
||||
* @ext_psoc_ptr: extended psoc mlme pointer
|
||||
*/
|
||||
struct psoc_mlme_obj {
|
||||
struct wlan_objmgr_psoc *psoc;
|
||||
mlme_psoc_ext_t *ext_psoc_ptr;
|
||||
};
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user