qcacmn: umac: cmn_services: Fix misspellings
Fix misspellings in umac/cmn_services/... Change-Id: I74c006b3e585e3d4f6ec8c025ef313133c9e3068 CRs-Fixed: 3304695
This commit is contained in:

committed by
Madan Koyyalamudi

parent
c52c4258c2
commit
ed240b1daf
@@ -1176,7 +1176,7 @@ struct wlan_rsn_ie_hdr {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* struct wlan_wpa_ie_hdr: wpa ie header
|
* struct wlan_wpa_ie_hdr: wpa ie header
|
||||||
* @elem_id: Wpa element id, vender specific.
|
* @elem_id: Wpa element id, vendor specific.
|
||||||
* @len: wpa ie length
|
* @len: wpa ie length
|
||||||
* @oui: 24-bit OUI followed by 8-bit OUI type
|
* @oui: 24-bit OUI followed by 8-bit OUI type
|
||||||
* @version: wpa ver
|
* @version: wpa ver
|
||||||
@@ -1432,7 +1432,7 @@ struct wlan_vendor_ie_htcap {
|
|||||||
} qdf_packed;
|
} qdf_packed;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* struct wlan_ie_htinfo_cmn: ht info comman
|
* struct wlan_ie_htinfo_cmn: ht info command
|
||||||
* @hi_ctrlchannel: control channel
|
* @hi_ctrlchannel: control channel
|
||||||
* @hi_extchoff: B0-1 extension channel offset
|
* @hi_extchoff: B0-1 extension channel offset
|
||||||
* @hi_txchwidth: B2 recommended xmiss width set
|
* @hi_txchwidth: B2 recommended xmiss width set
|
||||||
@@ -3712,7 +3712,7 @@ wlan_parse_oce_reduced_wan_metrics_ie(uint8_t *mbo_oce_ie,
|
|||||||
* While parsing vendor IE, is_mbo_oce_oui() API does sanity of
|
* While parsing vendor IE, is_mbo_oce_oui() API does sanity of
|
||||||
* length and attribute ID for MBO_OCE_OUI and after passing the
|
* length and attribute ID for MBO_OCE_OUI and after passing the
|
||||||
* sanity only mbo_oce IE is stored in scan cache.
|
* sanity only mbo_oce IE is stored in scan cache.
|
||||||
* It is a callers responsiblity to get the mbo_oce_ie pointer
|
* It is a callers responsibility to get the mbo_oce_ie pointer
|
||||||
* using util_scan_entry_mbo_oce() API, which points to mbo_oce
|
* using util_scan_entry_mbo_oce() API, which points to mbo_oce
|
||||||
* stored in scan cache. Thus caller is responsible for ensuring
|
* stored in scan cache. Thus caller is responsible for ensuring
|
||||||
* the length of the IE is consistent with the embedded length.
|
* the length of the IE is consistent with the embedded length.
|
||||||
|
@@ -452,7 +452,7 @@ QDF_STATUS wlan_crypto_set_peer_wep_keys(struct wlan_objmgr_vdev *vdev,
|
|||||||
* wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops
|
* wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops
|
||||||
* @crypto_rx_ops: crypto_rx_ops
|
* @crypto_rx_ops: crypto_rx_ops
|
||||||
*
|
*
|
||||||
* This function gets called by object manger to register crypto rx ops.
|
* This function gets called by object manager to register crypto rx ops.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
*/
|
*/
|
||||||
@@ -1073,7 +1073,7 @@ wlan_crypto_selective_clear_sae_single_pmk_entries(
|
|||||||
struct wlan_objmgr_vdev *vdev, struct qdf_mac_addr *conn_bssid);
|
struct wlan_objmgr_vdev *vdev, struct qdf_mac_addr *conn_bssid);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE sinlge pmk
|
* wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE single pmk
|
||||||
* feature supported status
|
* feature supported status
|
||||||
* @vdev: Vdev
|
* @vdev: Vdev
|
||||||
* @bssid: BSSID for which the flag is to be set
|
* @bssid: BSSID for which the flag is to be set
|
||||||
@@ -1085,7 +1085,7 @@ void wlan_crypto_set_sae_single_pmk_bss_cap(struct wlan_objmgr_vdev *vdev,
|
|||||||
bool single_pmk_capable_bss);
|
bool single_pmk_capable_bss);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE sinlge pmk info
|
* wlan_crypto_set_sae_single_pmk_bss_cap - Set the peer SAE single pmk info
|
||||||
* @vdev: Vdev
|
* @vdev: Vdev
|
||||||
* @roam_sync_pmksa: pmk info for roamed AP
|
* @roam_sync_pmksa: pmk info for roamed AP
|
||||||
*/
|
*/
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Public definations for crypto service
|
* DOC: Public definitions for crypto service
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _WLAN_CRYPTO_GLOBAL_DEF_H_
|
#ifndef _WLAN_CRYPTO_GLOBAL_DEF_H_
|
||||||
@@ -311,7 +311,7 @@ struct mobility_domain_params {
|
|||||||
* @ssid: ssid information
|
* @ssid: ssid information
|
||||||
* @cache_id: cache id
|
* @cache_id: cache id
|
||||||
* @pmk_lifetime: Duration in seconds for which the pmk is valid
|
* @pmk_lifetime: Duration in seconds for which the pmk is valid
|
||||||
* @pmk_lifetime_threshold: Percentage of pmk liftime within which
|
* @pmk_lifetime_threshold: Percentage of pmk lifetime within which
|
||||||
* full authentication is expected to avoid disconnection.
|
* full authentication is expected to avoid disconnection.
|
||||||
* @pmk_entry_ts: System timestamp at which the PMK entry was created.
|
* @pmk_entry_ts: System timestamp at which the PMK entry was created.
|
||||||
* @single_pmk_supported: SAE single pmk supported BSS
|
* @single_pmk_supported: SAE single pmk supported BSS
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Private definations for handling crypto params
|
* DOC: Private definitions for handling crypto params
|
||||||
*/
|
*/
|
||||||
#ifndef _WLAN_CRYPTO_DEF_I_H_
|
#ifndef _WLAN_CRYPTO_DEF_I_H_
|
||||||
#define _WLAN_CRYPTO_DEF_I_H_
|
#define _WLAN_CRYPTO_DEF_I_H_
|
||||||
@@ -115,7 +115,7 @@ static inline void wlan_crypto_put_be64(u8 *a, u64 val)
|
|||||||
#define WLAN_CRYPTO_TX_OPS_DEREGISTER_EVENTS(tx_ops) \
|
#define WLAN_CRYPTO_TX_OPS_DEREGISTER_EVENTS(tx_ops) \
|
||||||
((tx_ops)->crypto_tx_ops.deregister_events)
|
((tx_ops)->crypto_tx_ops.deregister_events)
|
||||||
|
|
||||||
/* unalligned little endian access */
|
/* unaligned little endian access */
|
||||||
#ifndef LE_READ_2
|
#ifndef LE_READ_2
|
||||||
#define LE_READ_2(p) \
|
#define LE_READ_2(p) \
|
||||||
((uint16_t) \
|
((uint16_t) \
|
||||||
|
@@ -2481,7 +2481,7 @@ bool wlan_crypto_is_mmie_valid(struct wlan_objmgr_vdev *vdev,
|
|||||||
|
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
qdf_mem_free(mic);
|
qdf_mem_free(mic);
|
||||||
crypto_err("genarate mmie failed");
|
crypto_err("generate mmie failed");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -3727,7 +3727,7 @@ exit:
|
|||||||
* wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops
|
* wlan_crypto_register_crypto_rx_ops - set crypto_rx_ops
|
||||||
* @crypto_rx_ops: crypto_rx_ops
|
* @crypto_rx_ops: crypto_rx_ops
|
||||||
*
|
*
|
||||||
* This function gets called by object manger to register crypto rx ops.
|
* This function gets called by object manager to register crypto rx ops.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
*/
|
*/
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
* 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
|
* 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
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Public API intialization of crypto service with object manager
|
* DOC: Public API initialization of crypto service with object manager
|
||||||
*/
|
*/
|
||||||
#include <qdf_types.h>
|
#include <qdf_types.h>
|
||||||
#include "wlan_crypto_main_i.h"
|
#include "wlan_crypto_main_i.h"
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Public API intialization of crypto service with object manager
|
* DOC: Public API initialization of crypto service with object manager
|
||||||
*/
|
*/
|
||||||
#include <qdf_types.h>
|
#include <qdf_types.h>
|
||||||
#include <wlan_cmn.h>
|
#include <wlan_cmn.h>
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
* 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
|
* 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
|
||||||
@@ -17,7 +18,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Public API intialization of crypto service with object manager
|
* DOC: Public API initialization of crypto service with object manager
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __WLAN_CRYPTO_OBJ_MGR_I_
|
#ifndef __WLAN_CRYPTO_OBJ_MGR_I_
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2020-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
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
/**
|
/**
|
||||||
* if_mgr_deliver_event() - interface mgr event handler
|
* if_mgr_deliver_event() - interface mgr event handler
|
||||||
* @vdev: vdev object
|
* @vdev: vdev object
|
||||||
* @event: interface mangaer event
|
* @event: interface manager event
|
||||||
* @event_data: Interface mgr event data
|
* @event_data: Interface mgr event data
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
@@ -49,7 +50,7 @@ const char *if_mgr_get_event_str(enum wlan_if_mgr_evt event);
|
|||||||
/**
|
/**
|
||||||
* if_mgr_deliver_mbss_event() - interface mgr MBSS event handler
|
* if_mgr_deliver_mbss_event() - interface mgr MBSS event handler
|
||||||
* @vdev: vdev object
|
* @vdev: vdev object
|
||||||
* @event: interface mangaer event
|
* @event: interface manager event
|
||||||
* @event_data: Interface mgr event data
|
* @event_data: Interface mgr event data
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
|
* Copyright (c) 2020-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
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DOC: contains interface manager structure definations
|
* DOC: contains interface manager structure definitions
|
||||||
*/
|
*/
|
||||||
#ifndef __IF_MGR_PUBLIC_STRUCTS_H
|
#ifndef __IF_MGR_PUBLIC_STRUCTS_H
|
||||||
#define __IF_MGR_PUBLIC_STRUCTS_H
|
#define __IF_MGR_PUBLIC_STRUCTS_H
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2020, The Linux Foundation. All rights reserved.
|
* Copyright (c) 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
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
/**
|
/**
|
||||||
* ucfg_if_mgr_deliver_event() - interface mgr event handler
|
* ucfg_if_mgr_deliver_event() - interface mgr event handler
|
||||||
* @vdev: vdev object
|
* @vdev: vdev object
|
||||||
* @event: interface mangaer event
|
* @event: interface manager event
|
||||||
* @event_data: Interface mgr event data
|
* @event_data: Interface mgr event data
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS
|
* Return: QDF_STATUS
|
||||||
|
@@ -231,10 +231,10 @@ enum block_ack_actioncode {
|
|||||||
* @PUB_ACTION_GAS_INITIAL_REQUEST: GAS initial request action frame
|
* @PUB_ACTION_GAS_INITIAL_REQUEST: GAS initial request action frame
|
||||||
* @PUB_ACTION_GAS_INITIAL_RESPONSE: GAS initial response action frame
|
* @PUB_ACTION_GAS_INITIAL_RESPONSE: GAS initial response action frame
|
||||||
* @PUB_ACTION_GAS_COMEBACK_REQUEST: GAS comeback request action frame
|
* @PUB_ACTION_GAS_COMEBACK_REQUEST: GAS comeback request action frame
|
||||||
* @PUB_ACTION_GAS_COMEBACK_RESPONSE: GAS comeback respose action frame
|
* @PUB_ACTION_GAS_COMEBACK_RESPONSE: GAS comeback response action frame
|
||||||
* @PUB_ACTION_TDLS_DISCRESP: tdls discovery response public action frame
|
* @PUB_ACTION_TDLS_DISCRESP: tdls discovery response public action frame
|
||||||
* @PUB_ACTION_FTM_REQUEST: FTM request action frame
|
* @PUB_ACTION_FTM_REQUEST: FTM request action frame
|
||||||
* @PUB_ACTION_FTM_RESPONSE: FTM respose action frame
|
* @PUB_ACTION_FTM_RESPONSE: FTM response action frame
|
||||||
*/
|
*/
|
||||||
enum pub_actioncode {
|
enum pub_actioncode {
|
||||||
PUB_ACTION_2040_BSS_COEXISTENCE = 0,
|
PUB_ACTION_2040_BSS_COEXISTENCE = 0,
|
||||||
@@ -1095,7 +1095,7 @@ QDF_STATUS wlan_mgmt_txrx_beacon_frame_tx(struct wlan_objmgr_peer *peer,
|
|||||||
* @buf: buffer to be transmitted
|
* @buf: buffer to be transmitted
|
||||||
* @comp_id: umac component id
|
* @comp_id: umac component id
|
||||||
*
|
*
|
||||||
* This function transmits the FILS Dicovery Action frame to
|
* This function transmits the FILS Discovery Action frame to
|
||||||
* southbound interface.
|
* southbound interface.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS - in case of success
|
* Return: QDF_STATUS_SUCCESS - in case of success
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016-2019, 2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2016-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
|
* 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
|
||||||
@@ -25,7 +25,7 @@
|
|||||||
/**
|
/**
|
||||||
* wlan_objmgr_global_obj_init() - global object initialization
|
* wlan_objmgr_global_obj_init() - global object initialization
|
||||||
*
|
*
|
||||||
* Creates global object, intializes with default values
|
* Creates global object, initializes with default values
|
||||||
*
|
*
|
||||||
* Return: SUCCESS on successful creation,
|
* Return: SUCCESS on successful creation,
|
||||||
* FAILURE on Mem alloc failure or allocated already
|
* FAILURE on Mem alloc failure or allocated already
|
||||||
@@ -526,7 +526,7 @@ typedef void (*wlan_objmgr_psoc_handler)(struct wlan_objmgr_psoc *psoc,
|
|||||||
*
|
*
|
||||||
* @handler: the handler will be called for each psoc
|
* @handler: the handler will be called for each psoc
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
* @dbg_id: id of the caller
|
* @dbg_id: id of the caller
|
||||||
*
|
*
|
||||||
* API to be used for performing the operations on all psoc
|
* API to be used for performing the operations on all psoc
|
||||||
|
@@ -275,7 +275,7 @@ struct wlan_objmgr_pdev {
|
|||||||
* @psoc: PSOC object
|
* @psoc: PSOC object
|
||||||
* @scn: os private object
|
* @scn: os private object
|
||||||
*
|
*
|
||||||
* Creates PDEV object, intializes with default values
|
* Creates PDEV object, initializes with default values
|
||||||
* Invokes the registered notifiers to create component object
|
* Invokes the registered notifiers to create component object
|
||||||
*
|
*
|
||||||
* Return: Handle to struct wlan_objmgr_psoc on successful creation,
|
* Return: Handle to struct wlan_objmgr_psoc on successful creation,
|
||||||
@@ -349,7 +349,7 @@ typedef void (*wlan_objmgr_pdev_op_handler)(struct wlan_objmgr_pdev *pdev,
|
|||||||
* @obj_type: VDEV_OP/PEER_OP
|
* @obj_type: VDEV_OP/PEER_OP
|
||||||
* @handler: the handler will be called for each object of requested type
|
* @handler: the handler will be called for each object of requested type
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
* @lock_free_op: its obsolete
|
* @lock_free_op: its obsolete
|
||||||
* @dbg_id: id of the caller
|
* @dbg_id: id of the caller
|
||||||
*
|
*
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2016-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2016-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
|
||||||
@@ -215,7 +215,7 @@ struct wlan_objmgr_peer {
|
|||||||
* @peer_type: peer type (AP/STA)
|
* @peer_type: peer type (AP/STA)
|
||||||
* @macaddr: MAC address
|
* @macaddr: MAC address
|
||||||
*
|
*
|
||||||
* Creates Peer object, intializes with default values
|
* Creates Peer object, initializes with default values
|
||||||
* Attaches to psoc and vdev objects
|
* Attaches to psoc and vdev objects
|
||||||
* Invokes the registered notifiers to create component object
|
* Invokes the registered notifiers to create component object
|
||||||
*
|
*
|
||||||
|
@@ -187,7 +187,7 @@
|
|||||||
#define WLAN_SOC_F_UAPSD 0x00000400
|
#define WLAN_SOC_F_UAPSD 0x00000400
|
||||||
/* STATUS: sleeping */
|
/* STATUS: sleeping */
|
||||||
#define WLAN_SOC_F_SLEEP 0x00000800
|
#define WLAN_SOC_F_SLEEP 0x00000800
|
||||||
/* Enable marking of dfs interfernce */
|
/* Enable marking of dfs interference */
|
||||||
#define WLAN_SOC_F_MARKDFS 0x00001000
|
#define WLAN_SOC_F_MARKDFS 0x00001000
|
||||||
/* enable or disable s/w ccmp encrypt decrypt support */
|
/* enable or disable s/w ccmp encrypt decrypt support */
|
||||||
#define WLAN_SOC_F_CCMPSW_ENCDEC 0x00002000
|
#define WLAN_SOC_F_CCMPSW_ENCDEC 0x00002000
|
||||||
@@ -195,7 +195,7 @@
|
|||||||
#define WLAN_SOC_F_HIBERNATION 0x00004000
|
#define WLAN_SOC_F_HIBERNATION 0x00004000
|
||||||
/* CONF: desired country has been set */
|
/* CONF: desired country has been set */
|
||||||
#define WLAN_SOC_F_DESCOUNTRY 0x00008000
|
#define WLAN_SOC_F_DESCOUNTRY 0x00008000
|
||||||
/* CONF: enable power capability or contraint IE */
|
/* CONF: enable power capability or constraint IE */
|
||||||
#define WLAN_SOC_F_PWRCNSTRIE 0x00010000
|
#define WLAN_SOC_F_PWRCNSTRIE 0x00010000
|
||||||
/* STATUS: 11D in used */
|
/* STATUS: 11D in used */
|
||||||
#define WLAN_SOC_F_DOT11D 0x00020000
|
#define WLAN_SOC_F_DOT11D 0x00020000
|
||||||
@@ -211,7 +211,7 @@
|
|||||||
#define WLAN_SOC_F_SPECTRAL_INI_DISABLE 0x00800000
|
#define WLAN_SOC_F_SPECTRAL_INI_DISABLE 0x00800000
|
||||||
/* FTM testmode enable */
|
/* FTM testmode enable */
|
||||||
#define WLAN_SOC_F_TESTMODE_ENABLE 0x01000000
|
#define WLAN_SOC_F_TESTMODE_ENABLE 0x01000000
|
||||||
/* Dynamic HW mode swithch enable */
|
/* Dynamic HW mode switchh enable */
|
||||||
#define WLAN_SOC_F_DYNAMIC_HW_MODE 0x02000000
|
#define WLAN_SOC_F_DYNAMIC_HW_MODE 0x02000000
|
||||||
/* Broadcast TWT support enable */
|
/* Broadcast TWT support enable */
|
||||||
#define WLAN_SOC_F_BCAST_TWT 0x04000000
|
#define WLAN_SOC_F_BCAST_TWT 0x04000000
|
||||||
@@ -392,7 +392,7 @@ struct wlan_soc_timer {
|
|||||||
/**
|
/**
|
||||||
* struct wlan_objmgr_psoc - PSOC common object
|
* struct wlan_objmgr_psoc - PSOC common object
|
||||||
* @soc_reg: regulatory sub structure
|
* @soc_reg: regulatory sub structure
|
||||||
* @soc_nif: nif sub strucutre
|
* @soc_nif: nif sub structure
|
||||||
* @soc_objmgr: object manager sub structure
|
* @soc_objmgr: object manager sub structure
|
||||||
* @soc_cb: south bound callbacks
|
* @soc_cb: south bound callbacks
|
||||||
* @soc_timer: soc timer for inactivity
|
* @soc_timer: soc timer for inactivity
|
||||||
@@ -465,7 +465,7 @@ struct wlan_psoc_host_hal_reg_capabilities_ext2 {
|
|||||||
* @phy_version: device id (from probe)
|
* @phy_version: device id (from probe)
|
||||||
* @dev_type: Offload/DA
|
* @dev_type: Offload/DA
|
||||||
*
|
*
|
||||||
* Creates PSOC object, intializes with default values
|
* Creates PSOC object, initializes with default values
|
||||||
* Invokes the registered notifiers to create component object
|
* Invokes the registered notifiers to create component object
|
||||||
*
|
*
|
||||||
* Return: Handle to struct wlan_objmgr_psoc on successful creation,
|
* Return: Handle to struct wlan_objmgr_psoc on successful creation,
|
||||||
@@ -540,7 +540,7 @@ typedef void (*wlan_objmgr_op_handler)(struct wlan_objmgr_psoc *psoc,
|
|||||||
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
||||||
* @handler: the handler will be called for each object of requested type
|
* @handler: the handler will be called for each object of requested type
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
* @lock_free_op: its obsolete
|
* @lock_free_op: its obsolete
|
||||||
* @dbg_id: id of the caller
|
* @dbg_id: id of the caller
|
||||||
*
|
*
|
||||||
@@ -562,7 +562,7 @@ QDF_STATUS wlan_objmgr_iterate_obj_list(
|
|||||||
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
||||||
* @handler: the handler will be called for each object of requested type
|
* @handler: the handler will be called for each object of requested type
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
* @lock_free_op: its obsolete
|
* @lock_free_op: its obsolete
|
||||||
* @dbg_id: id of the caller
|
* @dbg_id: id of the caller
|
||||||
*
|
*
|
||||||
|
@@ -115,7 +115,7 @@
|
|||||||
#define WLAN_VDEV_FEXT_WAPI 0x00000010
|
#define WLAN_VDEV_FEXT_WAPI 0x00000010
|
||||||
/* 802.11h enabled */
|
/* 802.11h enabled */
|
||||||
#define WLAN_VDEV_FEXT_DOTH 0x00000020
|
#define WLAN_VDEV_FEXT_DOTH 0x00000020
|
||||||
/* if the vap has wds independance set */
|
/* if the vap has wds independence set */
|
||||||
#define WLAN_VDEV_FEXT_VAPIND 0x00000040
|
#define WLAN_VDEV_FEXT_VAPIND 0x00000040
|
||||||
/* QBSS load IE enabled */
|
/* QBSS load IE enabled */
|
||||||
#define WLAN_VDEV_FEXT_BSSLOAD 0x00000080
|
#define WLAN_VDEV_FEXT_BSSLOAD 0x00000080
|
||||||
@@ -199,7 +199,7 @@
|
|||||||
/*For wakeup AP VAP when wds-sta connect to the AP only use when
|
/*For wakeup AP VAP when wds-sta connect to the AP only use when
|
||||||
export (UMAC_REPEATER_DELAYED_BRINGUP || DBDC_REPEATER_SUPPORT)=1*/
|
export (UMAC_REPEATER_DELAYED_BRINGUP || DBDC_REPEATER_SUPPORT)=1*/
|
||||||
#define WLAN_VDEV_OP_KEYFLAG 0x00002000
|
#define WLAN_VDEV_OP_KEYFLAG 0x00002000
|
||||||
/* if performe the iwlist scanning */
|
/* if performed the iwlist scanning */
|
||||||
#define WLAN_VDEV_OP_LIST_SCANNING 0x00004000
|
#define WLAN_VDEV_OP_LIST_SCANNING 0x00004000
|
||||||
/*Set when VAP down*/
|
/*Set when VAP down*/
|
||||||
#define WLAN_VDEV_OP_IS_DOWN 0x00008000
|
#define WLAN_VDEV_OP_IS_DOWN 0x00008000
|
||||||
@@ -282,7 +282,7 @@ struct wlan_vdev_create_params {
|
|||||||
* struct wlan_channel - channel structure
|
* struct wlan_channel - channel structure
|
||||||
* @ch_freq: Channel in Mhz.
|
* @ch_freq: Channel in Mhz.
|
||||||
* @ch_ieee: IEEE channel number.
|
* @ch_ieee: IEEE channel number.
|
||||||
* @ch_freq_seg1: Channel Center frequeny for VHT80/160 and HE80/160.
|
* @ch_freq_seg1: Channel Center frequency for VHT80/160 and HE80/160.
|
||||||
* @ch_freq_seg2: Second channel Center frequency applicable for 80+80MHz mode.
|
* @ch_freq_seg2: Second channel Center frequency applicable for 80+80MHz mode.
|
||||||
* @ch_maxpower: Maximum tx power in dBm.
|
* @ch_maxpower: Maximum tx power in dBm.
|
||||||
* @ch_flagext: Channel extension flags.
|
* @ch_flagext: Channel extension flags.
|
||||||
@@ -434,7 +434,7 @@ struct wlan_objmgr_vdev {
|
|||||||
* @pdev: PDEV object on which this vdev gets created
|
* @pdev: PDEV object on which this vdev gets created
|
||||||
* @params: VDEV create params from HDD
|
* @params: VDEV create params from HDD
|
||||||
*
|
*
|
||||||
* Creates vdev object, intializes with default values
|
* Creates vdev object, initializes with default values
|
||||||
* Attaches to psoc and pdev objects
|
* Attaches to psoc and pdev objects
|
||||||
* Invokes the registered notifiers to create component object
|
* Invokes the registered notifiers to create component object
|
||||||
*
|
*
|
||||||
@@ -508,7 +508,7 @@ typedef void (*wlan_objmgr_vdev_op_handler)(struct wlan_objmgr_vdev *vdev,
|
|||||||
* @vdev: vdev object
|
* @vdev: vdev object
|
||||||
* @handler: the handler will be called for each object of requested type
|
* @handler: the handler will be called for each object of requested type
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
* @dbg_id: id of the caller
|
* @dbg_id: id of the caller
|
||||||
*
|
*
|
||||||
* API to be used for performing the operations on all PEER objects
|
* API to be used for performing the operations on all PEER objects
|
||||||
|
@@ -575,7 +575,7 @@ void wlan_objmgr_debug_info_init(void)
|
|||||||
wlan_objmgr_iterate_log_del_obj_handler,
|
wlan_objmgr_iterate_log_del_obj_handler,
|
||||||
NULL, QDF_TIMER_TYPE_WAKE_APPS);
|
NULL, QDF_TIMER_TYPE_WAKE_APPS);
|
||||||
|
|
||||||
/* Initialze the node_count to 0 and create list*/
|
/* Initialize the node_count to 0 and create list*/
|
||||||
qdf_list_create(&debug_info->obj_list,
|
qdf_list_create(&debug_info->obj_list,
|
||||||
LOG_DEL_OBJ_LIST_MAX_COUNT);
|
LOG_DEL_OBJ_LIST_MAX_COUNT);
|
||||||
|
|
||||||
|
@@ -310,7 +310,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_attach(
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
/**
|
/**
|
||||||
* If PDEV object status is partially created means, this API is
|
* If PDEV object status is partially created means, this API is
|
||||||
* invoked with differnt context, this block should be executed for
|
* invoked with different context, this block should be executed for
|
||||||
* async components only
|
* async components only
|
||||||
*/
|
*/
|
||||||
/* Derive status */
|
/* Derive status */
|
||||||
@@ -325,7 +325,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_attach(
|
|||||||
/* Notify components about the CREATION success/failure */
|
/* Notify components about the CREATION success/failure */
|
||||||
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
||||||
(obj_status == QDF_STATUS_E_FAILURE)) {
|
(obj_status == QDF_STATUS_E_FAILURE)) {
|
||||||
/* nofity object status */
|
/* notify object status */
|
||||||
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
||||||
s_hlr = g_umac_glb_obj->pdev_status_handler[i];
|
s_hlr = g_umac_glb_obj->pdev_status_handler[i];
|
||||||
a = g_umac_glb_obj->pdev_status_handler_arg[i];
|
a = g_umac_glb_obj->pdev_status_handler_arg[i];
|
||||||
@@ -361,7 +361,7 @@ QDF_STATUS wlan_objmgr_pdev_component_obj_detach(
|
|||||||
wlan_pdev_obj_unlock(pdev);
|
wlan_pdev_obj_unlock(pdev);
|
||||||
|
|
||||||
/* If PDEV object status is partially destroyed means, this API is
|
/* If PDEV object status is partially destroyed means, this API is
|
||||||
invoked with differnt context, this block should be executed for async
|
invoked with different context, this block should be executed for async
|
||||||
components only */
|
components only */
|
||||||
if ((pdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
if ((pdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
||||||
(pdev->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) {
|
(pdev->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) {
|
||||||
|
@@ -592,7 +592,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_attach(
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
|
|
||||||
/* If PEER object status is partially created means, this API is
|
/* If PEER object status is partially created means, this API is
|
||||||
invoked with differnt context. this block should be executed for async
|
invoked with different context. this block should be executed for async
|
||||||
components only */
|
components only */
|
||||||
/* Derive status */
|
/* Derive status */
|
||||||
obj_status = wlan_objmgr_peer_object_status(peer);
|
obj_status = wlan_objmgr_peer_object_status(peer);
|
||||||
@@ -606,7 +606,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_attach(
|
|||||||
/* Notify components about the CREATION success/failure */
|
/* Notify components about the CREATION success/failure */
|
||||||
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
||||||
(obj_status == QDF_STATUS_E_FAILURE)) {
|
(obj_status == QDF_STATUS_E_FAILURE)) {
|
||||||
/* nofity object status */
|
/* notify object status */
|
||||||
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
||||||
s_hler = g_umac_glb_obj->peer_status_handler[i];
|
s_hler = g_umac_glb_obj->peer_status_handler[i];
|
||||||
arg = g_umac_glb_obj->peer_status_handler_arg[i];
|
arg = g_umac_glb_obj->peer_status_handler_arg[i];
|
||||||
@@ -643,7 +643,7 @@ QDF_STATUS wlan_objmgr_peer_component_obj_detach(
|
|||||||
wlan_peer_obj_unlock(peer);
|
wlan_peer_obj_unlock(peer);
|
||||||
|
|
||||||
/* If PEER object status is partially destroyed means, this API is
|
/* If PEER object status is partially destroyed means, this API is
|
||||||
invoked with differnt context, this block should be executed for async
|
invoked with different context, this block should be executed for async
|
||||||
components only */
|
components only */
|
||||||
if ((peer->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
if ((peer->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
||||||
(peer->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) {
|
(peer->obj_state == WLAN_OBJ_STATE_COMP_DEL_PROGRESS)) {
|
||||||
|
@@ -310,7 +310,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_attach(
|
|||||||
if (psoc->obj_state != WLAN_OBJ_STATE_PARTIALLY_CREATED)
|
if (psoc->obj_state != WLAN_OBJ_STATE_PARTIALLY_CREATED)
|
||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
/* If PSOC object status is partially created means, this API is
|
/* If PSOC object status is partially created means, this API is
|
||||||
* invoked with differnt context, this block should be executed for
|
* invoked with different context, this block should be executed for
|
||||||
* async components only
|
* async components only
|
||||||
*/
|
*/
|
||||||
/* Derive status */
|
/* Derive status */
|
||||||
@@ -327,7 +327,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_attach(
|
|||||||
/* Notify components about the CREATION success/failure */
|
/* Notify components about the CREATION success/failure */
|
||||||
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
if ((obj_status == QDF_STATUS_SUCCESS) ||
|
||||||
(obj_status == QDF_STATUS_E_FAILURE)) {
|
(obj_status == QDF_STATUS_E_FAILURE)) {
|
||||||
/* nofity object status */
|
/* notify object status */
|
||||||
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
for (i = 0; i < WLAN_UMAC_MAX_COMPONENTS; i++) {
|
||||||
stat_handler = g_umac_glb_obj->psoc_status_handler[i];
|
stat_handler = g_umac_glb_obj->psoc_status_handler[i];
|
||||||
arg = g_umac_glb_obj->psoc_status_handler_arg[i];
|
arg = g_umac_glb_obj->psoc_status_handler_arg[i];
|
||||||
@@ -364,7 +364,7 @@ QDF_STATUS wlan_objmgr_psoc_component_obj_detach(
|
|||||||
wlan_psoc_obj_unlock(psoc);
|
wlan_psoc_obj_unlock(psoc);
|
||||||
|
|
||||||
/* If PSOC object status is partially created means, this API is
|
/* If PSOC object status is partially created means, this API is
|
||||||
* invoked with differnt context, this block should be executed for
|
* invoked with different context, this block should be executed for
|
||||||
* async components only
|
* async components only
|
||||||
*/
|
*/
|
||||||
if ((psoc->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
if ((psoc->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
||||||
@@ -495,7 +495,7 @@ QDF_STATUS wlan_objmgr_iterate_obj_list_all(
|
|||||||
struct wlan_objmgr_peer *peer_next;
|
struct wlan_objmgr_peer *peer_next;
|
||||||
uint16_t max_vdev_cnt;
|
uint16_t max_vdev_cnt;
|
||||||
|
|
||||||
/* If caller requests for lock free opeation, do not acquire,
|
/* If caller requests for lock free operation, do not acquire,
|
||||||
* handler will handle the synchronization
|
* handler will handle the synchronization
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -557,7 +557,7 @@ qdf_export_symbol(wlan_objmgr_iterate_obj_list_all);
|
|||||||
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
* @obj_type: PDEV_OP/VDEV_OP/PEER_OP
|
||||||
* @handler: the handler will be called for each object of requested type
|
* @handler: the handler will be called for each object of requested type
|
||||||
* the handler should be implemented to perform required operation
|
* the handler should be implemented to perform required operation
|
||||||
* @arg: agruments passed by caller
|
* @arg: arguments passed by caller
|
||||||
*
|
*
|
||||||
* API to be used for performing the operations on all PDEV/VDEV/PEER objects
|
* API to be used for performing the operations on all PDEV/VDEV/PEER objects
|
||||||
* of psoc with lock protected
|
* of psoc with lock protected
|
||||||
@@ -581,7 +581,7 @@ static QDF_STATUS wlan_objmgr_iterate_obj_list_all_noref(
|
|||||||
struct wlan_objmgr_peer *peer_next;
|
struct wlan_objmgr_peer *peer_next;
|
||||||
uint16_t max_vdev_cnt;
|
uint16_t max_vdev_cnt;
|
||||||
|
|
||||||
/* If caller requests for lock free opeation, do not acquire,
|
/* If caller requests for lock free operation, do not acquire,
|
||||||
* handler will handle the synchronization
|
* handler will handle the synchronization
|
||||||
*/
|
*/
|
||||||
wlan_psoc_obj_lock(psoc);
|
wlan_psoc_obj_lock(psoc);
|
||||||
|
@@ -415,7 +415,7 @@ QDF_STATUS wlan_objmgr_vdev_component_obj_attach(
|
|||||||
return QDF_STATUS_SUCCESS;
|
return QDF_STATUS_SUCCESS;
|
||||||
/*
|
/*
|
||||||
* If VDEV object status is partially created means, this API is
|
* If VDEV object status is partially created means, this API is
|
||||||
* invoked with differnt context, this block should be executed for
|
* invoked with different context, this block should be executed for
|
||||||
* async components only
|
* async components only
|
||||||
*/
|
*/
|
||||||
/* Derive status */
|
/* Derive status */
|
||||||
@@ -468,7 +468,7 @@ QDF_STATUS wlan_objmgr_vdev_component_obj_detach(
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*If VDEV object status is partially destroyed means, this API is
|
*If VDEV object status is partially destroyed means, this API is
|
||||||
* invoked with differnt context, this block should be executed for
|
* invoked with different context, this block should be executed for
|
||||||
* async components only
|
* async components only
|
||||||
*/
|
*/
|
||||||
if ((vdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
if ((vdev->obj_state == WLAN_OBJ_STATE_PARTIALLY_DELETED) ||
|
||||||
|
@@ -215,7 +215,7 @@ QDF_STATUS wlan_ser_print_history(
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
ser_err("Invalid pramater for queue type(scan/non_scan");
|
ser_err("Invalid parameter for queue type(scan/non_scan");
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2017-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
|
||||||
@@ -50,7 +51,7 @@ QDF_STATUS wlan_serialization_psoc_disable(struct wlan_objmgr_psoc *psoc)
|
|||||||
/* clean up all timers before exiting */
|
/* clean up all timers before exiting */
|
||||||
status = wlan_serialization_cleanup_all_timers(ser_soc_obj);
|
status = wlan_serialization_cleanup_all_timers(ser_soc_obj);
|
||||||
if (status != QDF_STATUS_SUCCESS)
|
if (status != QDF_STATUS_SUCCESS)
|
||||||
ser_err("ser cleanning up all timer failed");
|
ser_err("ser cleaning up all timer failed");
|
||||||
|
|
||||||
/* Use lock to free to avoid any race where timer is still in use */
|
/* Use lock to free to avoid any race where timer is still in use */
|
||||||
wlan_serialization_acquire_lock(&ser_soc_obj->timer_lock);
|
wlan_serialization_acquire_lock(&ser_soc_obj->timer_lock);
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2018 The Linux Foundation. All rights reserved.
|
* 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
|
* 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
|
||||||
@@ -36,7 +37,7 @@
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_serialization_active_scan_cmd_count_handler() - count active scan cmds
|
* wlan_serialization_active_scan_cmd_count_handler() - count active scan cmds
|
||||||
* @psoc: pointer to soc strucutre
|
* @psoc: pointer to soc structure
|
||||||
* @obj : pointer to pdev object
|
* @obj : pointer to pdev object
|
||||||
* @arg: pointer to argument
|
* @arg: pointer to argument
|
||||||
*
|
*
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2017-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
|
||||||
@@ -561,7 +562,7 @@ bool wlan_serialization_match_cmd_blocking(
|
|||||||
enum wlan_serialization_node node_type);
|
enum wlan_serialization_node node_type);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* wlan_serialization_find_cmd() - Find the cmd matching the given criterias
|
* wlan_serialization_find_cmd() - Find the cmd matching the given criteria
|
||||||
* @cmd: Serialization command information
|
* @cmd: Serialization command information
|
||||||
* @cmd_type: Command type to be matched
|
* @cmd_type: Command type to be matched
|
||||||
* @pdev: pdev object that needs to be matched
|
* @pdev: pdev object that needs to be matched
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2018 The Linux Foundation. All rights reserved.
|
* Copyright (c) 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
|
||||||
@@ -99,9 +100,9 @@
|
|||||||
* @initial_substate: Initial sub state of this state
|
* @initial_substate: Initial sub state of this state
|
||||||
* @has_substates: flag to specify, whether it has sub states
|
* @has_substates: flag to specify, whether it has sub states
|
||||||
* @name: Name of the state
|
* @name: Name of the state
|
||||||
* @wlan_sm_entry: State entry callback poitner
|
* @wlan_sm_entry: State entry callback pointer
|
||||||
* @wlan_sm_exit: State exit callback poitner
|
* @wlan_sm_exit: State exit callback pointer
|
||||||
* @wlan_sm_event: State event callback poitner
|
* @wlan_sm_event: State event callback pointer
|
||||||
*/
|
*/
|
||||||
struct wlan_sm_state_info {
|
struct wlan_sm_state_info {
|
||||||
uint8_t state;
|
uint8_t state;
|
||||||
@@ -164,7 +165,7 @@ struct wlan_sm {
|
|||||||
* @event_names: Event name table
|
* @event_names: Event name table
|
||||||
* @num_event_names: Number of events
|
* @num_event_names: Number of events
|
||||||
*
|
*
|
||||||
* Creates SM object, intializes with init_state, stores the name and owner
|
* Creates SM object, initializes with init_state, stores the name and owner
|
||||||
* module pointer, states definition table, and event name table
|
* module pointer, states definition table, and event name table
|
||||||
*
|
*
|
||||||
* Return: Handle to struct wlan_sm on successful creation,
|
* Return: Handle to struct wlan_sm on successful creation,
|
||||||
|
@@ -854,8 +854,8 @@ bool wlan_get_connected_vdev_by_mld_addr(struct wlan_objmgr_psoc *psoc,
|
|||||||
* @rssi: rssi
|
* @rssi: rssi
|
||||||
*
|
*
|
||||||
* This function gets the rssi based on db2dbm support. If this feature is
|
* This function gets the rssi based on db2dbm support. If this feature is
|
||||||
* present in hw then it means firmware directly sends rssi and no converstion
|
* present in hw then it means firmware directly sends rssi and no conversion
|
||||||
* is required. If this capablity is not present then host needs to convert
|
* is required. If this capability is not present then host needs to convert
|
||||||
* snr to rssi
|
* snr to rssi
|
||||||
*
|
*
|
||||||
* Return: None
|
* Return: None
|
||||||
|
@@ -549,7 +549,7 @@ wlan_create_elemsubelem_fragseq(bool inline_frag,
|
|||||||
/* used for inline copy, the extra bytes needed in the payload buffer
|
/* used for inline copy, the extra bytes needed in the payload buffer
|
||||||
* due to difference in destination and source.
|
* due to difference in destination and source.
|
||||||
* Note that the caller should ensure there is enough bytes beyond
|
* Note that the caller should ensure there is enough bytes beyond
|
||||||
* valid data untill payloadbuff_maxsize*/
|
* valid data until payloadbuff_maxsize*/
|
||||||
qdf_size_t payloadbuff_shiftsize;
|
qdf_size_t payloadbuff_shiftsize;
|
||||||
|
|
||||||
/* Miscellaneous variables */
|
/* Miscellaneous variables */
|
||||||
|
Reference in New Issue
Block a user