Skip to content

Commit 2474f1f

Browse files
committed
nrf_wifi: fix all Doxygen issues
Fix all Doxygen issues found in nrf_wifi. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 837f9c0 commit 2474f1f

File tree

5 files changed

+51
-203
lines changed

5 files changed

+51
-203
lines changed

nrf_wifi/bus_if/bal/inc/bal_api.h

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
/**
1919
* @brief Initialize the BAL layer.
2020
*
21-
* @param opriv Pointer to the OSAL layer context returned by the
22-
* nrf_wifi_osal_init API.
2321
* @param cfg_params Pointer to the configuration parameters for the BAL layer.
2422
* @param intr_callbk_fn Pointer to the callback function which the user of this
2523
* layer needs to implement to handle interrupts from the RPU.
@@ -42,8 +40,6 @@ struct nrf_wifi_bal_priv *nrf_wifi_bal_init(struct nrf_wifi_bal_cfg_params *cfg_
4240
*
4341
* @param bpriv Pointer to the BAL layer context returned by the
4442
* @ref nrf_wifi_bal_init API.
45-
*
46-
* @return None.
4743
*/
4844
void nrf_wifi_bal_deinit(struct nrf_wifi_bal_priv *bpriv);
4945

@@ -64,8 +60,6 @@ struct nrf_wifi_bal_dev_ctx *nrf_wifi_bal_dev_add(struct nrf_wifi_bal_priv *bpri
6460
*
6561
* @param bal_dev_ctx Pointer to the device context returned by the
6662
* @ref nrf_wifi_bal_dev_add API.
67-
*
68-
* @return None.
6963
*/
7064
void nrf_wifi_bal_dev_rem(struct nrf_wifi_bal_dev_ctx *bal_dev_ctx);
7165

@@ -84,8 +78,6 @@ enum nrf_wifi_status nrf_wifi_bal_dev_init(struct nrf_wifi_bal_dev_ctx *bal_dev_
8478
*
8579
* @param bal_dev_ctx Pointer to the device context returned by the
8680
* @ref nrf_wifi_bal_dev_add API.
87-
*
88-
* @return None.
8981
*/
9082
void nrf_wifi_bal_dev_deinit(struct nrf_wifi_bal_dev_ctx *bal_dev_ctx);
9183

@@ -105,8 +97,6 @@ unsigned int nrf_wifi_bal_read_word(void *ctx, unsigned long addr_offset);
10597
* @param ctx Pointer to the context.
10698
* @param addr_offset Address offset to write to.
10799
* @param val Value to write.
108-
*
109-
* @return None.
110100
*/
111101
void nrf_wifi_bal_write_word(void *ctx,
112102
unsigned long addr_offset,
@@ -119,8 +109,6 @@ void nrf_wifi_bal_write_word(void *ctx,
119109
* @param dest_addr Pointer to the destination address.
120110
* @param src_addr_offset Source address offset to read from.
121111
* @param len Length of the data to read.
122-
*
123-
* @return None.
124112
*/
125113
void nrf_wifi_bal_read_block(void *ctx,
126114
void *dest_addr,
@@ -134,8 +122,6 @@ void nrf_wifi_bal_read_block(void *ctx,
134122
* @param dest_addr_offset Destination address offset to write to.
135123
* @param src_addr Pointer to the source address.
136124
* @param len Length of the data to write.
137-
*
138-
* @return None.
139125
*/
140126
void nrf_wifi_bal_write_block(void *ctx,
141127
unsigned long dest_addr_offset,
@@ -164,8 +150,6 @@ unsigned long nrf_wifi_bal_dma_map(void *ctx,
164150
* @param phy_addr Physical address to unmap.
165151
* @param len Length of the data to unmap.
166152
* @param dma_dir DMA direction.
167-
*
168-
* @return None.
169153
*/
170154
unsigned long nrf_wifi_bal_dma_unmap(void *ctx,
171155
unsigned long phy_addr,
@@ -176,26 +160,20 @@ unsigned long nrf_wifi_bal_dma_unmap(void *ctx,
176160
* @brief Enable bus access recording.
177161
*
178162
* @param ctx Pointer to the context.
179-
*
180-
* @return None.
181163
*/
182164
void nrf_wifi_bal_bus_access_rec_enab(void *ctx);
183165

184166
/**
185167
* @brief Disable bus access recording.
186168
*
187169
* @param ctx Pointer to the context.
188-
*
189-
* @return None.
190170
*/
191171
void nrf_wifi_bal_bus_access_rec_disab(void *ctx);
192172

193173
/**
194174
* @brief Print bus access count.
195175
*
196176
* @param ctx Pointer to the context.
197-
*
198-
* @return None.
199177
*/
200178
void nrf_wifi_bal_bus_access_cnt_print(void *ctx);
201179

@@ -204,17 +182,13 @@ void nrf_wifi_bal_bus_access_cnt_print(void *ctx);
204182
* @brief Put the RPU to sleep.
205183
*
206184
* @param ctx Pointer to the context.
207-
*
208-
* @return None.
209185
*/
210186
void nrf_wifi_bal_rpu_ps_sleep(void *ctx);
211187

212188
/**
213189
* @brief Wake up the RPU from sleep.
214190
*
215191
* @param ctx Pointer to the context.
216-
*
217-
* @return None.
218192
*/
219193
void nrf_wifi_bal_rpu_ps_wake(void *ctx);
220194

nrf_wifi/fw_if/umac_if/inc/default/fmac_api.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -889,8 +889,6 @@ enum nrf_wifi_status nrf_wifi_fmac_get_conn_info(void *fmac_dev_ctx,
889889
* driver. It does the following:
890890
* - De-initializes the HAL layer.
891891
* - Frees the context for the UMAC IF layer.
892-
*
893-
* @return None
894892
*/
895893
void nrf_wifi_fmac_deinit(struct nrf_wifi_fmac_priv *fpriv);
896894

@@ -900,8 +898,6 @@ void nrf_wifi_fmac_deinit(struct nrf_wifi_fmac_priv *fpriv);
900898
*
901899
* This is a wrapper function which frees the memory for
902900
* an RPU instance at the UMAC layer.
903-
*
904-
* @return None.
905901
*/
906902
void nrf_wifi_fmac_dev_rem(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx);
907903

@@ -945,8 +941,6 @@ enum nrf_wifi_status nrf_wifi_fmac_dev_init(struct nrf_wifi_fmac_dev_ctx *fmac_d
945941
* This function de-initializes the firmware of an RPU instance.
946942
* - RPU UMAC deinitialization command is executed
947943
* - RX and TX is deallocated for firmware via UMAC command
948-
*
949-
* @return None.
950944
*/
951945
void nrf_wifi_fmac_dev_deinit(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx);
952946

nrf_wifi/fw_if/umac_if/inc/radio_test/fmac_api.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,10 @@ enum nrf_wifi_status nrf_wifi_fmac_radio_test_prog_rx(struct nrf_wifi_fmac_dev_c
9494
* @param rf_test_type Type of RF test to be performed.
9595
* @param cap_data Pointer to the memory where the RF test capture is to be stored.
9696
* @param num_samples Number of RF test samples to capture.
97+
* @param capture_timeout Capture timeout.
9798
* @param lna_gain LNA gain value.
9899
* @param bb_gain Baseband gain value.
100+
* @param timeout_status Timeout status.
99101
*
100102
* This function is used to send a command to:
101103
* - The RPU firmware to start the RF test capture in radio test mode.
@@ -213,8 +215,6 @@ enum nrf_wifi_status nrf_wifi_fmac_rf_test_compute_xo(struct nrf_wifi_fmac_dev_c
213215
*
214216
* - De-initializes the HAL layer.
215217
* - Frees the context for the UMAC IF layer.
216-
*
217-
* @return None
218218
*/
219219
void nrf_wifi_fmac_deinit_rt(struct nrf_wifi_fmac_priv *fpriv);
220220

@@ -224,8 +224,6 @@ void nrf_wifi_fmac_deinit_rt(struct nrf_wifi_fmac_priv *fpriv);
224224
* @param fmac_dev_ctx Pointer to the context of the RPU instance to be removed.
225225
*
226226
* This function handles the removal of an RPU instance at the UMAC IF layer.
227-
*
228-
* @return None.
229227
*/
230228
void nrf_wifi_fmac_dev_rem_rt(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx);
231229

@@ -263,8 +261,6 @@ enum nrf_wifi_status nrf_wifi_fmac_dev_init_rt(struct nrf_wifi_fmac_dev_ctx *fma
263261
* @param fmac_dev_ctx Pointer to the context of the RPU instance to be removed.
264262
*
265263
* This function de-initializes the firmware of an RPU instance.
266-
*
267-
* @return None.
268264
*/
269265
void nrf_wifi_fmac_dev_deinit_rt(struct nrf_wifi_fmac_dev_ctx *fmac_dev_ctx);
270266

nrf_wifi/hw_if/hal/inc/hal_api.h

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,6 @@ nrf_wifi_hal_init(struct nrf_wifi_hal_cfg_params *cfg_params,
6262
*
6363
* This API is used to deinitialize the HAL layer and is expected to be called
6464
* after done using the HAL layer.
65-
*
66-
* @return None.
6765
*/
6866
void nrf_wifi_hal_deinit(struct nrf_wifi_hal_priv *hpriv);
6967

@@ -94,7 +92,7 @@ enum NRF_WIFI_HAL_STATUS nrf_wifi_hal_status_unlocked(struct nrf_wifi_hal_dev_ct
9492
*
9593
* @param hal_ctx Pointer to HAL context.
9694
* @param cmd Pointer to command data.
97-
* @param cmd_size Size of the command data pointed to by @cmd.
95+
* @param cmd_size Size of the command data pointed to by @p cmd.
9896
*
9997
* This function takes care of sending a command to the RPU. It does the
10098
* following:
@@ -142,7 +140,7 @@ enum nrf_wifi_status nrf_wifi_hal_data_cmd_send(struct nrf_wifi_hal_dev_ctx *hal
142140
/**
143141
* @brief Process events from the RPU.
144142
*
145-
* @param hpriv Pointer to HAL context.
143+
* @param hal_ctx Pointer to HAL context.
146144
*
147145
* This function processes the events which have been queued into the event
148146
* queue by an ISR. It does the following:

0 commit comments

Comments
 (0)