qcacmn: os_if: Fix misspellings
Fix misspellings in os_if/... Change-Id: I15604af98007e6ed4a7bc91abc9c07dfed1276fc CRs-Fixed: 3304690
Esse commit está contido em:

commit de
Madan Koyyalamudi

pai
9f3dd70ae9
commit
8aa059674f
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -66,7 +67,7 @@ struct osif_cipher_crypto_mapping {
|
||||
};
|
||||
|
||||
/**
|
||||
* mapping table for auth type received from NL and cryto auth type
|
||||
* mapping table for auth type received from NL and crypto auth type
|
||||
*/
|
||||
static const wlan_crypto_auth_mode
|
||||
osif_auth_type_crypto_mapping[] = {
|
||||
@@ -83,7 +84,7 @@ static const wlan_crypto_auth_mode
|
||||
[NL80211_AUTHTYPE_SAE] = WLAN_CRYPTO_AUTH_SAE,
|
||||
};
|
||||
|
||||
/* mapping table for akm type received from NL and cryto akm type */
|
||||
/* mapping table for akm type received from NL and crypto akm type */
|
||||
static const struct osif_akm_type_crypto_mapping
|
||||
osif_akm_type_crypto_mapping[] = {
|
||||
{
|
||||
@@ -198,7 +199,7 @@ static const struct osif_akm_type_crypto_mapping
|
||||
},
|
||||
};
|
||||
|
||||
/* mapping table for cipher type received from NL and cryto cipher type */
|
||||
/* mapping table for cipher type received from NL and crypto cipher type */
|
||||
static const struct osif_cipher_crypto_mapping
|
||||
osif_cipher_crypto_mapping[] = {
|
||||
{
|
||||
|
@@ -198,7 +198,7 @@ typedef QDF_STATUS (*osif_cm_set_hlp_data_cb)(struct net_device *dev,
|
||||
#endif
|
||||
|
||||
/**
|
||||
* typedef osif_cm_disconnect_comp_cb: Disonnect complete callback
|
||||
* typedef osif_cm_disconnect_comp_cb: Disconnect complete callback
|
||||
* @vdev: vdev pointer
|
||||
* @rsp: disconnect response
|
||||
* @type: indicates update type
|
||||
|
@@ -94,7 +94,7 @@ osif_validate_connect_and_reset_src_id(struct vdev_osif_priv *osif_priv,
|
||||
QDF_STATUS status = QDF_STATUS_SUCCESS;
|
||||
|
||||
/*
|
||||
* Do not send to kernel if last osif cookie doesnt match or
|
||||
* Do not send to kernel if last osif cookie doesn't match or
|
||||
* or source is CM_OSIF_CFG_CONNECT with success status.
|
||||
* If cookie matches reset the cookie and source.
|
||||
*/
|
||||
@@ -363,7 +363,7 @@ osif_populate_fils_params(struct cfg80211_connect_resp_params *rsp_params,
|
||||
if (!connect_ies->fils_ie)
|
||||
return;
|
||||
|
||||
/* Increament seq number to be used for next FILS */
|
||||
/* Increment seq number to be used for next FILS */
|
||||
rsp_params->fils.erp_next_seq_num =
|
||||
connect_ies->fils_ie->fils_seq_num + 1;
|
||||
rsp_params->fils.update_erp_next_seq_num = true;
|
||||
|
@@ -19,7 +19,7 @@
|
||||
* DOC: osif_cm_disconnect_rsp.c
|
||||
*
|
||||
* This file maintains definitaions of disconnect response
|
||||
* fucntions.
|
||||
* functions.
|
||||
*/
|
||||
|
||||
#include <wlan_cfg80211.h>
|
||||
|
@@ -29,7 +29,7 @@
|
||||
#include "wlan_cm_public_struct.h"
|
||||
|
||||
/**
|
||||
* osif_disconnect_handler() - Indicate disconnnect to userspace
|
||||
* osif_disconnect_handler() - Indicate disconnect to userspace
|
||||
* @vdev: vdev pointer
|
||||
* @rsp: Disconnect response from connection manager
|
||||
*
|
||||
|
@@ -2121,7 +2121,7 @@ enum qca_vendor_attr_interop_issues_ap {
|
||||
* @QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_INVALID: Invalid initial value
|
||||
* @QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_CONFIG_MPDU_SIZE_THRESHOLD: Size threshold
|
||||
* @QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_CONFIG_AGGRESSIVE_STATS_GATHERING:
|
||||
* Aggresive stats gathering
|
||||
* Aggressive stats gathering
|
||||
* @QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_AFTER_LAST: After last
|
||||
* @QCA_WLAN_VENDOR_ATTR_LL_STATS_SET_MAX: Max value
|
||||
*/
|
||||
@@ -2770,7 +2770,7 @@ enum qca_roaming_policy {
|
||||
* deauthentication or disassociation frames received from the connected AP.
|
||||
*
|
||||
* @QCA_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.
|
||||
*
|
||||
* @QCA_ROAM_REASON_BACKGROUND_SCAN: Roam triggered based on the scan
|
||||
@@ -3910,21 +3910,21 @@ enum qca_attr_nud_stats_set {
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_STATS_PKT_INFO_TYPE: set pkt info stats
|
||||
* Bitmap to Flag to Start / Stop the NUD stats collection
|
||||
* Start - If included , Stop - If not included
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DNS_DOMAIN_NAME: set gatway ipv4 address
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DNS_DOMAIN_NAME: set gateway ipv4 address
|
||||
* IPv4 address of Default Gateway (in network byte order)
|
||||
* QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_SET. This carry the requisite
|
||||
* information to start / stop the NUD stats collection.
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_SRC_PORT: set nud debug stats
|
||||
* Flag to Start / Stop the NUD stats collection
|
||||
* Start - If included , Stop - If not included
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DEST_PORT: set gatway ipv4 address
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DEST_PORT: set gateway ipv4 address
|
||||
* IPv4 address of Default Gateway (in network byte order)
|
||||
* QCA_NL80211_VENDOR_SUBCMD_NUD_STATS_SET. This carry the requisite
|
||||
* information to start / stop the NUD stats collection.
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DEST_IPV4: set nud debug stats
|
||||
* Flag to Start / Stop the NUD stats collection
|
||||
* Start - If included , Stop - If not included
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DEST_IPV6: set gatway ipv4 address
|
||||
* @QCA_ATTR_CONNECTIVITY_CHECK_STATS_DEST_IPV6: set gateway ipv4 address
|
||||
* IPv4 address of Default Gateway (in network byte order)
|
||||
*/
|
||||
enum qca_attr_connectivity_check_stats_set {
|
||||
@@ -5309,7 +5309,7 @@ enum qca_wlan_vendor_attr_rssi_monitoring {
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_PARAM_INVALID
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_SUBCMD: sub commands values in qca_wlan_ndp_sub_cmd
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_TRANSACTION_ID:
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_INSTANCE_ID: indicats a service info
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_SERVICE_INSTANCE_ID: indicates a service info
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_CHANNEL: channel frequency in MHz
|
||||
* @QCA_WLAN_VENDOR_ATTR_NDP_PEER_DISCOVERY_MAC_ADDR: Interface Discovery MAC
|
||||
* address
|
||||
@@ -6906,7 +6906,7 @@ enum qca_wlan_vendor_attr_dmg_rf_sector_cfg {
|
||||
* packets within a duration.
|
||||
* QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_TX_STATS_PERIOD to initiate
|
||||
* a TDLS setup.
|
||||
* @QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_DISCOVERY_PERIOD: Time (u32) to inititate
|
||||
* @QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_DISCOVERY_PERIOD: Time (u32) to initiate
|
||||
* a TDLS Discovery to the Peer.
|
||||
* @QCA_WLAN_VENDOR_ATTR_TDLS_CONFIG_MAX_DISCOVERY_ATTEMPT: Max number (u32) of
|
||||
* discovery attempts to know the TDLS capability of the peer. A peer is
|
||||
@@ -8143,7 +8143,7 @@ enum qca_wlan_vendor_attr_spectral_scan_status {
|
||||
* Use XR level to benefit XR (extended reality) application to achieve
|
||||
* latency and power by via constraint scan/roaming/adaptive PS.
|
||||
* @QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_LOW:
|
||||
* Use low latency level to benifit application like concurrent
|
||||
* Use low latency level to benefit application like concurrent
|
||||
* downloading or video streaming via constraint scan/adaptive PS.
|
||||
* @QCA_WLAN_VENDOR_ATTR_CONFIG_LATENCY_LEVEL_ULTRALOW:
|
||||
* Use ultra low latency level to benefit for gaming/voice
|
||||
@@ -9256,7 +9256,7 @@ enum qca_wlan_vendor_attr_wifi_test_config {
|
||||
* peer. Refers the enum qca_wlan_vendor_attr_twt_capability. It's a synchronous
|
||||
* operation.
|
||||
*
|
||||
* @QCA_WLAN_TWT_SETUP_READY_NOTIFY: Notify userspace that the firmare is
|
||||
* @QCA_WLAN_TWT_SETUP_READY_NOTIFY: Notify userspace that the firmware is
|
||||
* ready for a new TWT session setup after it issued a twt teardown.
|
||||
*
|
||||
* @QCA_WLAN_TWT_SET_PARAM: Configure TWT related parameters. Required
|
||||
@@ -10121,7 +10121,7 @@ enum qca_wlan_vendor_attr_nan_params {
|
||||
* @QCA_WLAN_VENDOR_CFR_DATA_RELAY_FS: Use RELAY FS to send CFR data.
|
||||
* @QCA_WLAN_VENDOR_CFR_DATA_NETLINK_EVENTS: Use netlink events to send CFR
|
||||
* data. The data shall be encapsulated within
|
||||
* QCA_WLAN_VENDOR_ATTR_PEER_CFR_RESP_DATA along withe vendor sub command
|
||||
* QCA_WLAN_VENDOR_ATTR_PEER_CFR_RESP_DATA along with vendor sub command
|
||||
* QCA_NL80211_VENDOR_SUBCMD_PEER_CFR_CAPTURE_CFG as an asynchronous event.
|
||||
*/
|
||||
enum qca_wlan_vendor_cfr_data_transport_modes {
|
||||
|
@@ -92,7 +92,7 @@ typedef struct {
|
||||
} __attribute__ ((packed)) qcom_ie_age;
|
||||
|
||||
/**
|
||||
* struct osif_scan_pdev - OS scan private strcutre
|
||||
* struct osif_scan_pdev - OS scan private structure
|
||||
* scan_req_q: Scan request queue
|
||||
* scan_req_q_lock: Protect scan request queue
|
||||
* req_id: Scan request Id
|
||||
|
@@ -55,7 +55,7 @@ const struct nla_policy cfg80211_scan_policy[
|
||||
/**
|
||||
* wlan_cfg80211_is_colocated_6ghz_scan_supported() - Check whether colocated
|
||||
* 6ghz scan flag present in scan request or not
|
||||
* @scan_flag: Flags bitmap comming from kernel
|
||||
* @scan_flag: Flags bitmap coming from kernel
|
||||
*
|
||||
* Return: True if colocated 6ghz scan flag present in scan req
|
||||
*/
|
||||
|
@@ -43,7 +43,7 @@ struct wifi_pos_driver_caps;
|
||||
},
|
||||
|
||||
/**
|
||||
* os_if_wifi_pos_register_nl() - abstration API to register callback with GENL
|
||||
* os_if_wifi_pos_register_nl() - abstraction API to register callback with GENL
|
||||
* socket.
|
||||
*
|
||||
* Return: status of operation
|
||||
@@ -51,7 +51,7 @@ struct wifi_pos_driver_caps;
|
||||
int os_if_wifi_pos_register_nl(void);
|
||||
|
||||
/**
|
||||
* os_if_wifi_pos_deregister_nl() - abstration API to deregister callback with
|
||||
* os_if_wifi_pos_deregister_nl() - abstraction API to deregister callback with
|
||||
* GENL socket.
|
||||
*
|
||||
* Return: status of operation
|
||||
|
@@ -802,7 +802,7 @@ static int wifi_pos_parse_req(struct sk_buff *skb, struct wifi_pos_req_msg *req,
|
||||
}
|
||||
|
||||
if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*msg_hdr))) {
|
||||
osif_err("nlmsg_len(%d) and msg_hdr_size(%zu) mis-match",
|
||||
osif_err("nlmsg_len(%d) and msg_hdr_size(%zu) mismatch",
|
||||
nlh->nlmsg_len, sizeof(*msg_hdr));
|
||||
return OEM_ERR_INVALID_MESSAGE_LENGTH;
|
||||
}
|
||||
@@ -814,7 +814,7 @@ static int wifi_pos_parse_req(struct sk_buff *skb, struct wifi_pos_req_msg *req,
|
||||
}
|
||||
|
||||
if (nlh->nlmsg_len < NLMSG_LENGTH(sizeof(*msg_hdr) + msg_hdr->length)) {
|
||||
osif_err("nlmsg_len(%d) and animsg_len(%d) mis-match",
|
||||
osif_err("nlmsg_len(%d) and animsg_len(%d) mismatch",
|
||||
nlh->nlmsg_len, msg_hdr->length);
|
||||
return OEM_ERR_INVALID_MESSAGE_LENGTH;
|
||||
}
|
||||
|
Referência em uma nova issue
Block a user