qcacmn: Send fils discovery template to wmi layer
Add support to send Fils discovery template via target if Add func to compute shortssid with the help of shortssid table Change-Id: I78fa50641ee5ae0c338719c4cec91573a212f396 CRs-Fixed: 3114903
这个提交包含在:
@@ -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
|
||||
@@ -69,6 +70,17 @@ target_if_vdev_mgr_get_tx_ops(struct wlan_objmgr_psoc *psoc)
|
||||
QDF_STATUS
|
||||
target_if_vdev_mgr_register_tx_ops(struct wlan_lmac_if_tx_ops *tx_ops);
|
||||
|
||||
/**
|
||||
* target_if_vdev_mgr_send_fd_tmpl() - sends fils discovery template
|
||||
* to wmi layer.
|
||||
* @vdev: pointer to wlan objmgr vdev.
|
||||
* @param: pointer to fils discovery template parameter
|
||||
*
|
||||
* Return: QDF_STATUS_SUCCESS on success, QDF_STATUS_E_** on error
|
||||
*/
|
||||
QDF_STATUS target_if_vdev_mgr_send_fd_tmpl(struct wlan_objmgr_vdev *vdev,
|
||||
struct fils_discovery_tmpl_params *param);
|
||||
|
||||
/**
|
||||
* target_if_vdev_mgr_assert_mgmt() - vdev assert mgmt api
|
||||
* @PSOC: pointer to objmgr psoc
|
||||
|
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 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
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -375,11 +375,11 @@ static QDF_STATUS target_if_vdev_mgr_set_param_send(
|
||||
mlme_err("Failed to get WMI handle!");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
param_id = target_if_vdev_mlme_id_2_wmi(param->param_id);
|
||||
param->param_id = param_id;
|
||||
if (param->param_id == wmi_vdev_param_txbf)
|
||||
param->param_value = target_if_vdev_mlme_build_txbf_caps(vdev);
|
||||
|
||||
status = wmi_unified_vdev_set_param_send(wmi_handle, param);
|
||||
|
||||
return status;
|
||||
@@ -729,6 +729,28 @@ static QDF_STATUS target_if_vdev_mgr_beacon_tmpl_send(
|
||||
return status;
|
||||
}
|
||||
|
||||
QDF_STATUS target_if_vdev_mgr_send_fd_tmpl(struct wlan_objmgr_vdev *vdev,
|
||||
struct fils_discovery_tmpl_params *param)
|
||||
{
|
||||
QDF_STATUS status;
|
||||
struct wmi_unified *wmi_handle;
|
||||
|
||||
if (!vdev || !param) {
|
||||
mlme_err("Invalid input");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
wmi_handle = target_if_vdev_mgr_wmi_handle_get(vdev);
|
||||
if (!wmi_handle) {
|
||||
mlme_err("Failed to get WMI handle!");
|
||||
return QDF_STATUS_E_INVAL;
|
||||
}
|
||||
|
||||
status = wmi_unified_fd_tmpl_send_cmd(wmi_handle, param);
|
||||
|
||||
return status;
|
||||
}
|
||||
|
||||
static QDF_STATUS target_if_vdev_mgr_set_nac_rssi_send(
|
||||
struct wlan_objmgr_vdev *vdev,
|
||||
struct vdev_scan_nac_rssi_params *param)
|
||||
|
在新工单中引用
屏蔽一个用户