qcacmn: Add support to extract sscan bandwidth capabilities
WMI_SPECTRAL_CAPABILITIES_EVENTID event will be sent by the FW to indicate different capabilities of the Spectral HW. Add support to extract the sscan bandwidth capabilities from this event. Change-Id: I6ff6e5a8d80271fa62a430c986f53a321d46c66b CRs-Fixed: 3098832
这个提交包含在:

提交者
Madan Koyyalamudi

父节点
596c07c7e6
当前提交
861c4e29aa
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2011,2017-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
|
||||
@@ -944,6 +944,8 @@ struct vdev_spectral_enable_params;
|
||||
* detector information
|
||||
* @extract_spectral_caps_fixed_param: Extract fixed parameters from Spectral
|
||||
* capabilities event
|
||||
* @extract_spectral_scan_bw_caps: Extract bandwidth capabilities from Spectral
|
||||
* capabilities event
|
||||
*/
|
||||
struct spectral_wmi_ops {
|
||||
QDF_STATUS (*wmi_spectral_configure_cmd_send)(
|
||||
@@ -980,6 +982,9 @@ struct spectral_wmi_ops {
|
||||
QDF_STATUS (*extract_spectral_caps_fixed_param)(
|
||||
wmi_unified_t wmi_handle, void *event,
|
||||
struct spectral_capabilities_event_params *param);
|
||||
QDF_STATUS (*extract_spectral_scan_bw_caps)(
|
||||
wmi_unified_t wmi_handle, void *event,
|
||||
struct spectral_scan_bw_capabilities *bw_caps);
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -3000,4 +3005,20 @@ QDF_STATUS target_if_wmi_extract_spectral_caps_fixed_param(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *evt_buf,
|
||||
struct spectral_capabilities_event_params *param);
|
||||
|
||||
struct spectral_scan_bw_capabilities;
|
||||
/**
|
||||
* target_if_wmi_extract_spectral_scan_bw_caps() - Wrapper function to
|
||||
* extract bandwidth capabilities from Spectral capabilities WMI event
|
||||
* @psoc: Pointer to psoc object
|
||||
* @evt_buf: Event buffer
|
||||
* @bw_caps: Data structure to be filled by this API after extraction
|
||||
*
|
||||
* Return: QDF_STATUS of operation
|
||||
*/
|
||||
QDF_STATUS
|
||||
target_if_wmi_extract_spectral_scan_bw_caps(
|
||||
struct wlan_objmgr_psoc *psoc,
|
||||
uint8_t *evt_buf,
|
||||
struct spectral_scan_bw_capabilities *bw_caps);
|
||||
#endif /* _TARGET_IF_SPECTRAL_H_ */
|
||||
|
在新工单中引用
屏蔽一个用户