qcacld-3.0: Fix DISA documentation

The kernel-doc script identified a few documentation issues in
components/disa, so fix them.

Change-Id: I211fac8d786a64023f9ba2038d5849c418c38159
CRs-Fixed: 3356921
This commit is contained in:
Jeff Johnson
2022-12-08 12:58:41 -08:00
committed by Madan Koyyalamudi
parent c7369d8419
commit 9a425bdb12
5 changed files with 17 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 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
@@ -69,7 +70,7 @@ struct disa_encrypt_decrypt_req_params {
* struct disa_encrypt_decrypt_resp_params - disa encrypt response
* @vdev_id: vdev id
* @status: status
* @data_length: data length
* @data_len: data length
* @data: data pointer
*/
struct disa_encrypt_decrypt_resp_params {
@@ -79,7 +80,12 @@ struct disa_encrypt_decrypt_resp_params {
uint8_t *data;
};
/**
* typedef encrypt_decrypt_resp_callback() - DISA callback function
* @cookie: cookie passed in the DISA request
* @resp: the DISA response
*/
typedef void (*encrypt_decrypt_resp_callback)(void *cookie,
struct disa_encrypt_decrypt_resp_params *resp) ;
struct disa_encrypt_decrypt_resp_params *resp);
#endif /* end of _WLAN_DISA_PUBLIC_STRUCT_H_ */

View File

@@ -1,5 +1,6 @@
/*
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 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
@@ -22,14 +23,6 @@
#include "wlan_disa_ucfg_api.h"
#include "wlan_disa_main.h"
/**
* ucfg_disa_encrypt_decrypt_req() - Send encrypt/decrypt request to the DISA
* core
* @psoc: objmgr psoc object
* @req: DISA encrypt/decrypt request parameters
*
* Return: QDF status success or failure
*/
QDF_STATUS ucfg_disa_encrypt_decrypt_req(struct wlan_objmgr_psoc *psoc,
struct disa_encrypt_decrypt_req_params *req,
encrypt_decrypt_resp_callback cb,