Set the background scan parameters before creating or updating a Saved Network profile
#include <qwf/qwf_wifi.h>
qwf_wifi_Results_e qwf_wifi_SetBgScanMode(qwf_Context_t *pCtx, const qwf_wifi_BgScanInfo_t *const pBgScanInfo, const char *const pDbFileName);
This function lets you temporarily save background scan settings before creating or updating a Saved Network profile. The settings are used by the Wi-Fi supplicant to configure background scanning behavior when roaming within an ESS (i.e., a single network block with all access points using the same SSID).
You must call this function before qwf_wifi_CreateSavedNetwork() or qwf_wifi_UpdateSavedNetwork() to apply the background scan parameters to a Saved Network profile. Otherwise, these parameters will be disabled by default when the profile is created or updated.
WIFI_OK Successful result
WIFI_ERR_PARAM A pointer argument is NULL, the QWF Wi-Fi Manager context can't be retrieved, or the background scanning information contains a negative interval, empty database filename, or invalid scanning mode