wlan: Add support for ieee80211h hostapd config

Support for configuring ieee80211h parameter in
hostapd configuration file through soft AP SDK.

Change-Id: I37d8927f2973f90772ab46cc767fdea1ac9cfc6b
CRs-Fixed: 943343
This commit is contained in:
Pradeep Reddy POTTETI
2016-01-07 20:01:40 +05:30
committed by Pradeep Reddy POTTETI
parent 1e2073ebaf
commit 5c1a3abaf0
2 changed files with 15 additions and 0 deletions

View File

@@ -329,6 +329,7 @@ typedef enum esap_cmd {
eCMD_VHT_OPER_CH_WIDTH = 68,
eCMD_ACS_CHAN_LIST = 69,
eCMD_HT_CAPAB = 70,
eCMD_IEEE80211H = 71,
eCMD_LAST /** New command numbers should be added above this */
} esap_cmd_t;
@@ -580,6 +581,9 @@ typedef struct sap_auto_channel_info {
/** Validate the AP shutoff time */
#define IS_VALID_ENERGY_DETECT_TH(x) ((((x >= AP_ENERGY_DETECT_TH_MIN) && (x <= AP_ENERGY_DETECT_TH_MAX)) ||( x == 128)) ? TRUE : FALSE)
/** Validate the 802dot11h state */
#define IS_VALID_DFS_STATE(x) (((x == ENABLE) || (x == DISABLE)) ? TRUE: FALSE)
/** Function declartion */
int qsap_hostd_exec(int argc, char ** argv);
void qsap_hostd_exec_cmd(s8 *pcmd, s8 *presp, u32 *plen);