qcacmn: Add API to access scan entry partner info

Add API to access scan entry partner info by bssid
and freq.

Change-Id: I8340c6c654cf03f63aee9ed622e3db38056d714f
CRs-Fixed: 3376315
此提交包含在:
sandhu
2023-01-04 14:40:39 -08:00
提交者 Madan Koyyalamudi
父節點 fd0368882b
當前提交 89c50d8df3
共有 4 個檔案被更改,包括 100 行新增3 行删除

查看文件

@@ -1,6 +1,6 @@
/*
* Copyright (c) 2017-2021 The Linux Foundation. All rights reserved.
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023 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
@@ -41,6 +41,23 @@ void wlan_scan_get_feature_info(struct wlan_objmgr_psoc *psoc,
struct wlan_scan_features *scan_feature_set);
#endif
/**
* wlan_scan_get_scan_entry_by_mac_freq() - API to get scan entry
* info from scan db by mac addr
* @pdev: pointer to pdev object
* @bssid: pointer to mac addr
* @freq: frequency for scan filter
* @cache_entry: pointer to scan cache_entry
*
* Return: success if scan entry is found in scan db
*/
QDF_STATUS
wlan_scan_get_scan_entry_by_mac_freq(struct wlan_objmgr_pdev *pdev,
struct qdf_mac_addr *bssid,
uint16_t freq,
struct scan_cache_entry
*cache_entry);
/**
* wlan_scan_cfg_set_active_2g_dwelltime() - API to set scan active 2g dwelltime
* @psoc: pointer to psoc object