
The kernel-doc script identified some documentation errors in the umac/mlme folder, so fix them. Change-Id: I84617fe2007e51dcb009801ebc6cdf87c0d0a686 CRs-Fixed: 3381478
71 lines
2.6 KiB
C
71 lines
2.6 KiB
C
/*
|
|
* Copyright (c) 2019-2020 The Linux Foundation. All rights reserved.
|
|
* Copyright (c) 2023 Qualcomm Innovation Center, Inc. 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 PDEV MLME structure and APIs
|
|
*/
|
|
#ifndef _WLAN_PDEV_MLME_H_
|
|
#define _WLAN_PDEV_MLME_H_
|
|
|
|
#include <qdf_timer.h>
|
|
#include <include/wlan_vdev_mlme.h>
|
|
#include <wlan_ext_mlme_obj_types.h>
|
|
|
|
/*
|
|
* struct pdev_restart_attr - Pdev restart attributes
|
|
* @vdev: vdev on which the pdev restart cmd was enqueued
|
|
* @restart_bmap: Bitmap for vdev requesting multivdev restart
|
|
*
|
|
* NB: Not using kernel-doc comment since the kernel-doc script
|
|
* doesn't handle the qdf_bitmap() macro.
|
|
*/
|
|
struct pdev_restart_attr {
|
|
struct wlan_objmgr_vdev *vdev;
|
|
qdf_bitmap(restart_bmap, WLAN_UMAC_PSOC_MAX_VDEVS);
|
|
};
|
|
|
|
/*
|
|
* struct pdev_mlme_obj - PDEV MLME component object
|
|
* @pdev: PDEV object
|
|
* @ext_pdev_ptr: PDEV MLME legacy pointer
|
|
* @mlme_register_ops: Call back to register MLME legacy APIs
|
|
* @vdev_restart_lock: Lock for VDEVs restart
|
|
* @restart_req_timer: Timer handle for VDEVs restart
|
|
* @restart_pend_vdev_bmap: Bitmap for VDEV RESTART command pending
|
|
* @restart_send_vdev_bmap: Bitmap for VDEV RESTART command sending
|
|
* @start_send_vdev_arr: Bitmap for VDEV START command sending
|
|
* @pdev_restart:
|
|
* @multivdev_restart_wait_cnt:
|
|
*
|
|
* NB: Not using kernel-doc comment since the kernel-doc script
|
|
* doesn't handle the qdf_bitmap() macro.
|
|
*/
|
|
struct pdev_mlme_obj {
|
|
struct wlan_objmgr_pdev *pdev;
|
|
mlme_pdev_ext_t *ext_pdev_ptr;
|
|
QDF_STATUS (*mlme_register_ops)(struct vdev_mlme_obj *vdev_mlme);
|
|
qdf_spinlock_t vdev_restart_lock;
|
|
qdf_timer_t restart_req_timer;
|
|
qdf_bitmap(restart_pend_vdev_bmap, WLAN_UMAC_PSOC_MAX_VDEVS);
|
|
qdf_bitmap(restart_send_vdev_bmap, WLAN_UMAC_PSOC_MAX_VDEVS);
|
|
qdf_bitmap(start_send_vdev_arr, WLAN_UMAC_PSOC_MAX_VDEVS);
|
|
struct pdev_restart_attr pdev_restart;
|
|
qdf_atomic_t multivdev_restart_wait_cnt;
|
|
};
|
|
|
|
#endif
|