Add NDC support for "set Tx Power" command
Added support to change wlan softap Tx power using ndc command. It will write tx power cap to ini file. Change-Id: I5c9031ab35d67f4531e6f440b359d51c09a321d3 CRs-fixed: 329941
This commit is contained in:
@@ -78,6 +78,14 @@ enum error_val {
|
||||
eERR_LOAD_FAILED_SOFTAP
|
||||
};
|
||||
|
||||
#ifndef WIFI_DRIVER_CONF_FILE
|
||||
#define WIFI_DRIVER_CONF_FILE NULL
|
||||
#endif
|
||||
|
||||
#ifndef WIFI_DRIVER_DEF_CONF_FILE
|
||||
#define WIFI_DRIVER_DEF_CONF_FILE NULL
|
||||
#endif
|
||||
|
||||
/** Configuration file name */
|
||||
#define CONFIG_FILE "/data/misc/wifi/hostapd.conf"
|
||||
|
||||
@@ -90,9 +98,6 @@ enum error_val {
|
||||
/** Deny list file name */
|
||||
#define DENY_LIST_FILE "/data/hostapd/hostapd.deny"
|
||||
|
||||
/** Ini file */
|
||||
#define INI_FILE "/system/etc/firmware/wlan/qcom_cfg.ini"
|
||||
|
||||
/** Default Ini file */
|
||||
#define DEFAULT_INI_FILE "/persist/qcom/softap/qcom_cfg_default.ini"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user