qsap: add functions for calling FST manager start/stop
FST manager start/stop need to be done in sync with start/stop of softAP controller. To support such functionality, added general functions that can be used pre and post softAP start/stop operations. Change-Id: Ic2dd119b1fbfbf88b7b39000c1633792c8a628c2 CRs-Fixed: 1014736
This commit is contained in:
@@ -54,6 +54,7 @@
|
||||
|
||||
#include "qsap_api.h"
|
||||
#include "qsap.h"
|
||||
#include "wifi_fst.h"
|
||||
|
||||
#include <sys/system_properties.h>
|
||||
|
||||
@@ -695,3 +696,20 @@ s32 wifi_qsap_stop_wigig_softap(void)
|
||||
usleep(AP_BSS_STOP_DELAY);
|
||||
return eSUCCESS;
|
||||
}
|
||||
|
||||
int qsap_prepare_softap()
|
||||
{
|
||||
ALOGD("Starting fstman\n");
|
||||
return wifi_start_fstman(TRUE);
|
||||
}
|
||||
|
||||
int qsap_unprepare_softap()
|
||||
{
|
||||
ALOGD("Stopping fstman\n");
|
||||
return wifi_stop_fstman(TRUE);
|
||||
}
|
||||
|
||||
int qsap_is_fst_enabled()
|
||||
{
|
||||
return is_fst_enabled();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user