qcacld-3.0: Don't use wlan_chan_to_freq

As part of regulatory cleanup, wlan_chan_to_freq() is removed.

Use wlan_reg_legacy_chan_to_freq()/wlan_reg_chan_band_to_freq()
instead of wlan_chan_to_freq().

Change-Id: I9d105863f8d6384c97e8219b89a230c863e29d19
CRs-Fixed: 2933440
这个提交包含在:
Jyoti Kumari
2021-04-24 12:49:36 +05:30
提交者 Madan Koyyalamudi
父节点 c15ffec425
当前提交 08eb756a51
修改 11 个文件,包含 100 行新增51 行删除

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2018,2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2018, 2020-2021 The Linux Foundation. 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
@@ -248,13 +248,16 @@ QDF_STATUS ucfg_p2p_cleanup_tx_by_psoc(struct wlan_objmgr_psoc *psoc);
* @soc: soc context
* @mgmt_frm: TX mgmt frame parameters
* @cookie: Return the cookie to caller
* @pdev: pdev object
*
* This function delivers mgmt frame tx request to P2P component.
*
* Return: QDF_STATUS_SUCCESS - in case of success
*/
QDF_STATUS ucfg_p2p_mgmt_tx(struct wlan_objmgr_psoc *soc,
struct p2p_mgmt_tx *mgmt_frm, uint64_t *cookie);
struct p2p_mgmt_tx *mgmt_frm,
uint64_t *cookie,
struct wlan_objmgr_pdev *pdev);
/**
* ucfg_p2p_mgmt_tx_cancel() - Cancel mgmt frame tx request

查看文件

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2017-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2017-2021 The Linux Foundation. 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
@@ -294,7 +294,8 @@ QDF_STATUS ucfg_p2p_cleanup_tx_by_psoc(struct wlan_objmgr_psoc *psoc)
}
QDF_STATUS ucfg_p2p_mgmt_tx(struct wlan_objmgr_psoc *soc,
struct p2p_mgmt_tx *mgmt_frm, uint64_t *cookie)
struct p2p_mgmt_tx *mgmt_frm, uint64_t *cookie,
struct wlan_objmgr_pdev *pdev)
{
struct scheduler_msg msg = {0};
struct p2p_soc_priv_obj *p2p_soc_obj;
@@ -354,7 +355,7 @@ QDF_STATUS ucfg_p2p_mgmt_tx(struct wlan_objmgr_psoc *soc,
tx_action->nbuf = NULL;
tx_action->id = id;
p2p_rand_mac_tx(tx_action);
p2p_rand_mac_tx(pdev, tx_action);
msg.type = P2P_MGMT_TX;
msg.bodyptr = tx_action;