Promotion of wlan-service.lnx.1.1-00018.
CRs Change ID Subject -------------------------------------------------------------------------------------------------------------- 1014736 Ic2dd119b1fbfbf88b7b39000c1633792c8a628c2 qsap: add functions for calling FST manager start/stop Change-Id: I319845b13411ff32ceea9c706d1ed1358989baff CRs-Fixed: 1014736
This commit is contained in:
commit
5cf4b594e9
3 changed files with 23 additions and 2 deletions
|
@ -4,7 +4,7 @@ LOCAL_PATH := $(call my-dir)
|
|||
|
||||
include $(CLEAR_VARS)
|
||||
|
||||
LOCAL_C_INCLUDES :=
|
||||
LOCAL_C_INCLUDES := $(TOP)/hardware/libhardware_legacy/wifi
|
||||
|
||||
LOCAL_MODULE:= libqsap_sdk
|
||||
|
||||
|
@ -61,7 +61,7 @@ LOCAL_SRC_FILES := qsap_api.c \
|
|||
|
||||
LOCAL_PRELINK_MODULE := false
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := libnetutils libutils libbinder libcutils
|
||||
LOCAL_SHARED_LIBRARIES := libnetutils libutils libbinder libcutils libhardware_legacy
|
||||
|
||||
include $(BUILD_SHARED_LIBRARY)
|
||||
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -598,6 +598,9 @@ void qsap_set_ini_filename(void);
|
|||
int qsap_set_channel_range(s8 * cmd);
|
||||
int qsap_get_sap_auto_channel_slection(s32 *pautochan);
|
||||
int qsap_get_mode(s32 *pmode);
|
||||
int qsap_prepare_softap(void);
|
||||
int qsap_unprepare_softap(void);
|
||||
int qsap_is_fst_enabled(void);
|
||||
|
||||
#if __cplusplus
|
||||
}; // extern "C"
|
||||
|
|
Loading…
Reference in a new issue