qcacmn: Add support to get feature set info

Based on the new requirement, add support to get requested
feature set info from different feature components.

Change-Id: I75c5a3062312b1124d21d1ae429a7c5a18d9f2d0
CRs-Fixed: 3262867
This commit is contained in:
Ashish Kumar Dhanotiya
2022-07-26 15:16:20 +05:30
committed by Madan Koyyalamudi
vanhempi 086f192c0a
commit 99694b6f53
3 muutettua tiedostoa jossa 74 lisäystä ja 0 poistoa

Näytä tiedosto

@@ -29,6 +29,18 @@
#include <wlan_objmgr_vdev_obj.h>
#include "../../core/src/wlan_scan_main.h"
#ifdef FEATURE_SET
/**
* wlan_scan_get_feature_info() - Get scan feature set info
* @psoc: pointer to psoc object
* @scan_feature_set: feature set info which needs to be filled
*
* Return: none
*/
void wlan_scan_get_feature_info(struct wlan_objmgr_psoc *psoc,
struct wlan_scan_features *scan_feature_set);
#endif
/**
* wlan_scan_cfg_set_active_2g_dwelltime() - API to set scan active 2g dwelltime
* @psoc: pointer to psoc object

Näytä tiedosto

@@ -1652,4 +1652,16 @@ enum trim_channel_list {
TRIM_CHANNEL_LIST_5G,
TRIM_CHANNEL_LIST_24G,
};
#ifdef FEATURE_SET
/**
* wlan_scan_features - Scan feature set structure
* @pno_in_unassoc_state: is pno supported in unassoc state
* @pno_in_assoc_state: is pno supported in assoc state
*/
struct wlan_scan_features {
bool pno_in_unassoc_state;
bool pno_in_assoc_state;
};
#endif
#endif