qcacld-3.0: components: p2p: Fix misspellings
Fix misspellings in components/p2p/... Change-Id: I220faae813cd79d7b5fe656158768d1eff4718de CRs-Fixed: 3303638
This commit is contained in:

committed by
Madan Koyyalamudi

parent
6e7e6e3c02
commit
ef20cc3a0e
@@ -725,7 +725,7 @@ QDF_STATUS p2p_psoc_object_open(struct wlan_objmgr_psoc *soc)
|
|||||||
p2p_soc_obj = wlan_objmgr_psoc_get_comp_private_obj(soc,
|
p2p_soc_obj = wlan_objmgr_psoc_get_comp_private_obj(soc,
|
||||||
WLAN_UMAC_COMP_P2P);
|
WLAN_UMAC_COMP_P2P);
|
||||||
if (!p2p_soc_obj) {
|
if (!p2p_soc_obj) {
|
||||||
p2p_err("p2p soc priviate object is NULL");
|
p2p_err("p2p soc private object is NULL");
|
||||||
return QDF_STATUS_E_FAILURE;
|
return QDF_STATUS_E_FAILURE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -2918,11 +2918,11 @@ p2p_set_rand_mac(struct wlan_objmgr_psoc *soc, uint32_t vdev_id,
|
|||||||
status = p2p_set_mac_filter(soc, vdev_id, mac, freq, true,
|
status = p2p_set_mac_filter(soc, vdev_id, mac, freq, true,
|
||||||
p2p_set_mac_filter_callback, req_cookie);
|
p2p_set_mac_filter_callback, req_cookie);
|
||||||
if (status != QDF_STATUS_SUCCESS) {
|
if (status != QDF_STATUS_SUCCESS) {
|
||||||
p2p_err("random_mac:set mac fitler failure %d", status);
|
p2p_err("random_mac:set mac filter failure %d", status);
|
||||||
} else {
|
} else {
|
||||||
err = osif_request_wait_for_response(request);
|
err = osif_request_wait_for_response(request);
|
||||||
if (err) {
|
if (err) {
|
||||||
p2p_err("random_mac:timeout for set mac fitler %d",
|
p2p_err("random_mac:timeout for set mac filter %d",
|
||||||
err);
|
err);
|
||||||
} else {
|
} else {
|
||||||
priv = osif_request_priv(request);
|
priv = osif_request_priv(request);
|
||||||
@@ -3167,7 +3167,7 @@ QDF_STATUS p2p_process_mgmt_tx(struct tx_action_context *tx_ctx)
|
|||||||
status = p2p_get_frame_info(tx_ctx->buf, tx_ctx->buf_len,
|
status = p2p_get_frame_info(tx_ctx->buf, tx_ctx->buf_len,
|
||||||
&(tx_ctx->frame_info));
|
&(tx_ctx->frame_info));
|
||||||
if (status != QDF_STATUS_SUCCESS) {
|
if (status != QDF_STATUS_SUCCESS) {
|
||||||
p2p_err("unsupport frame");
|
p2p_err("unsupported frame");
|
||||||
status = QDF_STATUS_E_INVAL;
|
status = QDF_STATUS_E_INVAL;
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
@@ -346,7 +346,7 @@ struct tx_action_context *p2p_find_tx_ctx_by_nbuf(
|
|||||||
#define P2P_80211_FRM_SA_OFFSET 10
|
#define P2P_80211_FRM_SA_OFFSET 10
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* p2p_del_random_mac() - del mac fitler from given vdev rand mac list
|
* p2p_del_random_mac() - del mac filter from given vdev rand mac list
|
||||||
* @soc: soc object
|
* @soc: soc object
|
||||||
* @vdev_id: vdev id
|
* @vdev_id: vdev id
|
||||||
* @rnd_cookie: random mac mgmt tx cookie
|
* @rnd_cookie: random mac mgmt tx cookie
|
||||||
|
@@ -334,7 +334,7 @@ static QDF_STATUS p2p_destroy_roc_ctx(struct p2p_roc_context *roc_ctx,
|
|||||||
* @roc_ctx: remain on channel request
|
* @roc_ctx: remain on channel request
|
||||||
*
|
*
|
||||||
* This function stop roc timer, abort scan and unregister mgmt rx
|
* This function stop roc timer, abort scan and unregister mgmt rx
|
||||||
* callbak.
|
* callback.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS - in case of success
|
* Return: QDF_STATUS_SUCCESS - in case of success
|
||||||
*/
|
*/
|
||||||
@@ -412,7 +412,7 @@ static void p2p_roc_timeout(void *pdata)
|
|||||||
* @roc_ctx: remain on channel request
|
* @roc_ctx: remain on channel request
|
||||||
*
|
*
|
||||||
* This function init roc timer, start scan and register mgmt rx
|
* This function init roc timer, start scan and register mgmt rx
|
||||||
* callbak.
|
* callback.
|
||||||
*
|
*
|
||||||
* Return: QDF_STATUS_SUCCESS - in case of success
|
* Return: QDF_STATUS_SUCCESS - in case of success
|
||||||
*/
|
*/
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DOC: Contains mcc quota event public data structure definations
|
* DOC: Contains mcc quota event public data structure definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _WLAN_P2P_MCC_QUOTA_PUBLIC_STRUCT_H_
|
#ifndef _WLAN_P2P_MCC_QUOTA_PUBLIC_STRUCT_H_
|
||||||
@@ -37,7 +37,7 @@ struct wlan_objmgr_vdev;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* enum mcc_quota_type - mcc channel quota type
|
* enum mcc_quota_type - mcc channel quota type
|
||||||
* @QUOTA_TYPE_CLEAR: target exits MCC state and clear mcc quota inforamtion
|
* @QUOTA_TYPE_CLEAR: target exits MCC state and clear mcc quota information
|
||||||
* @QUOTA_TYPE_FIXED: channel time quota is fixed and will not be changed
|
* @QUOTA_TYPE_FIXED: channel time quota is fixed and will not be changed
|
||||||
* @QUOTA_TYPE_DYNAMIC: channel time quota is dynamic and targe may change
|
* @QUOTA_TYPE_DYNAMIC: channel time quota is dynamic and targe may change
|
||||||
* the quota based on the data activity
|
* the quota based on the data activity
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2017-2019, 2021 The Linux Foundation. All rights reserved.
|
||||||
|
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for
|
* 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: Contains p2p public data structure definations
|
* DOC: Contains p2p public data structure definitions
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _WLAN_P2P_PUBLIC_STRUCT_H_
|
#ifndef _WLAN_P2P_PUBLIC_STRUCT_H_
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
|
* Copyright (c) 2017-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
|
* 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
|
||||||
@@ -230,7 +231,7 @@ void tgt_p2p_scan_event_cb(struct wlan_objmgr_vdev *vdev,
|
|||||||
QDF_STATUS tgt_p2p_mgmt_download_comp_cb(void *context,
|
QDF_STATUS tgt_p2p_mgmt_download_comp_cb(void *context,
|
||||||
qdf_nbuf_t buf, bool free)
|
qdf_nbuf_t buf, bool free)
|
||||||
{
|
{
|
||||||
p2p_debug("conext:%pK, buf:%pK, free:%d", context,
|
p2p_debug("context:%pK, buf:%pK, free:%d", context,
|
||||||
qdf_nbuf_data(buf), free);
|
qdf_nbuf_data(buf), free);
|
||||||
|
|
||||||
qdf_nbuf_free(buf);
|
qdf_nbuf_free(buf);
|
||||||
|
Reference in New Issue
Block a user