Commit Graph

76 Commits

Author SHA1 Message Date
Deepthi Gowri
684d2f9514 system/qcom: Turn off SAP when operating on a LTE interfering channel.
Turn off and restart sap with safe channel list received from android
telephony layer, whenever sap is operating on an channel interfering with
LTE.

Change-Id: Iefec6024a63c820e09b837b7daa7ba5a486ac1d2
2012-06-02 22:49:47 +05:30
Deepthi Gowri
9f0d356f58 system/qcom: Change permissions for /data/hostapd.
After factory reset we create hostapd directory with permission 770
and owner as root which is causing issues.so change the permission
of /data/hostapd from 770 to 771.

Change-Id: I1863c4055870c9556b3ba9bf9380cdaca4a3fdb5
CRs-fixed: 337227
2012-02-25 06:49:31 -07:00
Sameer Thalappil
caf8792027 system/qcom: Add new SoftAP APIs to send new commands to driver
- Add SoftAP API to send initAP cmd to Driver
- Add SoftAP API to send exitAP cmd to Driver
- Add SoftAP API to update macaddr_acl value

CRs-fixed: 331343, 333643

Change-Id: I662b819a4055a652649748461e58b1ab50e0b01e
Acked-by:  Ramasundar Kara Venkata <nkaraven@qca.qualcomm.com>
2012-02-16 17:22:36 -07:00
Linux Build Service Account
baad0d7814 Merge "Replace init.svc.hostapd with wifi.hostapd." 2012-02-16 11:52:38 -08:00
Deepthi Gowri
ae5a4f7fc4 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
2012-01-31 19:39:06 +05:30
Deepthi Gowri
9e0869e184 Replace init.svc.hostapd with wifi.hostapd.
Check softap enable status,by getting wifi.hostapd property.

Change-Id: Iee3a0a21fbfbf1cb65d9050c7274b9fc5b245db6
CRs-fixed: 329942
2012-01-31 19:26:37 +05:30
Deepthi Gowri
6344a80689 system/qcom: Implement set and get ndc commands for ap_isolate
Added support so that  packet forwarding between associated stations
within a BSS can be enabled and disabled using ndc commands.

Change-Id: Ie460d38bfc0b549b0a7e027ad3cdefe9471a3fe9
2012-01-19 20:44:04 +05:30
Santosh Sajjan
c463f732b7 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
2011-12-23 11:50:06 +05:30
Santosh Sajjan
47e3a84761 Added fix to not to generate hostapd.conf dynamically
hostapd.conf be default will be /data/misc/wifi folder

Change-Id: Id30858a2062402227322574385bcb28432b7e3d0
2011-12-10 21:11:12 +05:30
Yunsen Wang
458db7cae6 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
2011-11-17 19:30:05 -08:00
Santosh Sajjan
9b0caba774 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
2011-08-08 19:16:19 +05:30
Linux Build Service Account
72fde61473 Merge "Close file descriptors for socket appropriately during SoftAP disconnect." 2011-07-27 17:59:22 -07:00
santosh sajjan
1a6aff9ff6 Close file descriptors for socket appropriately during SoftAP disconnect.
Change-Id: Idadae26ce6bbdf1ea6f6b1eaa63cd890bbfcb541
CRs-Fixed: 293934
2011-07-18 17:22:51 +05:30
Santosh Sajjan
343ec71a59 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
2011-07-15 14:17:15 +05:30
Linux Build Service Account
14a3ea2c0a Merge "SDK set's channel 12 and 13 also in 11B mode incorrectly." 2011-07-08 20:31:43 -07:00
Santosh Sajjan
1475de4bbb SDK set's channel 12 and 13 also in 11B mode incorrectly.
CRs-Fixed: 268789

Change-Id: I20f56cd4d2aa5912512478c406776677b965e7f8
2011-07-07 17:27:18 +05:30
Yunsen Wang
26a9f6b5f7 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
2011-07-06 11:23:58 -07:00
Satya Durga Srinivasu Prabhala
3a2525cc41 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
2011-03-15 20:09:36 +05:30
Linux Build Service Account
f4a2696f9a Merge "Add Path defines for SDIO and WIFI driver so customers can relocate their driver" 2011-03-14 00:55:21 -07:00
Raj Kushwaha
13eb75f8cc Add check in code such that if BT is ON then SoftAP cannot be started
Change-Id: I274cefd07401f5b7f2beac78a16e892be73efdae
2011-03-12 10:21:45 -08:00
Yunsen Wang
a1ff5e8700 Add Path defines for SDIO and WIFI driver so customers can relocate their driver
Change-Id: Ic5b08542fb40809badf9f8cc8813d04a9ef8e4e3
2011-03-11 22:40:02 -08:00
Ajay Dudani
7e46ea01e8 Fix string literal compiler error
Change-Id: Id83e70332688077ec0f6fdbff6d982d795730e9b
2010-12-18 18:52:20 -08:00
Raj Kushwaha
ae27f82145 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
2010-11-16 08:45:58 -08:00
Raj Kushwaha
41027215e1 Add new features:-
1. AP Auto shut off
  2. Energy Detect Threshold

Change-Id: I454dd0c999131a0d0910b415cf73590d3458f2ad
2010-10-13 00:11:12 -07:00
Raj Kushwaha
ba862bdb95 Code uploaded as per p4 label WLAN_LIBRA_SOFTAP_LAFY_7630_REL10
Change-Id: Ib4973da98606f4cdbea5c6b9621999fbb06c2528
2010-09-17 00:34:16 -07:00
Raj Kushwaha
aaaa518f19 Add initial version of Soft AP SDK
Change-Id: I7f2ca6dbfbb89065722a66bf04cff23362ec543a
2010-09-02 10:11:01 -07:00