
Fixed the naming conventions of APIs and files for MLME component. Internal MLME component only APIs are in wlan_mlme_main.h/c files under core. APIs exposed to other components are in wlan_mlme_api.h/c files under dispatcher. APIs exposed to HDD are in wlan_mlme_ucfg_api.h/c files under dispatcher. mlme_init/deinit, mlme_psoc_open/close are called from HDD, so made that as ucfg APIs. Change-Id: I049008ceaa86ca52acd3ad9a02f903a732117d1f CRs-Fixed: 2309276
51 lines
1.7 KiB
C
51 lines
1.7 KiB
C
/*
|
|
* Copyright (c) 2018 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: declare public APIs exposed by the mlme component
|
|
*/
|
|
|
|
#ifndef _WLAN_MLME_API_H_
|
|
#define _WLAN_MLME_API_H_
|
|
|
|
#include <wlan_mlme_public_struct.h>
|
|
#include <wlan_objmgr_psoc_obj.h>
|
|
#include <wlan_cmn.h>
|
|
|
|
/**
|
|
* wlan_mlme_get_ht_cap_info() - Get the HT cap info config
|
|
* @psoc: pointer to psoc object
|
|
* @value: pointer to the value which will be filled for the caller
|
|
*
|
|
* Return: QDF Status
|
|
*/
|
|
QDF_STATUS wlan_mlme_get_ht_cap_info(struct wlan_objmgr_psoc *psoc,
|
|
struct mlme_ht_capabilities_info
|
|
*ht_cap_info);
|
|
|
|
/**
|
|
* wlan_mlme_set_ht_cap_info() - Set the HT cap info config
|
|
* @psoc: pointer to psoc object
|
|
* @value: Value that needs to be set from the caller
|
|
*
|
|
* Return: QDF Status
|
|
*/
|
|
QDF_STATUS wlan_mlme_set_ht_cap_info(struct wlan_objmgr_psoc *psoc,
|
|
struct mlme_ht_capabilities_info
|
|
ht_cap_info);
|
|
#endif /* _WLAN_MLME_API_H_ */
|