qcacmn: target_if: Fix misspellings
Fix misspellings in target_if/... Change-Id: I405f4c709ffd70b1927970ebd51a215c49f6dc88 CRs-Fixed: 3304693
This commit is contained in:

committed by
Madan Koyyalamudi

parent
5b2be63430
commit
c359185095
@@ -392,7 +392,7 @@ target_if_cfr_init_pdev(struct wlan_objmgr_psoc *psoc,
|
||||
} else if (target_type == TARGET_TYPE_ADRASTEA) {
|
||||
status = cfr_adrastea_init_pdev(psoc, pdev);
|
||||
} else {
|
||||
cfr_info("unsupport chip");
|
||||
cfr_info("unsupported chip");
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -416,7 +416,7 @@ target_if_cfr_deinit_pdev(struct wlan_objmgr_psoc *psoc,
|
||||
} else if (target_type == TARGET_TYPE_ADRASTEA) {
|
||||
status = cfr_adrastea_deinit_pdev(psoc, pdev);
|
||||
} else {
|
||||
cfr_info("unsupport chip");
|
||||
cfr_info("unsupported chip");
|
||||
status = QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 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
|
||||
@@ -668,7 +669,7 @@ target_if_register_tx_completion_event_handler(struct wlan_objmgr_psoc *psoc)
|
||||
WMI_RX_UMAC_CTX);
|
||||
/*
|
||||
* Event registration is called per pdev
|
||||
* Ignore erorr if event is alreday registred.
|
||||
* Ignore error if event is already registered.
|
||||
*/
|
||||
if (ret == QDF_STATUS_E_FAILURE)
|
||||
ret = QDF_STATUS_SUCCESS;
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2019-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-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
|
||||
@@ -1143,7 +1143,7 @@ static uint8_t freeze_reason_to_capture_type(void *freeze_tlv)
|
||||
{
|
||||
/*
|
||||
* Capture_reason field position is common between freeze_tlv v1
|
||||
* and v2, hence typcasting to any one is fine
|
||||
* and v2, hence typecasting to any one is fine
|
||||
*/
|
||||
struct macrx_freeze_capture_channel *freeze =
|
||||
(struct macrx_freeze_capture_channel *)freeze_tlv;
|
||||
@@ -1835,7 +1835,7 @@ target_if_register_phase_delta_for_rcc_event_handler(struct wlan_objmgr_psoc
|
||||
|
||||
/*
|
||||
* Event registration is called per pdev
|
||||
* Ignore erorr if event is alreday registred.
|
||||
* Ignore error if event is already registered.
|
||||
*/
|
||||
if (ret == QDF_STATUS_E_FAILURE)
|
||||
ret = QDF_STATUS_SUCCESS;
|
||||
@@ -1896,7 +1896,7 @@ target_if_register_tx_completion_enh_event_handler(struct wlan_objmgr_psoc
|
||||
WMI_RX_UMAC_CTX);
|
||||
/*
|
||||
* Event registration is called per pdev
|
||||
* Ignore erorr if event is alreday registred.
|
||||
* Ignore error if event is already registered.
|
||||
*/
|
||||
if (ret == QDF_STATUS_E_FAILURE)
|
||||
ret = QDF_STATUS_SUCCESS;
|
||||
|
@@ -231,7 +231,7 @@ struct direct_buf_rx_psoc_obj {
|
||||
|
||||
/**
|
||||
* struct module_ring_params - Direct buf ring params for module
|
||||
* @num_bufs: Number of buffers alloted to this module
|
||||
* @num_bufs: Number of buffers allotted to this module
|
||||
* @buf_size: size of buffers
|
||||
*/
|
||||
struct module_ring_params {
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2017-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
|
||||
@@ -92,7 +93,7 @@ uint64_t target_if_green_ap_get_current_channel_flags(
|
||||
* target_if_green_ap_reset_dev() - Reset dev
|
||||
* @pdev: pdev pointer
|
||||
*
|
||||
* @Return: QDF_STATUS_SUCCESS if device resetted
|
||||
* @Return: QDF_STATUS_SUCCESS if device reset
|
||||
*/
|
||||
QDF_STATUS target_if_green_ap_reset_dev(struct wlan_objmgr_pdev *pdev);
|
||||
|
||||
|
@@ -140,7 +140,7 @@ QDF_STATUS mlo_glb_h_shmem_arena_ctx_deinit(void);
|
||||
* mlo_glb_h_shmem_arena_get_crash_reason_address(): get the address of crash
|
||||
* reason associated with chip_id
|
||||
*
|
||||
* Return: Address of crash_reason field fron global shmem arena in case of
|
||||
* Return: Address of crash_reason field from global shmem arena in case of
|
||||
* success, else returns NULL
|
||||
*/
|
||||
void *mlo_glb_h_shmem_arena_get_crash_reason_address(uint8_t chip_id);
|
||||
|
@@ -135,8 +135,8 @@ init_deinit_update_roam_stats_cap(struct wmi_unified *wmi_handle,
|
||||
/**
|
||||
* init_deinit_update_multi_client_ll_caps() - Update multi client service
|
||||
* capability bit
|
||||
* @wmi_handle: wmi hanle
|
||||
* @psoc: psoc commom object
|
||||
* @wmi_handle: wmi handle
|
||||
* @psoc: psoc common object
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
@@ -160,8 +160,8 @@ init_deinit_update_multi_client_ll_caps(struct wmi_unified *wmi_handle,
|
||||
/**
|
||||
* init_deinit_update_vendor_handoff_control_caps() - Update vendor handoff
|
||||
* control service capability bit
|
||||
* @wmi_handle: wmi hanle
|
||||
* @psoc: psoc commom object
|
||||
* @wmi_handle: wmi handle
|
||||
* @psoc: psoc common object
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
|
@@ -516,7 +516,7 @@ uint8_t mlo_glb_h_shmem_arena_get_no_of_chips_from_crash_info(void)
|
||||
* mlo_glb_h_shmem_arena_get_crash_reason_address() - get the address of crash
|
||||
* reason associated with chip_id
|
||||
*
|
||||
* Return: Address of crash_reason field fron global shmem arena in case of
|
||||
* Return: Address of crash_reason field from global shmem arena in case of
|
||||
* success, else returns NULL
|
||||
*/
|
||||
void *mlo_glb_h_shmem_arena_get_crash_reason_address(uint8_t chip_id)
|
||||
@@ -542,7 +542,7 @@ void *mlo_glb_h_shmem_arena_get_crash_reason_address(uint8_t chip_id)
|
||||
}
|
||||
|
||||
if (chip == crash_info->no_of_chips) {
|
||||
target_if_err("No crash info corressponding to chip %u",
|
||||
target_if_err("No crash info corresponding to chip %u",
|
||||
chip_id);
|
||||
return NULL;
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ bool tgt_if_regulatory_is_11d_offloaded(struct wlan_objmgr_psoc *psoc)
|
||||
* tgt_reg_11d_new_cc_handler() - 11d country code event handler
|
||||
* @handle: scn handle
|
||||
* @event_buf: event buffer
|
||||
* @len: legth of @event_buf
|
||||
* @len: length of @event_buf
|
||||
*
|
||||
* Return: 0 on success
|
||||
*/
|
||||
|
@@ -1042,11 +1042,11 @@ target_if_log_read_spectral_params(
|
||||
|
||||
/**
|
||||
* target_if_log_read_spectral_active_catch_validate() - Helper function to
|
||||
* log whether spectral is active after intializing the cache
|
||||
* log whether spectral is active after initializing the cache
|
||||
* @function_name: Function name
|
||||
* @output: whether spectral is active or not
|
||||
*
|
||||
* Helper function to log whether spectral is active after intializing cache
|
||||
* Helper function to log whether spectral is active after initializing cache
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
@@ -1061,11 +1061,11 @@ target_if_log_read_spectral_active_catch_validate(
|
||||
|
||||
/**
|
||||
* target_if_log_read_spectral_enabled_catch_validate() - Helper function to
|
||||
* log whether spectral is enabled after intializing the cache
|
||||
* log whether spectral is enabled after initializing the cache
|
||||
* @function_name: Function name
|
||||
* @output: whether spectral is enabled or not
|
||||
*
|
||||
* Helper function to log whether spectral is enabled after intializing cache
|
||||
* Helper function to log whether spectral is enabled after initializing cache
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
@@ -1080,11 +1080,11 @@ target_if_log_read_spectral_enabled_catch_validate(
|
||||
|
||||
/**
|
||||
* target_if_log_read_spectral_params_catch_validate() - Helper function to
|
||||
* log spectral parameters after intializing the cache
|
||||
* log spectral parameters after initializing the cache
|
||||
* @function_name: Function name
|
||||
* @pparam: Spectral parameters
|
||||
*
|
||||
* Helper function to log spectral parameters after intializing the cache
|
||||
* Helper function to log spectral parameters after initializing the cache
|
||||
*
|
||||
* Return: none
|
||||
*/
|
||||
@@ -3386,7 +3386,7 @@ struct target_if_sscan_pdev_phy_info {
|
||||
/**
|
||||
* target_if_find_sscan_pdev_phya1() - This is an iterator function to
|
||||
* wlan_objmgr_iterate_obj_list(). It checks whether a given sscan_pdev (pdev on
|
||||
* which sscan is currenly issued) is using PHYA1 by comparing against the pdev
|
||||
* which sscan is currently issued) is using PHYA1 by comparing against the pdev
|
||||
* argument given by the wlan_objmgr_iterate_obj_list()
|
||||
* @psoc: Pointer to psoc
|
||||
* @object: Pointer to pdev
|
||||
@@ -3636,11 +3636,11 @@ target_if_pdev_spectral_init(struct wlan_objmgr_pdev *pdev)
|
||||
if (p_sops->get_capability(spectral, SPECTRAL_CAP_PHYDIAG))
|
||||
spectral_info("HAL_CAP_PHYDIAG : Capable");
|
||||
|
||||
/* TODO: Need to fix the capablity check for RADAR */
|
||||
/* TODO: Need to fix the capability check for RADAR */
|
||||
if (p_sops->get_capability(spectral, SPECTRAL_CAP_RADAR))
|
||||
spectral_info("HAL_CAP_RADAR : Capable");
|
||||
|
||||
/* TODO : Need to fix the capablity check for SPECTRAL */
|
||||
/* TODO : Need to fix the capability check for SPECTRAL */
|
||||
/* TODO : Should this be called here of after ath_attach ? */
|
||||
if (p_sops->get_capability(spectral, SPECTRAL_CAP_SPECTRAL_SCAN))
|
||||
spectral_info("HAL_CAP_SPECTRAL_SCAN : Capable");
|
||||
@@ -7382,7 +7382,7 @@ target_if_spectral_get_psoc_from_scn_handle(ol_scn_t scn)
|
||||
* function to extract channel information for a spectral scan session
|
||||
* @psoc: Pointer to psoc object
|
||||
* @evt_buf: Event buffer
|
||||
* @chan_info: Spectral session channel information data structure to be fille
|
||||
* @chan_info: Spectral session channel information data structure to be filled
|
||||
* by this API
|
||||
*
|
||||
* Return: QDF_STATUS of operation
|
||||
|
@@ -140,7 +140,7 @@
|
||||
#define TLV_TAG_SEARCH_FFT_REPORT_GEN2 0xFB
|
||||
|
||||
/**
|
||||
* The Maximum number of detector informations to be filled in the SAMP msg
|
||||
* The Maximum number of detector information to be filled in the SAMP msg
|
||||
* is 3, only for 165MHz case. For all other cases this value will be 1.
|
||||
*/
|
||||
#define MAX_NUM_DEST_DETECTOR_INFO (3)
|
||||
@@ -386,7 +386,7 @@ struct spectral_process_phyerr_info_gen2 {
|
||||
/**
|
||||
* struct phyerr_info - spectral search fft report for gen3
|
||||
* @data: handle to phyerror buffer
|
||||
* @datalen: length of phyerror bufer
|
||||
* @datalen: length of phyerror buffer
|
||||
* @p_rfqual: rf quality matrices
|
||||
* @p_chaninfo: pointer to chaninfo
|
||||
* @tsf64: 64 bit TSF
|
||||
@@ -1060,7 +1060,7 @@ struct per_session_dest_det_info {
|
||||
/**
|
||||
* struct per_session_det_map - A map of per-session detector information,
|
||||
* keyed by the detector id obtained from the Spectral FFT report, mapping to
|
||||
* detination detector info in SAMP message.
|
||||
* destination detector info in SAMP message.
|
||||
* @dest_det_info: Struct containing per-session detector information
|
||||
* @num_dest_det_info: Number of destination detectors to which information
|
||||
* of this detector is to be filled
|
||||
@@ -1190,7 +1190,7 @@ int get_supported_sscan_bw_pos(enum phy_ch_width sscan_bw);
|
||||
* @send_single_packet: Deprecated
|
||||
* @spectral_sent_msg: Indicates whether we send report to upper layers
|
||||
* @params: Spectral parameters
|
||||
* @last_capture_time: Indicates timestamp of previouse report
|
||||
* @last_capture_time: Indicates timestamp of previous report
|
||||
* @num_spectral_data: Number of Spectral samples received in current session
|
||||
* @total_spectral_data: Total number of Spectral samples received
|
||||
* @max_rssi: Maximum RSSI
|
||||
@@ -1497,7 +1497,7 @@ struct target_if_samp_msg_params {
|
||||
* @freq_loading: spectral control duty cycles
|
||||
* @noise_floor: current noise floor (except for secondary 80 segment)
|
||||
* @noise_floor_sec80: current noise floor for secondary 80 segment
|
||||
* @interf_list: List of interfernce sources
|
||||
* @interf_list: List of interference sources
|
||||
* @classifier_params: classifier parameters
|
||||
* @sc: classifier parameters
|
||||
* @pri80ind: Indication from hardware that the sample was received on the
|
||||
|
@@ -355,7 +355,7 @@ target_if_dump_summary_report_gen2(struct spectral_phyerr_tlv_gen2 *ptlv,
|
||||
*/
|
||||
|
||||
/*
|
||||
* For easy comparision between MDK team and OS team, the MDK script
|
||||
* For easy comparison between MDK team and OS team, the MDK script
|
||||
* variable names have been used
|
||||
*/
|
||||
|
||||
@@ -499,7 +499,7 @@ target_if_process_sfft_report_gen2(
|
||||
* Proper code will later use the right sizes.
|
||||
*/
|
||||
/*
|
||||
* For easy comparision between MDK team and OS team, the MDK script
|
||||
* For easy comparison between MDK team and OS team, the MDK script
|
||||
* variable names have been used
|
||||
*/
|
||||
uint32_t relpwr_db;
|
||||
@@ -714,7 +714,7 @@ target_if_dump_sfft_report_gen2(struct spectral_phyerr_tlv_gen2 *ptlv,
|
||||
* Proper code will later use the right sizes.
|
||||
*/
|
||||
/*
|
||||
* For easy comparision between MDK team and OS team, the MDK script
|
||||
* For easy comparison between MDK team and OS team, the MDK script
|
||||
* variable names have been used
|
||||
*/
|
||||
uint32_t relpwr_db;
|
||||
@@ -2363,7 +2363,7 @@ target_if_process_sfft_report_gen3(
|
||||
* Proper code will later use the right sizes.
|
||||
*/
|
||||
/*
|
||||
* For easy comparision between MDK team and OS team, the MDK script
|
||||
* For easy comparison between MDK team and OS team, the MDK script
|
||||
* variable names have been used
|
||||
*/
|
||||
|
||||
@@ -3158,7 +3158,7 @@ target_if_process_sfft_report_gen3(
|
||||
}
|
||||
|
||||
/*
|
||||
* For easy comparision between MDK team and OS team, the MDK script
|
||||
* For easy comparison between MDK team and OS team, the MDK script
|
||||
* variable names have been used
|
||||
*/
|
||||
|
||||
@@ -3368,7 +3368,7 @@ target_if_spectral_populate_samp_params_gen3(
|
||||
return QDF_STATUS_E_NULL_VALUE;
|
||||
}
|
||||
|
||||
/* RSSI is in 1/2 dBm steps, Covert it to dBm scale */
|
||||
/* RSSI is in 1/2 dBm steps, Convert it to dBm scale */
|
||||
params->rssi = (sscan_fields->inband_pwr_db) >> 1;
|
||||
|
||||
params->hw_detector_id = p_sfft->fft_detector_id;
|
||||
@@ -3715,7 +3715,7 @@ target_if_consume_spectral_report_gen3(
|
||||
params.vhtop_ch_freq_seg2 = report->cfreq2;
|
||||
|
||||
if (is_primaryseg_expected(spectral, spectral_mode)) {
|
||||
/* RSSI is in 1/2 dBm steps, Covert it to dBm scale */
|
||||
/* RSSI is in 1/2 dBm steps, Convert it to dBm scale */
|
||||
rssi = (sscan_report_fields.inband_pwr_db) >> 1;
|
||||
params.agc_total_gain =
|
||||
sscan_report_fields.sscan_agc_total_gain;
|
||||
@@ -3893,7 +3893,7 @@ target_if_consume_spectral_report_gen3(
|
||||
target_if_spectral_verify_ts(spectral, report->data,
|
||||
params.tstamp);
|
||||
} else if (is_secondaryseg_expected(spectral, spectral_mode)) {
|
||||
/* RSSI is in 1/2 dBm steps, Covert it to dBm scale */
|
||||
/* RSSI is in 1/2 dBm steps, Convert it to dBm scale */
|
||||
rssi = (sscan_report_fields.inband_pwr_db) >> 1;
|
||||
params.agc_total_gain_sec80 =
|
||||
sscan_report_fields.sscan_agc_total_gain;
|
||||
|
@@ -51,7 +51,7 @@ static void *target_if_wifi_pos_vaddr_lookup(
|
||||
QDF_STATUS
|
||||
target_if_wifi_pos_replenish_ring(struct wifi_pos_psoc_priv_obj *priv,
|
||||
uint8_t ring_idx,
|
||||
void *alinged_vaddr, uint32_t cookie)
|
||||
void *aligned_vaddr, uint32_t cookie)
|
||||
{
|
||||
uint64_t *ring_entry;
|
||||
uint32_t dw_lo, dw_hi = 0, map_status;
|
||||
@@ -59,12 +59,12 @@ target_if_wifi_pos_replenish_ring(struct wifi_pos_psoc_priv_obj *priv,
|
||||
void *srng = priv->dma_cfg[ring_idx].srng;
|
||||
void *paddr;
|
||||
|
||||
if (!alinged_vaddr) {
|
||||
target_if_debug("NULL alinged_vaddr provided");
|
||||
if (!aligned_vaddr) {
|
||||
target_if_debug("NULL aligned_vaddr provided");
|
||||
return QDF_STATUS_SUCCESS;
|
||||
}
|
||||
|
||||
map_status = qdf_mem_map_nbytes_single(NULL, alinged_vaddr,
|
||||
map_status = qdf_mem_map_nbytes_single(NULL, aligned_vaddr,
|
||||
QDF_DMA_FROM_DEVICE,
|
||||
priv->dma_cap[ring_idx].min_buf_size,
|
||||
(qdf_dma_addr_t *)&paddr);
|
||||
|
Reference in New Issue
Block a user