Browse Source

qcacld-3.0: core: wma: Fix misspellings

Fix misspellings in core/wma/...

Change-Id: Ie335a23b85dac4ee5670704a9e3c2eb07f511cfc
CRs-Fixed: 3303623
Jeff Johnson 2 years ago
parent
commit
09ce6ae175

+ 5 - 5
core/wma/inc/wma.h

@@ -829,7 +829,7 @@ struct wma_wlm_stats_data {
  * @reg_cap: regulatory capabilities
  * @scan_id: scan id
  * @interfaces: txrx nodes(per vdev)
- * @pdevconfig: pdev related configrations
+ * @pdevconfig: pdev related configurations
  * @wma_hold_req_queue: Queue use to serialize requests to firmware
  * @wma_hold_req_q_lock: Mutex for @wma_hold_req_queue
  * @vht_supp_mcs: VHT supported MCS
@@ -1167,8 +1167,8 @@ struct wma_set_key_params {
 
 /**
  * struct t_thermal_cmd_params - thermal command parameters
- * @minTemp: minimum temprature
- * @maxTemp: maximum temprature
+ * @minTemp: minimum temperature
+ * @maxTemp: maximum temperature
  * @thermalEnable: thermal enable
  * @thermal_action: thermal action
  */
@@ -2378,7 +2378,7 @@ bool wma_is_roam_in_progress(uint32_t vdev_id);
 struct wlan_objmgr_psoc *wma_get_psoc_from_scn_handle(void *scn_handle);
 
 /**
- * wma_set_peer_ucast_cipher() - Update unicast cipher fof the peer
+ * wma_set_peer_ucast_cipher() - Update unicast cipher of the peer
  * @mac_addr: peer mac address
  * @cipher: peer cipher bits
  * @cipher_cap: cipher cap
@@ -2429,7 +2429,7 @@ int wma_motion_det_base_line_host_event_handler(void *handle, u_int8_t *event,
 #endif /* WLAN_FEATURE_MOTION_DETECTION */
 
 /**
- * wma_add_bss_peer_sta() - creat bss peer when sta connect
+ * wma_add_bss_peer_sta() - create bss peer when sta connect
  * @vdev_id: vdev id
  * @bssid: AP bssid
  * @roam_sync: if roam sync is in progress

+ 3 - 3
core/wma/inc/wma_api.h

@@ -135,7 +135,7 @@ int  wma_rx_service_ready_event(void *handle, uint8_t *ev, uint32_t len);
 int wma_rx_service_ready_ext_event(void *handle, uint8_t *ev, uint32_t len);
 
 /**
- * wma_rx_service_ready_ext2_event() - evt handler for sevice ready ext2 event.
+ * wma_rx_service_ready_ext2_event() - evt handler for service ready ext2 event.
  * @handle: wma handle
  * @event: params of the service ready extended event
  * @length: param length
@@ -756,7 +756,7 @@ QDF_STATUS wma_mon_mlme_vdev_down_send(struct vdev_mlme_obj *vdev_mlme,
  * wma_vdev_detach_callback() - VDEV delete response handler
  * @rsp: pointer to vdev delete response
  *
- * This API proccesses vdev delete response and gives to upper layers
+ * This API processes vdev delete response and gives to upper layers
  *
  * Return: SUCCESS on successful completion of VDEV delete operation
  *         FAILURE, if it fails due to any
@@ -802,7 +802,7 @@ typedef void (*wma_wlm_stats_cb)(void *cookie, const char *data);
  *
  * This API is used to send a message to WLAN latency manager component
  * in FW to retrieve some latency related data and send it to user space.
- * Driver is just a pass-through for user to interract with FW.
+ * Driver is just a pass-through for user to interact with FW.
  *
  * Return: 0 on success and non-zero for error
  */

+ 4 - 4
core/wma/inc/wma_if.h

@@ -317,7 +317,7 @@ typedef struct {
  *
  * This is used by PE to configure the key information on a given station.
  * When the secType is WEP40 or WEP104, the defWEPIdx is used to locate
- * a preconfigured key from a BSS the station assoicated with; otherwise
+ * a preconfigured key from a BSS the station associated with; otherwise
  * a new key descriptor is created based on the key field.
  */
 typedef struct {
@@ -383,7 +383,7 @@ struct bss_params {
 	uint8_t rmfEnabled;
 	tAddStaParams staContext;
 	/* HAL should update the existing BSS entry, if this flag is set.
-	 * PE will set this flag in case of reassoc, where we want to resue the
+	 * PE will set this flag in case of reassoc, where we want to reuse the
 	 * the old bssID and still return success.
 	 */
 	uint8_t updateBss;
@@ -601,7 +601,7 @@ typedef struct {
 } tUpdateRxNss, *tpUpdateRxNss;
 
 /**
- * struct tUpdateMembership - update membership parmaters
+ * struct tUpdateMembership - update membership parameters
  * @membership: membership value
  * @staId: station id
  * @smesessionId: SME session id
@@ -614,7 +614,7 @@ typedef struct {
 } tUpdateMembership, *tpUpdateMembership;
 
 /**
- * struct tUpdateUserPos - update user position parmeters
+ * struct tUpdateUserPos - update user position parameters
  * @userPos: user position
  * @staId: station id
  * @smesessionId: sme session id

+ 2 - 2
core/wma/inc/wma_internal.h

@@ -26,7 +26,7 @@
 
 /* ################### defines ################### */
 /*
- * TODO: Following constant should be shared by firwmare in
+ * TODO: Following constant should be shared by firmware in
  * wmi_unified.h. This will be done once wmi_unified.h is updated.
  */
 #define WMI_PEER_STATE_AUTHORIZED 0x2
@@ -1208,7 +1208,7 @@ void wma_del_ts_req(tp_wma_handle wma, struct del_ts_params *msg);
  * @pAggrQosRspMsg - combined struct for all ADD_TS requests.
  *
  * A function to handle WMA_AGGR_QOS_REQ. This will send out
- * ADD_TS requestes to firmware in loop for all the ACs with
+ * ADD_TS requests to firmware in loop for all the ACs with
  * active flow.
  *
  * Return: none

+ 2 - 1
core/wma/src/wlan_qct_wma_legacy.c

@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2013-2020 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
@@ -57,7 +58,7 @@ QDF_STATUS wma_post_ctrl_msg(struct mac_context *mac, struct scheduler_msg *pMsg
 
 /**
  * u_mac_post_ctrl_msg() - post ctrl msg
- * @pMb: A pointer to the maibox message
+ * @pMb: A pointer to the mailbox message
  *
  * Forwards the completely received message to the respective
  * modules for further processing.

+ 12 - 12
core/wma/src/wma_data.c

@@ -319,7 +319,7 @@ static QDF_STATUS wma_fill_ofdm_cck_mcast_rate(int32_t mbpsx10_rate,
 
 /**
  * wma_set_ht_vht_mcast_rate() - set ht/vht mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @sgi_idx: shortgi index
  * @sgi_rate: shortgi rate
@@ -348,7 +348,7 @@ static void wma_set_ht_vht_mcast_rate(uint32_t shortgi, int32_t mbpsx10_rate,
 
 /**
  * wma_fill_ht20_mcast_rate() - fill ht20 mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @nss: nss
  * @rate: rate
@@ -387,7 +387,7 @@ static QDF_STATUS wma_fill_ht20_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_ht40_mcast_rate() - fill ht40 mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @nss: nss
  * @rate: rate
@@ -426,7 +426,7 @@ static QDF_STATUS wma_fill_ht40_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_vht20_mcast_rate() - fill vht20 mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @nss: nss
  * @rate: rate
@@ -466,7 +466,7 @@ static QDF_STATUS wma_fill_vht20_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_vht40_mcast_rate() - fill vht40 mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @nss: nss
  * @rate: rate
@@ -507,7 +507,7 @@ static QDF_STATUS wma_fill_vht40_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_vht80_mcast_rate() - fill vht80 mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @mbpsx10_rate: mbps rates
  * @nss: nss
  * @rate: rate
@@ -547,7 +547,7 @@ static QDF_STATUS wma_fill_vht80_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_ht_mcast_rate() - fill ht mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @chwidth: channel width
  * @chanmode: channel mode
  * @mhz: frequency
@@ -579,7 +579,7 @@ static QDF_STATUS wma_fill_ht_mcast_rate(uint32_t shortgi,
 
 /**
  * wma_fill_vht_mcast_rate() - fill vht mcast rate
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @chwidth: channel width
  * @chanmode: channel mode
  * @mhz: frequency
@@ -616,7 +616,7 @@ static QDF_STATUS wma_fill_vht_mcast_rate(uint32_t shortgi,
 #define WMA_MCAST_1X1_CUT_OFF_RATE 2000
 /**
  * wma_encode_mc_rate() - fill mc rates
- * @shortgi: short gaurd interval
+ * @shortgi: short guard interval
  * @chwidth: channel width
  * @chanmode: channel mode
  * @mhz: frequency
@@ -1650,7 +1650,7 @@ QDF_STATUS wma_set_peer_rate_report_condition(WMA_HANDLE handle,
  *
  * This function initializes the bad peer tx control data structure in WMA,
  * sends down the initial configuration to the firmware and configures
- * the peer status update seeting in the tx_rx module.
+ * the peer status update setting in the tx_rx module.
  *
  * Return: QDF_STATUS based on procedure status
  */
@@ -2598,7 +2598,7 @@ QDF_STATUS wma_tx_packet(void *wma_context, void *tx_frame, uint16_t frmLen,
 	}
 
 	/*
-	 * If Dowload Complete is required
+	 * If Download Complete is required
 	 * Wait for download complete
 	 */
 	if (downld_comp_required) {
@@ -2903,7 +2903,7 @@ void ol_rx_aggregation_hole(uint32_t hole_info)
 /*
  * Local prototype added to temporarily address warning caused by
  * -Wmissing-prototypes. A more correct solution will come later
- * as a solution to IR-196435 at whihc point this prototype will
+ * as a solution to IR-196435 at which point this prototype will
  * be removed.
  */
 void ol_rx_err(void *pdev, uint8_t vdev_id,

+ 4 - 4
core/wma/src/wma_dev_if.c

@@ -918,7 +918,7 @@ static void wma_find_mcc_ap(tp_wma_handle wma, uint8_t vdev_id, bool add)
 /**
  * wma_handle_hidden_ssid_restart() - handle hidden ssid restart
  * @wma: wma handle
- * @iface: interfcae pointer
+ * @iface: interface pointer
  *
  * Return: none
  */
@@ -1723,7 +1723,7 @@ static int wma_get_obj_mgr_peer_type(tp_wma_handle wma, uint8_t vdev_id,
 
 	vdev = wma->interfaces[vdev_id].vdev;
 	if (!vdev) {
-		wma_err("Couldnt find vdev for VDEV_%d", vdev_id);
+		wma_err("Couldn't find vdev for VDEV_%d", vdev_id);
 		return obj_peer_type;
 	}
 	addr = wlan_vdev_mlme_get_macaddr(vdev);
@@ -1751,7 +1751,7 @@ static int wma_get_obj_mgr_peer_type(tp_wma_handle wma, uint8_t vdev_id,
 	} else if (wma->interfaces[vdev_id].type == WMI_VDEV_TYPE_NDI) {
 		obj_peer_type = WLAN_PEER_NDP;
 	} else {
-		wma_err("Couldnt find peertype for type %d and sub type %d",
+		wma_err("Couldn't find peertype for type %d and sub type %d",
 			 wma->interfaces[vdev_id].type,
 			 wma->interfaces[vdev_id].sub_type);
 	}
@@ -5021,7 +5021,7 @@ static void wma_add_sta_req_sta_mode(tp_wma_handle wma, tpAddStaParams params)
 	/* Sta is now associated, configure various params */
 
 	/* Send SMPS force command to FW to send the required
-	 * action frame only when SM power save is enbaled in
+	 * action frame only when SM power save is enabled in
 	 * from INI. In case dynamic antenna selection, the
 	 * action frames are sent by the chain mask manager
 	 * In addition to the action frames, The SM power save is

+ 3 - 3
core/wma/src/wma_features.c

@@ -2525,8 +2525,8 @@ static void wma_wow_dump_mgmt_buffer(uint8_t *wow_packet_buffer,
 }
 
 /**
- * wma_acquire_wakelock() - conditionally aquires a wakelock base on wake reason
- * @wma: the wma handle with the wakelocks to aquire
+ * wma_acquire_wakelock() - conditionally acquires a wakelock base on wake reason
+ * @wma: the wma handle with the wakelocks to acquire
  * @wake_reason: wow wakeup reason
  *
  * Return: None
@@ -4219,7 +4219,7 @@ wma_send_apf_write_work_memory_cmd(WMA_HANDLE handle,
 		return QDF_STATUS_E_FAILURE;
 	}
 
-	wma_debug("Sent APF wite mem on vdevid: %d", write_params->vdev_id);
+	wma_debug("Sent APF write mem on vdevid: %d", write_params->vdev_id);
 	return status;
 }
 

+ 10 - 10
core/wma/src/wma_main.c

@@ -505,7 +505,7 @@ static void wma_send_feature_set_cmd(tp_wma_handle wma_handle)
  * wma_is_feature_set_supported() - Check if feaure set is supported or not
  * @wma_handle: WMA handle
  *
- * Return: True, if feature set is supporte lese return false
+ * Return: True, if feature set is supported else return false
  */
 static bool wma_is_feature_set_supported(tp_wma_handle wma_handle)
 {
@@ -2070,7 +2070,7 @@ wma_cleanup_vdev_resp_and_hold_req(struct scheduler_msg *msg)
  * @msg :scheduler msg
  *
  * As passed msg->bodyptr is wma in this case this is dummy flush cb so that
- * driver doesnt try to free msg->bodyptr when this msg is flushed.
+ * driver doesn't try to free msg->bodyptr when this msg is flushed.
  *
  * Return: QDF_STATUS
  */
@@ -2081,7 +2081,7 @@ wma_cleanup_vdev_resp_and_hold_req_flush_cb(struct scheduler_msg *msg)
 }
 
 /**
- * wma_shutdown_notifier_cb - Shutdown notifer call back
+ * wma_shutdown_notifier_cb - Shutdown notifier call back
  * @priv : WMA handle
  *
  * During recovery, WMA may wait for resume to complete if the crash happens
@@ -5727,7 +5727,7 @@ static void wma_update_obss_color_collision_support(tp_wma_handle wh,
 }
 
 /**
- * wma_update_restricted_80p80_bw_support() - update restricted 80+80 supprot
+ * wma_update_restricted_80p80_bw_support() - update restricted 80+80 support
  * @wh: wma handle
  * @tgt_cfg: target configuration to be updated
  *
@@ -6289,7 +6289,7 @@ static QDF_STATUS wma_register_gtk_offload_event(tp_wma_handle wma_handle)
 
 /**
  * wma_rx_service_ready_event() - event handler to process
- *                                wmi rx sevice ready event.
+ *                                wmi rx service ready event.
  * @handle: wma handle
  * @cmd_param_info: command params info
  *
@@ -6470,7 +6470,7 @@ int wma_rx_service_ready_event(void *handle, uint8_t *cmd_param_info,
 		}
 
 	} else {
-		wma_err("FW doesnot support WMI_SERVICE_MGMT_TX_WMI, Use HTT interface for Management Tx");
+		wma_err("FW does not support WMI_SERVICE_MGMT_TX_WMI, Use HTT interface for Management Tx");
 	}
 
 	status = wma_register_gtk_offload_event(wma_handle);
@@ -7091,7 +7091,7 @@ int wma_rx_service_ready_ext2_event(void *handle, uint8_t *ev, uint32_t len)
 }
 
 /**
- * wma_rx_service_ready_ext_event() - evt handler for sevice ready ext event.
+ * wma_rx_service_ready_ext_event() - evt handler for service ready ext event.
  * @handle: wma handle
  * @event: params of the service ready extended event
  * @length: param length
@@ -7588,7 +7588,7 @@ static void wma_enable_specific_fw_logs(tp_wma_handle wma_handle,
 /**
  * wma_set_wifi_start_packet_stats() - Start/stop packet stats
  * @wma_handle: WMA handle
- * @start_log: Struture containing the start wifi logger params
+ * @start_log: Structure containing the start wifi logger params
  *
  * This function is used to send the WMA commands to start/stop logging
  * of per packet statistics
@@ -8339,7 +8339,7 @@ static QDF_STATUS wma_roam_scan_send_hlp(tp_wma_handle wma_handle,
 #endif
 
 /**
- * wma_process_set_limit_off_chan() - set limit off chanel parameters
+ * wma_process_set_limit_off_chan() - set limit off channel parameters
  * @wma_handle: pointer to wma handle
  * @param: pointer to sir_limit_off_chan
  *
@@ -9720,7 +9720,7 @@ QDF_STATUS wma_send_pdev_set_dual_mac_config(tp_wma_handle wma_handle,
 	}
 
 	/*
-	 * aquire the wake lock here and release it in response handler function
+	 * acquire the wake lock here and release it in response handler function
 	 * In error condition, release the wake lock right away
 	 */
 	wma_acquire_wakelock(&wma_handle->wmi_cmd_rsp_wake_lock,

+ 5 - 5
core/wma/src/wma_mgmt.c

@@ -2137,7 +2137,7 @@ QDF_STATUS wma_process_update_edca_param_req(WMA_HANDLE handle,
 	return QDF_STATUS_SUCCESS;
 
 fail:
-	wma_err("Failed to set WMM Paremeters");
+	wma_err("Failed to set WMM Parameters");
 	return QDF_STATUS_E_FAILURE;
 }
 
@@ -2482,7 +2482,7 @@ static int wma_p2p_go_set_beacon_ie(t_wma_handle *wma_handle,
  * @wma: wma handle
  * @probe_rsp_info: probe response info
  *
- * This funciton sends probe response template to fw which
+ * This function sends probe response template to fw which
  * firmware will use in case of probe response offload.
  *
  * Return: none
@@ -2553,7 +2553,7 @@ QDF_STATUS wma_set_ap_vdev_up(tp_wma_handle wma, uint8_t vdev_id)
  * @wma: wma handle
  * @bcn_info: beacon info
  *
- * This funciton store beacon template locally and
+ * This function store beacon template locally and
  * update keep alive parameters
  *
  * Return: none
@@ -3564,7 +3564,7 @@ wma_check_and_process_rmf_frame(tp_wma_handle wma_handle,
 }
 
 /**
- * wma_is_pkt_drop_candidate() - check if the mgmt frame should be droppped
+ * wma_is_pkt_drop_candidate() - check if the mgmt frame should be dropped
  * @wma_handle: wma handle
  * @peer_addr: peer MAC address
  * @bssid: BSSID Address
@@ -3573,7 +3573,7 @@ wma_check_and_process_rmf_frame(tp_wma_handle wma_handle,
  * This function is used to decide if a particular management frame should be
  * dropped to prevent DOS attack. Timestamp is used to decide the DOS attack.
  *
- * Return: true if the packet should be dropped and false oterwise
+ * Return: true if the packet should be dropped and false otherwise
  */
 static bool wma_is_pkt_drop_candidate(tp_wma_handle wma_handle,
 				      uint8_t *peer_addr, uint8_t *bssid,

+ 1 - 1
core/wma/src/wma_power.c

@@ -1446,7 +1446,7 @@ QDF_STATUS wma_notify_modem_power_state(void *wma_ptr,
 }
 
 /**
- * wma_set_idle_ps_config() - enable/disble Low Power Support(Pdev Specific)
+ * wma_set_idle_ps_config() - enable/disable Low Power Support(Pdev Specific)
  * @wma_ptr: wma handle
  * @idle_ps: idle powersave
  *

+ 3 - 3
core/wma/src/wma_scan_roam.c

@@ -94,7 +94,7 @@
 #define WMA_EXTSCAN_CYCLE_WAKE_LOCK_DURATION WAKELOCK_DURATION_RECOMMENDED
 
 /*
- * Maximum number of entires that could be present in the
+ * Maximum number of entries that could be present in the
  * WMI_EXTSCAN_HOTLIST_MATCH_EVENT buffer from the firmware
  */
 #define WMA_EXTSCAN_MAX_HOTLIST_ENTRIES 10
@@ -2834,7 +2834,7 @@ QDF_STATUS wma_set_gateway_params(tp_wma_handle wma,
 
 /**
  * wma_ht40_stop_obss_scan() - ht40 obss stop scan
- * @wma: WMA handel
+ * @wma: WMA handle
  * @vdev_id: vdev identifier
  *
  * Return: Return QDF_STATUS, otherwise appropriate failure code
@@ -2869,7 +2869,7 @@ QDF_STATUS wma_ht40_stop_obss_scan(tp_wma_handle wma, int32_t vdev_id)
 
 /**
  * wma_send_ht40_obss_scanind() - ht40 obss start scan indication
- * @wma: WMA handel
+ * @wma: WMA handle
  * @req: start scan request
  *
  * Return: Return QDF_STATUS, otherwise appropriate failure code

+ 11 - 9
core/wma/src/wma_utils.c

@@ -319,10 +319,10 @@ uint16_t wma_mcs_rate_match(uint16_t raw_rate, bool is_he,
 
 #ifdef WLAN_FEATURE_11AX
 /**
- * wma_get_mcs_idx() - get mcs index
+ * wma_match_he_rate() - get matching rate for HE
  * @raw_rate: raw rate from fw
  * @rate_flags: rate flags
- * @he_mcs_12_13_map: he mcs12/13 map
+ * @is_he_mcs_12_13_supported: is HE MCS12/MCS13 supported
  * @nss: nss
  * @dcm: dcm
  * @guard_interval: guard interval
@@ -650,7 +650,7 @@ enum eSmpsModeValue host_map_smps_mode(A_UINT32 fw_smps_mode)
 
 /**
  * wma_smps_mode_to_force_mode_param() - Map smps mode to force
- * mode commmand param
+ * mode command param
  * @smps_mode: SMPS mode according to the protocol
  *
  * Return: int > 0 for success else failure
@@ -1164,6 +1164,7 @@ static tSirLLStatsResults *wma_get_ll_stats_ext_buf(uint32_t *len,
  * @fix_param: parameters with fixed length in WMI event
  * @param_buf: parameters without fixed length in WMI event
  * @buf: buffer for TLV parameters
+ * @buf_length: length of @buf
  *
  * Return: QDF_STATUS
  */
@@ -1333,6 +1334,7 @@ wma_fill_tx_stats(struct sir_wifi_ll_ext_stats *ll_stats,
  * @fix_param: parameters with fixed length in WMI event
  * @param_buf: parameters without fixed length in WMI event
  * @buf: buffer for TLV parameters
+ * @buf_length: length of @buf
  *
  * Return: QDF_STATUS
  */
@@ -1453,9 +1455,9 @@ wma_fill_rx_stats(struct sir_wifi_ll_ext_stats *ll_stats,
 
 /**
  * wma_ll_stats_evt_handler() - handler for MAC layer counters.
- * @handle - wma handle
- * @event - FW event
- * @len - length of FW event
+ * @handle: wma handle
+ * @event: FW event
+ * @len: length of FW event
  *
  * return: 0 success.
  */
@@ -1838,7 +1840,7 @@ static int wma_unified_link_peer_stats_event_handler(void *handle,
 
 /**
  * wma_unified_link_stats_results_mem_free() - Free link stats results memory
- * #link_stats_results: pointer to link stats result
+ * @link_stats_results: pointer to link stats result
  *
  * Return: 0 on success, error number otherwise.
  */
@@ -2739,7 +2741,7 @@ QDF_STATUS wma_process_ll_stats_get_req(tp_wma_handle wma,
 
 /**
  * wma_unified_link_iface_stats_event_handler() - link iface stats event handler
- * @wma:wma handle
+ * @handle: wma handle
  * @cmd_param_info: data from event
  * @len: length
  *
@@ -2912,7 +2914,7 @@ int wma_unified_link_iface_stats_event_handler(void *handle,
 /**
  * wma_config_stats_ext_threshold - set threthold for MAC counters
  * @wma: wma handler
- * @threshold: threhold for MAC counters
+ * @thresh: threshold for MAC counters
  *
  * For each MAC layer counter, FW holds two copies. One is the current value.
  * The other is the last report. Once a current counter's increment is larger