Initial commit
Add initial version of Soft AP SDK

Change-Id: I7f2ca6dbfbb89065722a66bf04cff23362ec543a
Code uploaded as per p4 label WLAN_LIBRA_SOFTAP_LAFY_7630_REL10

Change-Id: Ib4973da98606f4cdbea5c6b9621999fbb06c2528
Add new features:-

  1. AP Auto shut off
  2. Energy Detect Threshold

Change-Id: I454dd0c999131a0d0910b415cf73590d3458f2ad
Fixing following issues:

Editing config values in Qocm_cfg.ini disables "save settings" option on GUI.

After fastboot, when SoftAP turned ON first time beacon shows WMM and Country elements info but SoftAP UI shows these options as disabled

After selecting the save-settings button GUI was always sending the command to change the energy_detect_threshold. Code is updated to send
it only if energy_detect_threshold is changed

Bug fixed to return correct security mode

Error happened after saving the SoftAP configuration

CRs-Fixed: 260651 261515 261401

Change-Id: Ic9454c35eeaa23ccc8b6e340695b4c41bca28b47
Fix string literal compiler error

Change-Id: Id83e70332688077ec0f6fdbff6d982d795730e9b
Add Path defines for SDIO and WIFI driver so customers can relocate their driver

Change-Id: Ic5b08542fb40809badf9f8cc8813d04a9ef8e4e3
Add check in code such that if BT is ON then SoftAP cannot be started

Change-Id: I274cefd07401f5b7f2beac78a16e892be73efdae
Merge "Add Path defines for SDIO and WIFI driver so customers can relocate their driver"
Cleanup QCOM usage of LOCAL_MODULE_TAGS

Starting from GB, modules which doesn't have LOCAL_MODULE_TAGS
defined (default to user tag) or which has user tag and not part
of GRANDFATHERED_USER_MODULES does throgh ERROR/WARNING
message. To supress these WARNING messages, we need to add
optional tag.

Targets tested on:
msm8660_surf

Tests:
Did a build from scratch

Change-Id: I006ae23366cf1f517f0c68f66f607be1455b4ba9
Added logic to send MODULE_DOWN_IND to wlan driver on softap.0 interface.

This is done in case sending MODULE_DOWN_IND fails on wlan.0 interface.
It can happen in newer driver when there is NO wlan0 interface and bt
module will not get the message to stop communicating with wlan driver.

Change-Id: Ic828a8bf917d5bf67aa4d02e153fb54d656d0bc4
SDK set's channel 12 and 13 also in 11B mode incorrectly.

CRs-Fixed: 268789

Change-Id: I20f56cd4d2aa5912512478c406776677b965e7f8
Merge "SDK set's channel 12 and 13 also in 11B mode incorrectly."
Disabled the code related to inserting the sdioif module in SoftAP.

Added the sdioif related code under feature 'WIFI_SDIO_IF_DRIVER_MODULE_NAME'
and disabled the same so that sdioif is not inserted in case of SoftAP.

Change-Id: I524f1907e95b6228729f49fe45d66d99153d804a
Close file descriptors for socket appropriately during SoftAP disconnect.

Change-Id: Idadae26ce6bbdf1ea6f6b1eaa63cd890bbfcb541
CRs-Fixed: 293934
Merge "Close file descriptors for socket appropriately during SoftAP disconnect."
system/qcom: stores data rate info in qcom_cfg.ini.

In qsap_set_channel function, write the gFixedRate to qcom_cfg.ini
file instead of trying to write to hostapd.conf.

Change-Id: I9b9fa65dde580ec2489bbe8e0e37af5bfd44d72a
CRs-fixed: 298556
system/qcom:Use wlan config path from android property wlan.driver.config

wlan.driver.config android property points to the correct wlan driver
config file. This config file is used to get/set config items related to
wlan driver as indicated from userspace through Qualcomm SoftAP SDK
commands.

Change-Id: I82efd922c72a77b281f007ba95db7042f5ac5e82
CRs-fixed: 315065
Added fix to not to generate hostapd.conf  dynamically

hostapd.conf be default will be /data/misc/wifi folder

Change-Id: Id30858a2062402227322574385bcb28432b7e3d0
wlan: Configure SoftAp via NDC commands.

-Added support for N-only, G-only and 11g profiles
-Added support to configure country and 11d info to hostapd.conf file
-Added support to enable and disable softap via NDC command

Change-Id: Iac22893eaae50d2144aa2ad539f1e99fdfdfe2e2