qcacmn: utils: Fix misspellings
Fix misspellings in utils/... Change-Id: I092dfff26e16e7c660e6652a652268256d1d1517 CRs-Fixed: 3304703
This commit is contained in:

committed by
Madan Koyyalamudi

parent
8ba6f73786
commit
b26f2f678c
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2019 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -216,7 +217,7 @@ int epping_tx_send(qdf_nbuf_t skb, epping_adapter_t *adapter)
|
|||||||
|
|
||||||
if (!IS_EPPING_PACKET(eppingHdr)) {
|
if (!IS_EPPING_PACKET(eppingHdr)) {
|
||||||
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
|
EPPING_LOG(QDF_TRACE_LEVEL_FATAL,
|
||||||
"%s: Recived non endpoint ping packets\n", __func__);
|
"%s: Received non endpoint ping packets\n", __func__);
|
||||||
/* no packet to send, cleanup */
|
/* no packet to send, cleanup */
|
||||||
qdf_nbuf_free(skb);
|
qdf_nbuf_free(skb);
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
@@ -1880,7 +1880,7 @@ static int diag_fw_handler(ol_scn_t scn, uint8_t *data, uint32_t datalen)
|
|||||||
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("NULL Pointer assigned\n"));
|
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("NULL Pointer assigned\n"));
|
||||||
return A_ERROR;
|
return A_ERROR;
|
||||||
}
|
}
|
||||||
/* when fw asser occurs,host can't use TLV format. */
|
/* when fw assert occurs,host can't use TLV format. */
|
||||||
if (wma->is_fw_assert) {
|
if (wma->is_fw_assert) {
|
||||||
datap = data;
|
datap = data;
|
||||||
len = datalen;
|
len = datalen;
|
||||||
@@ -2002,7 +2002,7 @@ int dbglog_parse_debug_logs(ol_scn_t scn, uint8_t *data, uint32_t datalen)
|
|||||||
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("NULL Pointer assigned\n"));
|
AR_DEBUG_PRINTF(ATH_DEBUG_ERR, ("NULL Pointer assigned\n"));
|
||||||
return A_ERROR;
|
return A_ERROR;
|
||||||
}
|
}
|
||||||
/*when fw asser occurs,host can't use TLV format. */
|
/*when fw assert occurs,host can't use TLV format. */
|
||||||
if (wma->is_fw_assert) {
|
if (wma->is_fw_assert) {
|
||||||
datap = data;
|
datap = data;
|
||||||
len = datalen;
|
len = datalen;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2011, 2014-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2011, 2014-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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -110,7 +111,7 @@ int
|
|||||||
dbglog_set_timestamp_resolution(wmi_unified_t wmi_handle,
|
dbglog_set_timestamp_resolution(wmi_unified_t wmi_handle,
|
||||||
uint16_t tsr);
|
uint16_t tsr);
|
||||||
|
|
||||||
/** Enable reporting. If it is set to false then Target wont deliver
|
/** Enable reporting. If it is set to false then Target won't deliver
|
||||||
* any debug information
|
* any debug information
|
||||||
*/
|
*/
|
||||||
int
|
int
|
||||||
@@ -130,7 +131,7 @@ dbglog_set_log_lvl(wmi_unified_t wmi_handle, DBGLOG_LOG_LVL log_lvl);
|
|||||||
* module_id = mod_id_lvl/10;
|
* module_id = mod_id_lvl/10;
|
||||||
* log_level = mod_id_lvl%10;
|
* log_level = mod_id_lvl%10;
|
||||||
* example : mod_id_lvl is 153. then module id is 15 and log level is 3.
|
* example : mod_id_lvl is 153. then module id is 15 and log level is 3.
|
||||||
* this format allows user to pass a sinlge value
|
* this format allows user to pass a single value
|
||||||
* (which is the most convenient way for most of the OSs)
|
* (which is the most convenient way for most of the OSs)
|
||||||
* to be passed from user to the driver.
|
* to be passed from user to the driver.
|
||||||
*/
|
*/
|
||||||
@@ -143,7 +144,7 @@ dbglog_set_mod_log_lvl(wmi_unified_t wmi_handle, uint32_t mod_id_lvl);
|
|||||||
* module_id = mod_id_lvl/10;
|
* module_id = mod_id_lvl/10;
|
||||||
* log_level = mod_id_lvl%10;
|
* log_level = mod_id_lvl%10;
|
||||||
* example : mod_id_lvl is 153. then module id is 15 and log level is 3.
|
* example : mod_id_lvl is 153. then module id is 15 and log level is 3.
|
||||||
* this format allows user to pass a sinlge value
|
* this format allows user to pass a single value
|
||||||
* (which is the most convenient way for most of the OSs)
|
* (which is the most convenient way for most of the OSs)
|
||||||
* to be passed from user to the driver.
|
* to be passed from user to the driver.
|
||||||
*/
|
*/
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2018-2019 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -110,7 +111,7 @@ void fwdbg_set_timestamp_resolution(struct common_dbglog_handle *dbg_handle,
|
|||||||
* @isenable: Enable/disable
|
* @isenable: Enable/disable
|
||||||
*
|
*
|
||||||
* API to enable debug information reporting. It encodes wmi config command
|
* API to enable debug information reporting. It encodes wmi config command
|
||||||
* to enable reporting. If set to false then Target wont deliver any debug
|
* to enable reporting. If set to false then Target won't deliver any debug
|
||||||
* information.
|
* information.
|
||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -248,7 +248,7 @@ enum mgmt_bss_type {
|
|||||||
* @WLAN_STATUS_RESET_FAIL: Reset Fail
|
* @WLAN_STATUS_RESET_FAIL: Reset Fail
|
||||||
* @WLAN_STATUS_RESET_SUCCESS: Reset Success
|
* @WLAN_STATUS_RESET_SUCCESS: Reset Success
|
||||||
* @WLAN_STATUS_DEVICE_REMOVED: Device Removed
|
* @WLAN_STATUS_DEVICE_REMOVED: Device Removed
|
||||||
* @WLAN_STATUS_DEVICE_INSERTED: Devide Inserted
|
* @WLAN_STATUS_DEVICE_INSERTED: Device Inserted
|
||||||
* @WLAN_STATUS_DRIVER_UNLOADED: Driver Unloaded
|
* @WLAN_STATUS_DRIVER_UNLOADED: Driver Unloaded
|
||||||
* @WLAN_STATUS_DRIVER_LOADED: Driver Loaded
|
* @WLAN_STATUS_DRIVER_LOADED: Driver Loaded
|
||||||
* @WLAN_STATUS_BUS_EXCEPTION: bus/link exception
|
* @WLAN_STATUS_BUS_EXCEPTION: bus/link exception
|
||||||
@@ -751,7 +751,7 @@ struct host_event_wlan_ssr_shutdown {
|
|||||||
|
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* enum host_sta_kickout_events - Enum containing sta kickout subtype
|
* enum host_sta_kickout_events - Enum containing sta kickout subtype
|
||||||
@@ -776,7 +776,7 @@ enum host_sta_kickout_events {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* enum host_datastall_events - Enum containing datastall subtype
|
* enum host_datastall_events - Enum containing datastall subtype
|
||||||
@@ -809,7 +809,7 @@ enum host_datastall_events {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* enum host_ssr_events - Enum containing ssr subtype
|
* enum host_ssr_events - Enum containing ssr subtype
|
||||||
@@ -904,7 +904,7 @@ struct host_event_tdls_tx_rx_mgmt {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
/**
|
/**
|
||||||
* enum wifi_connectivity_events - Enum containing EAPOL sub type
|
* enum wifi_connectivity_events - Enum containing EAPOL sub type
|
||||||
@@ -947,7 +947,7 @@ enum wifi_connectivity_events {
|
|||||||
* @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_SHUTDOWN: Wakelock for Idle Shutdown
|
* @WIFI_POWER_EVENT_WAKELOCK_DRIVER_IDLE_SHUTDOWN: Wakelock for Idle Shutdown
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_TDLS: Wakelock for TDLS
|
* @WIFI_POWER_EVENT_WAKELOCK_TDLS: Wakelock for TDLS
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_CFR: Wakelock for CFR
|
* @WIFI_POWER_EVENT_WAKELOCK_CFR: Wakelock for CFR
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_SAP_D3_WOW: Wakelock for SAP D3 WOW max clinets
|
* @WIFI_POWER_EVENT_WAKELOCK_SAP_D3_WOW: Wakelock for SAP D3 WOW max clients
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_GO_D3_WOW: Wakelock for GO D3 WOW max clients
|
* @WIFI_POWER_EVENT_WAKELOCK_GO_D3_WOW: Wakelock for GO D3 WOW max clients
|
||||||
* @WIFI_POWER_EVENT_WAKELOCK_RTPM_TPUT_POLICY: Wakelock for RTPM Tput policy
|
* @WIFI_POWER_EVENT_WAKELOCK_RTPM_TPUT_POLICY: Wakelock for RTPM Tput policy
|
||||||
*
|
*
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2017, 2019-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2017, 2019-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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -176,7 +177,7 @@ typedef struct {
|
|||||||
} host_log_beacon_update_pkt_type;
|
} host_log_beacon_update_pkt_type;
|
||||||
|
|
||||||
/*---------------------------------------------------------------------------
|
/*---------------------------------------------------------------------------
|
||||||
This packet contains the information related to a WoW patern value when set
|
This packet contains the information related to a WoW pattern value when set
|
||||||
LOG_WLAN_POWERSAVE_WOW_ADD_PTRN_C 0x149C
|
LOG_WLAN_POWERSAVE_WOW_ADD_PTRN_C 0x149C
|
||||||
---------------------------------------------------------------------------*/
|
---------------------------------------------------------------------------*/
|
||||||
typedef struct {
|
typedef struct {
|
||||||
@@ -469,7 +470,7 @@ struct host_log_wlan_roam_scan_data {
|
|||||||
/**
|
/**
|
||||||
* struct host_log_wlan_roam_result_info - Roam result related info.
|
* struct host_log_wlan_roam_result_info - Roam result related info.
|
||||||
* @hdr: Log header
|
* @hdr: Log header
|
||||||
* @version: Payload strcuture version
|
* @version: Payload structure version
|
||||||
* @vdev_id: Vdev Id
|
* @vdev_id: Vdev Id
|
||||||
* @status: 0 - Roaming is success ; 1 - Roaming failed
|
* @status: 0 - Roaming is success ; 1 - Roaming failed
|
||||||
* @timestamp: Host timestamp in millisecs
|
* @timestamp: Host timestamp in millisecs
|
||||||
@@ -511,9 +512,9 @@ struct wlan_rrm_beacon_report {
|
|||||||
/**
|
/**
|
||||||
* struct host_log_wlan_rrm_tx_rx_info - RRM frame related details
|
* struct host_log_wlan_rrm_tx_rx_info - RRM frame related details
|
||||||
* @hdr: Log header
|
* @hdr: Log header
|
||||||
* @version: Version of the payload struture
|
* @version: Version of the payload structure
|
||||||
* @vdev_id: Vdev id
|
* @vdev_id: Vdev id
|
||||||
* @orgin: Sent by host or firmware
|
* @origin: Sent by host or firmware
|
||||||
* @is_tx: Is Tx frame or RX frame
|
* @is_tx: Is Tx frame or RX frame
|
||||||
* @roam_result: Roaming result
|
* @roam_result: Roaming result
|
||||||
* @timestamp: Time of the day in milliseconds
|
* @timestamp: Time of the day in milliseconds
|
||||||
@@ -579,7 +580,7 @@ struct host_event_proto_pkt_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -320,7 +320,7 @@ typedef enum {
|
|||||||
* 20 - CHANNEL SCAN
|
* 20 - CHANNEL SCAN
|
||||||
* 21 - NORMAL CHANNEL SCAN
|
* 21 - NORMAL CHANNEL SCAN
|
||||||
*
|
*
|
||||||
* MLM State: offset: 10 legth: 2
|
* MLM State: offset: 10 length: 2
|
||||||
* 0 - MLM OFFLINE
|
* 0 - MLM OFFLINE
|
||||||
* 1 - MLM IDLE
|
* 1 - MLM IDLE
|
||||||
* 2 - MLM WT PROBE RESP
|
* 2 - MLM WT PROBE RESP
|
||||||
@@ -382,7 +382,7 @@ typedef enum {
|
|||||||
* 2 - Reset Fail
|
* 2 - Reset Fail
|
||||||
* 3 - Reset Success
|
* 3 - Reset Success
|
||||||
* 4 - Device Removed
|
* 4 - Device Removed
|
||||||
* 5 - Devide Inserted
|
* 5 - Device Inserted
|
||||||
* 6 - Driver Unloaded
|
* 6 - Driver Unloaded
|
||||||
* 7 - Driver Loaded
|
* 7 - Driver Loaded
|
||||||
* 8 - bus/link down
|
* 8 - bus/link down
|
||||||
@@ -446,7 +446,7 @@ typedef enum {
|
|||||||
* 0 - Enter
|
* 0 - Enter
|
||||||
* 1 - Exit
|
* 1 - Exit
|
||||||
* 2 - Del Pattern
|
* 2 - Del Pattern
|
||||||
* 3 - Wakup
|
* 3 - Wakeup
|
||||||
*
|
*
|
||||||
* WOW Type: offset: 1 length: 1
|
* WOW Type: offset: 1 length: 1
|
||||||
* 0 - None
|
* 0 - None
|
||||||
@@ -636,7 +636,7 @@ typedef enum {
|
|||||||
* @ reason: Reason for triggering status
|
* @ reason: Reason for triggering status
|
||||||
* @ reasonDisconnect:Reason for disconnection
|
* @ reasonDisconnect:Reason for disconnection
|
||||||
*
|
*
|
||||||
* This event is used to send varius wlan status
|
* This event is used to send various wlan status
|
||||||
* Values for parameters are defined below:
|
* Values for parameters are defined below:
|
||||||
* eventId: offset: 0 length: 1
|
* eventId: offset: 0 length: 1
|
||||||
* ssid[0] - ssid[31]: offset: 1 to 32, length: 1
|
* ssid[0] - ssid[31]: offset: 1 to 32, length: 1
|
||||||
@@ -954,7 +954,7 @@ typedef enum {
|
|||||||
* Table 12-10—Integrity and key wrap algorithms.
|
* Table 12-10—Integrity and key wrap algorithms.
|
||||||
* @grp_cipher: Group cipher suite value as defined in
|
* @grp_cipher: Group cipher suite value as defined in
|
||||||
* Table 12-10—Integrity and key wrap algorithm in IEEE 802.11 2020.
|
* Table 12-10—Integrity and key wrap algorithm in IEEE 802.11 2020.
|
||||||
* grp_mgmt: Group manangement cipher suite as defined in
|
* grp_mgmt: Group management cipher suite as defined in
|
||||||
* Table 12-10—Integrity and key wrap algorithms in IEEE 802.11 2020.
|
* Table 12-10—Integrity and key wrap algorithms in IEEE 802.11 2020.
|
||||||
*
|
*
|
||||||
* This event is used to send connection parameters for
|
* This event is used to send connection parameters for
|
||||||
|
@@ -113,7 +113,7 @@ enum auth_timeout_type {
|
|||||||
* @DIAG_ROAM_REASON_DISCONNECTION: Roam triggered due to
|
* @DIAG_ROAM_REASON_DISCONNECTION: Roam triggered due to
|
||||||
* deauthentication or disassociation frames received from the connected AP.
|
* deauthentication or disassociation frames received from the connected AP.
|
||||||
* @DIAG_ROAM_REASON_PERIODIC_TIMER: Roam triggered as part of the periodic
|
* @DIAG_ROAM_REASON_PERIODIC_TIMER: Roam triggered as part of the periodic
|
||||||
* scan that happens when there is no candiate AP found during the poor
|
* scan that happens when there is no candidate AP found during the poor
|
||||||
* RSSI scan trigger.
|
* RSSI scan trigger.
|
||||||
* @DIAG_ROAM_REASON_BACKGROUND_SCAN: Roam triggered based on the scan
|
* @DIAG_ROAM_REASON_BACKGROUND_SCAN: Roam triggered based on the scan
|
||||||
* results obtained from an external scan (not aimed at roaming).
|
* results obtained from an external scan (not aimed at roaming).
|
||||||
@@ -176,7 +176,7 @@ enum diag_roam_sub_reason {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
#ifdef FEATURE_WLAN_DIAG_SUPPORT
|
#ifdef FEATURE_WLAN_DIAG_SUPPORT
|
||||||
void host_diag_log_wlock(uint32_t reason, const char *wake_lock_name,
|
void host_diag_log_wlock(uint32_t reason, const char *wake_lock_name,
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2018 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -40,7 +41,7 @@
|
|||||||
/*--------------------------------------------------------------------------
|
/*--------------------------------------------------------------------------
|
||||||
Preprocessor definitions and constants
|
Preprocessor definitions and constants
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
/* FIXME To be removed when DIAG support is added. This definiton should be */
|
/* FIXME To be removed when DIAG support is added. This definition should be */
|
||||||
/* picked from log.h file above. */
|
/* picked from log.h file above. */
|
||||||
typedef struct {
|
typedef struct {
|
||||||
/* Specifies the length, in bytes of the entry, including this header. */
|
/* Specifies the length, in bytes of the entry, including this header. */
|
||||||
@@ -116,7 +117,7 @@ static inline void host_diag_log_set_length(void *ptr, uint16_t length)
|
|||||||
#endif /* FEATURE_WLAN_DIAG_SUPPORT */
|
#endif /* FEATURE_WLAN_DIAG_SUPPORT */
|
||||||
|
|
||||||
/*-------------------------------------------------------------------------
|
/*-------------------------------------------------------------------------
|
||||||
Function declarations and documenation
|
Function declarations and documentation
|
||||||
------------------------------------------------------------------------*/
|
------------------------------------------------------------------------*/
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
@@ -204,7 +204,7 @@ struct wlan_logging {
|
|||||||
bool is_active;
|
bool is_active;
|
||||||
/* Flush completion check */
|
/* Flush completion check */
|
||||||
bool is_flush_complete;
|
bool is_flush_complete;
|
||||||
/* paramaters for pkt stats */
|
/* parameters for pkt stats */
|
||||||
struct list_head pkt_stat_free_list;
|
struct list_head pkt_stat_free_list;
|
||||||
struct list_head pkt_stat_filled_list;
|
struct list_head pkt_stat_filled_list;
|
||||||
struct pkt_stats_msg *pkt_stats_pcur_node;
|
struct pkt_stats_msg *pkt_stats_pcur_node;
|
||||||
@@ -1197,7 +1197,7 @@ int wlan_logging_sock_init_svc(void)
|
|||||||
(gwlan_logging.pkt_stat_free_list.next);
|
(gwlan_logging.pkt_stat_free_list.next);
|
||||||
list_del_init(gwlan_logging.pkt_stat_free_list.next);
|
list_del_init(gwlan_logging.pkt_stat_free_list.next);
|
||||||
spin_unlock_irqrestore(&gwlan_logging.pkt_stats_lock, irq_flag);
|
spin_unlock_irqrestore(&gwlan_logging.pkt_stats_lock, irq_flag);
|
||||||
/* Pkt Stats intialization done */
|
/* Pkt Stats initialization done */
|
||||||
|
|
||||||
init_waitqueue_head(&gwlan_logging.wait_queue);
|
init_waitqueue_head(&gwlan_logging.wait_queue);
|
||||||
gwlan_logging.exit = false;
|
gwlan_logging.exit = false;
|
||||||
@@ -1368,7 +1368,7 @@ static uint8_t grx_count;
|
|||||||
* wlan_get_pkt_stats_free_node() - Get the free node for pkt stats
|
* wlan_get_pkt_stats_free_node() - Get the free node for pkt stats
|
||||||
*
|
*
|
||||||
* This function is used to get the free node for pkt stats from
|
* This function is used to get the free node for pkt stats from
|
||||||
* free list/filles list
|
* free list/filled list
|
||||||
*
|
*
|
||||||
* Return: int
|
* Return: int
|
||||||
*
|
*
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2014-2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2014-2019 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -57,7 +58,7 @@
|
|||||||
* in the user space, define a set of messages they recognize.
|
* in the user space, define a set of messages they recognize.
|
||||||
* Each of this message will have an header of type tAniMsgHdr defined below.
|
* Each of this message will have an header of type tAniMsgHdr defined below.
|
||||||
* Each Netlink message to/from a kernel module will contain only one
|
* Each Netlink message to/from a kernel module will contain only one
|
||||||
* message which is preceded by a tAniMsgHdr. The maximun size (in bytes) of
|
* message which is preceded by a tAniMsgHdr. The maximum size (in bytes) of
|
||||||
* a netlink message is assumed to be MAX_PAYLOAD bytes.
|
* a netlink message is assumed to be MAX_PAYLOAD bytes.
|
||||||
*
|
*
|
||||||
* +------------+-------+----------+----------+
|
* +------------+-------+----------+----------+
|
||||||
@@ -176,7 +177,7 @@ struct wlan_dfs_info {
|
|||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Maximim number of queues supported by WLAN driver. Setting an upper
|
* Maximum number of queues supported by WLAN driver. Setting an upper
|
||||||
* limit. Actual number of queues may be smaller than this value.
|
* limit. Actual number of queues may be smaller than this value.
|
||||||
*/
|
*/
|
||||||
#define WLAN_SVC_IFACE_NUM_QUEUES 6
|
#define WLAN_SVC_IFACE_NUM_QUEUES 6
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2012-2017, 2019-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2012-2017, 2019-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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -88,7 +89,7 @@ int nl_srv_bcast(struct sk_buff *skb, int mcgroup_id, int app_id);
|
|||||||
* @flags: Flags
|
* @flags: Flags
|
||||||
* @cmd: Command id
|
* @cmd: Command id
|
||||||
*
|
*
|
||||||
* API to fill genl message header for brodcast events to user space
|
* API to fill genl message header for broadcast events to user space
|
||||||
*
|
*
|
||||||
* Return: Pointer to user specific header/payload
|
* Return: Pointer to user specific header/payload
|
||||||
*/
|
*/
|
||||||
|
@@ -58,7 +58,7 @@ static bool logger_initialized;
|
|||||||
*
|
*
|
||||||
* The cnss_logger_device_register() use to register the driver with the
|
* The cnss_logger_device_register() use to register the driver with the
|
||||||
* wiphy structure and the module name (debug purpose) and then return the
|
* wiphy structure and the module name (debug purpose) and then return the
|
||||||
* radio_index depending on the availibility.
|
* radio_index depending on the availability.
|
||||||
*
|
*
|
||||||
* Return: radio index for success and -EINVAL for failure
|
* Return: radio index for success and -EINVAL for failure
|
||||||
*/
|
*/
|
||||||
@@ -259,7 +259,7 @@ qdf_export_symbol(nl_srv_is_initialized);
|
|||||||
* If MULTI_IF_NAME is not defined, then this is the primary instance of the
|
* If MULTI_IF_NAME is not defined, then this is the primary instance of the
|
||||||
* driver and the diagnostics netlink socket will be available. If
|
* driver and the diagnostics netlink socket will be available. If
|
||||||
* MULTI_IF_NAME is defined then this is not the primary instance of the driver
|
* MULTI_IF_NAME is defined then this is not the primary instance of the driver
|
||||||
* and the diagnotics netlink socket will not be available since this
|
* and the diagnostics netlink socket will not be available since this
|
||||||
* diagnostics netlink socket can only be exposed by one instance of the driver.
|
* diagnostics netlink socket can only be exposed by one instance of the driver.
|
||||||
*/
|
*/
|
||||||
#elif defined(CNSS_GENL)
|
#elif defined(CNSS_GENL)
|
||||||
|
@@ -124,7 +124,7 @@ struct ath_pktlog_info {
|
|||||||
/* Phyerr threshold for triggered stop */
|
/* Phyerr threshold for triggered stop */
|
||||||
uint32_t phyerr_thresh;
|
uint32_t phyerr_thresh;
|
||||||
|
|
||||||
/* time period for counting trigger parameters, in milisecond */
|
/* time period for counting trigger parameters, in millisecond */
|
||||||
uint32_t trigger_interval;
|
uint32_t trigger_interval;
|
||||||
uint32_t start_time_thruput;
|
uint32_t start_time_thruput;
|
||||||
uint32_t start_time_per;
|
uint32_t start_time_per;
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2019 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -49,7 +50,7 @@ typedef int (*qld_iter_func)(void *req, struct qld_entry *entry);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* qld_iterate_list() - qld list iteration routine
|
* qld_iterate_list() - qld list iteration routine
|
||||||
* @gen_table: callback function to genrate table
|
* @gen_table: callback function to generate table
|
||||||
* @req: opaque request
|
* @req: opaque request
|
||||||
*
|
*
|
||||||
* Return: 0 - OK -EINVAL - On failure
|
* Return: 0 - OK -EINVAL - On failure
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2019 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2019 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
|
* Permission to use, copy, modify, and/or distribute this software for
|
||||||
* any purpose with or without fee is hereby granted, provided that the
|
* any purpose with or without fee is hereby granted, provided that the
|
||||||
@@ -18,7 +19,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: qld_priv.h
|
* DOC: qld_priv.h
|
||||||
* QLD: This file provies Private functions for qld
|
* QLD: This file provides Private functions for qld
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _QLD_PRIV_H_
|
#ifndef _QLD_PRIV_H_
|
||||||
|
Reference in New Issue
Block a user