qcacld-3.0: core: cds: Fix misspellings
Fix misspellings in core/cds/... Change-Id: Ia0a4185fd54550618eb9266b24c0b59609ed56bd CRs-Fixed: 3303629
This commit is contained in:

committed by
Madan Koyyalamudi

orang tua
e4a0f3e7c6
melakukan
c7562ff81b
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2014-2016, 2018, 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
|
||||
@@ -62,7 +63,7 @@ QDF_STATUS cds_pkt_get_packet_length(cds_pkt_t *pPacket,
|
||||
|
||||
/*
|
||||
* TODO: Remove later
|
||||
* All the below difinitions are not
|
||||
* All the below definitions are not
|
||||
* required for Host Driver 2.0
|
||||
* once corresponding references are removed
|
||||
* from HDD and other layers
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-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
|
||||
@@ -89,7 +90,7 @@ struct cds_ol_rx_pkt {
|
||||
** CDS Scheduler context
|
||||
** The scheduler context contains the following:
|
||||
** ** the messages queues
|
||||
** ** the handle to the tread
|
||||
** ** the handle to the thread
|
||||
** ** pointer to the events that gracefully shutdown the MC and Tx threads
|
||||
**
|
||||
*/
|
||||
@@ -144,7 +145,7 @@ typedef struct _cds_sched_context {
|
||||
/* high throughput required */
|
||||
bool high_throughput_required;
|
||||
|
||||
/* affinity requied during uplink traffic*/
|
||||
/* affinity required during uplink traffic*/
|
||||
bool rx_affinity_required;
|
||||
uint8_t conf_rx_thread_ul_affinity;
|
||||
|
||||
@@ -227,7 +228,7 @@ struct cds_context {
|
||||
};
|
||||
|
||||
/*---------------------------------------------------------------------------
|
||||
Function declarations and documenation
|
||||
Function declarations and documentation
|
||||
---------------------------------------------------------------------------*/
|
||||
#ifdef QCA_CONFIG_SMP
|
||||
int cds_sched_handle_cpu_hot_plug(void);
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2014-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
|
||||
@@ -93,7 +94,7 @@ enum cds_band_type {
|
||||
};
|
||||
|
||||
/*-------------------------------------------------------------------------
|
||||
Function declarations and documenation
|
||||
Function declarations and documentation
|
||||
------------------------------------------------------------------------*/
|
||||
|
||||
uint32_t cds_chan_to_freq(uint8_t chan);
|
||||
|
@@ -2103,7 +2103,7 @@ void cds_set_wakelock_logging(bool value)
|
||||
|
||||
p_cds_context = cds_get_global_context();
|
||||
if (!p_cds_context) {
|
||||
cds_err("cds context is Invald");
|
||||
cds_err("cds context is Invalid");
|
||||
return;
|
||||
}
|
||||
p_cds_context->is_wakelock_log_enabled = value;
|
||||
@@ -2123,7 +2123,7 @@ bool cds_is_wakelock_enabled(void)
|
||||
|
||||
p_cds_context = cds_get_global_context();
|
||||
if (!p_cds_context) {
|
||||
cds_err("cds context is Invald");
|
||||
cds_err("cds context is Invalid");
|
||||
return false;
|
||||
}
|
||||
return p_cds_context->is_wakelock_log_enabled;
|
||||
@@ -2132,7 +2132,7 @@ bool cds_is_wakelock_enabled(void)
|
||||
/**
|
||||
* cds_set_ring_log_level() - Sets the log level of a particular ring
|
||||
* @ring_id: ring_id
|
||||
* @log_levelvalue: Log level specificed
|
||||
* @log_levelvalue: Log level specified
|
||||
*
|
||||
* This function converts HLOS values to driver log levels and sets the log
|
||||
* level of a particular ring accordingly.
|
||||
@@ -2146,7 +2146,7 @@ void cds_set_ring_log_level(uint32_t ring_id, uint32_t log_level)
|
||||
|
||||
p_cds_context = cds_get_global_context();
|
||||
if (!p_cds_context) {
|
||||
cds_err("cds context is Invald");
|
||||
cds_err("cds context is Invalid");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -2198,7 +2198,7 @@ enum wifi_driver_log_level cds_get_ring_log_level(uint32_t ring_id)
|
||||
|
||||
p_cds_context = cds_get_global_context();
|
||||
if (!p_cds_context) {
|
||||
cds_err("cds context is Invald");
|
||||
cds_err("cds context is Invalid");
|
||||
return WLAN_LOG_LEVEL_OFF;
|
||||
}
|
||||
|
||||
@@ -2272,7 +2272,7 @@ void cds_init_log_completion(void)
|
||||
/**
|
||||
* cds_set_log_completion() - Store the logging params
|
||||
* @is_fatal: Indicates if the event triggering bug report is fatal or not
|
||||
* @indicator: Source which trigerred the bug report
|
||||
* @indicator: Source which triggered the bug report
|
||||
* @reason_code: Reason for triggering bug report
|
||||
* @recovery_needed: If recovery is needed after bug report
|
||||
*
|
||||
@@ -2310,7 +2310,7 @@ QDF_STATUS cds_set_log_completion(uint32_t is_fatal,
|
||||
/**
|
||||
* cds_get_and_reset_log_completion() - Get and reset logging related params
|
||||
* @is_fatal: Indicates if the event triggering bug report is fatal or not
|
||||
* @indicator: Source which trigerred the bug report
|
||||
* @indicator: Source which triggered the bug report
|
||||
* @reason_code: Reason for triggering bug report
|
||||
* @recovery_needed: If recovery is needed after bug report
|
||||
*
|
||||
@@ -2473,7 +2473,7 @@ void cds_wlan_flush_host_logs_for_fatal(void)
|
||||
/**
|
||||
* cds_flush_logs() - Report fatal event to userspace
|
||||
* @is_fatal: Indicates if the event triggering bug report is fatal or not
|
||||
* @indicator: Source which trigerred the bug report
|
||||
* @indicator: Source which triggered the bug report
|
||||
* @reason_code: Reason for triggering bug report
|
||||
* @dump_mac_trace: If mac trace are needed in logs.
|
||||
* @recovery_needed: If recovery is needed after bug report
|
||||
|
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2011,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
|
||||
@@ -645,7 +646,7 @@ int32_t cds_fill_some_regulatory_info(struct regulatory *reg)
|
||||
|
||||
reg->regpair = get_reg_dmn_pair(reg_dmn);
|
||||
if (!reg->regpair) {
|
||||
cds_err("no regpair is found, can not proceeed");
|
||||
cds_err("no regpair is found, can not proceed");
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user