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
Este commit está contenido en:
sandhu
2023-01-04 14:40:39 -08:00
cometido por Madan Koyyalamudi
padre fd0368882b
commit 89c50d8df3
Se han modificado 4 ficheros con 100 adiciones y 3 borrados

Ver fichero

@@ -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