Softap: Add support for STA+SoftAP Concurrency

1. Add functions to create and remove softap interface using
   NL commands.
2. Write Softap interface into hostapd.conf.

Change-Id: Ic8fcabf0ad514e5a73d5a9a9ebccb6ca52dcb9b4
CRs-Fixed: 1044315
This commit is contained in:
Nalla Kartheek
2016-04-29 18:09:35 +05:30
committed by Rajesh Chauhan
parent 421ce6f83e
commit f4eef25c34
3 changed files with 106 additions and 3 deletions

2
softap/sdk/qsap_api.h Normal file → Executable file
View File

@@ -332,6 +332,7 @@ typedef enum esap_cmd {
eCMD_IEEE80211H = 71,
eCMD_ENABLE_WIGIG_SOFTAP = 72,
eCMD_INTERFACE = 73,
eCMD_LAST /** New command numbers should be added above this */
} esap_cmd_t;
@@ -591,6 +592,7 @@ int qsap_hostd_exec(int argc, char ** argv);
void qsap_hostd_exec_cmd(s8 *pcmd, s8 *presp, u32 *plen);
s8 *qsap_get_config_value(s8 *pfile, struct Command *pcmd, s8 *pbuf, u32 *plen);
int qsapsetSoftap(int argc, char *argv[]);
int qsap_add_or_remove_interface(const char *iface_name, int create_iface);
void qsap_del_ctrl_iface(void);
s16 wifi_qsap_reset_to_default(s8 *pcfgfile, s8 *pdefault);
void check_for_configuration_files(void);