Code uploaded as per p4 label WLAN_LIBRA_SOFTAP_LAFY_7630_REL10

Change-Id: Ib4973da98606f4cdbea5c6b9621999fbb06c2528
This commit is contained in:
Raj Kushwaha
2010-09-17 00:34:16 -07:00
parent aaaa518f19
commit ba862bdb95
5 changed files with 274 additions and 131 deletions

View File

@@ -76,19 +76,19 @@ enum error_val {
#define QSAP_SDK_VERSION "1.0"
/** Configuration file name */
#define CONFIG_FILE "/system/lib/modules/hostapd.conf"
#define CONFIG_FILE "/data/hostapd/hostapd.conf"
/** Default configuration file path */
#define DEFAULT_CONFIG_FILE_PATH "/system/lib/modules/hostapd_default.conf"
#define DEFAULT_CONFIG_FILE_PATH "/persist/qcom/softap/hostapd_default.conf"
/** Ini file */
#define INI_FILE "/system/etc/firmware/wlan/qcom_cfg.ini"
/** Temporary file name */
#define TMP_FILE "/system/lib/modules/tmp.qcsoftap.conf"
/** Default Ini file */
#define DEFAULT_INI_FILE "/persist/qcom/softap/qcom_cfg_default.ini"
/** SDK control interface path */
#define SDK_CTRL_IF "/system/lib/modules/softap_sdk_ctrl"
#define SDK_CTRL_IF "/data/hostapd/softap_sdk_ctrl"
/** Maximum length of the line in the configuration file */
#define MAX_CONF_LINE_LEN (156)
@@ -203,6 +203,10 @@ enum error_val {
#define B_MODE_MAX_DATA_RATE_IDX (4)
#define G_ONLY_MODE_MAX_DATA_RATE_IDX (12)
/** parameters for read config */
#define GET_COMMENTED_VALUE 1
#define GET_ENABLED_ONLY 0
/** command request index - in the array Cmd_req[] */
enum eCmd_req {
eCMD_GET = 0,