SoftAP fails to load the default hostapd.conf file
which was left behind as part of failed attempt to
start the softAP. The default hostapd.conf is required
to be copied in case of accidental corruption of
hostapd.conf
Change-Id: I4e6ab7a6bc67fcdcfe225e7e1a811fafe402ebc7
CRs-Fixed: 626022
SAP parameter ignore_broadcast_ssid always set to
"broadcast" due to improper handling of SAP parameters
at SAP SDK.
To mitigate this issue update the ignore_broadcast_ssid
parameter based on the value configured in the framework.
Change-Id: Ia1a35a38464710088921b94269b624d8b1910abc
CRs-Fixed: 588560
When SAP is turned on through GUI, hostapd.conf file
will be overwritten by the framework parameters.Since
in Kit-Kat framework,channel value is hard coded to 6,
same is getting over written whenever we turn on SAP
through GUI, this will cause SAP to come up always on
channel 6.
To mitigate this issue, avoid overwriting the channel
parameter in hostap.conf file by ignoring the channel
parameter from the framework.
Change-Id: I4d87cf70868ad705f63211b2bd10ac2a67646d09
CRs-Fixed: 584112
The sscanf return value is verified whether the three channel
variables, i.e. start channel, end channel and channel band,
are properly updated. If malformed input is given to sscanf, then
these variables may not properly updated. To provide validation
of input, verifying that sscanf returned a correct value of 3.
Change-Id: Ibd185e7a0ffcf5803927990531fc33f0e8977cc9
CRs-fixed: 554349
Before downloading commands to driver through softap SDK we are
checking if SoftAP is enabled are not by running ps in popen.
This sometime throws SIGPIPE error (signal) which is not handled,
due to this we were facing application crash. To fix this we modify
to check the operation mode of the driver through ioctl.
Change-Id: Ia0703ff343d401801655d3b666ade66107a4789e
CRs-Fixed: 535340
Changes to allow setting the configuration item for
802.11w (Protected Management Frames) in hostapd
configuration file.
CRs-Fixed: 512764
Change-Id: I4dc7afe8fc56bff79f52eae04a65d573db2746d9
Passing MAC address of STA with which SAP should to
disassociate in data pointer of ioctl was not getting
used by the driver.Current implementation of ioctl in
driver expects address to be present in extra.
Hence changes made in SDK to be compliant with the
expectation of the wireless extensions framework.
CRs-fixed: 455872
Change-Id: I76d23f159afdc8b05c4db1be2d2f2134e14eaed6
1. Fix Compilation error.
3. Changes to make qsap compatible w.r.t android framework.
4. Changes to check if SAP is enabled or not.
Change-Id: I8a21585bc1af92f5fbc885d981227349bb56b0f9
If the hostapd configuration files are not present in /data/misc/wifi,
copy it from the default file location /system/etc/wifi/
while starting softAP.
Change-Id: I3b33a283c2713176666d2a84428645cdb7113684
CRs-fixed: 409888
Fixed the compilation errors and also changed wifi_qsap_load_driver to load
cfg80211.ko while loading softap for prima.
Change-Id: Ifb258623c2f53438aacc62c4f6fc7e6f34974eb2
If the operating mode is NOT 'B' and the
channel to be set is 14 then change the
operating mode to 'B'
CRs-Fixed: 365096
Change-Id: Id21321edb303381b22dda6599454aa2cfd299dba
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
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
- 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>
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
Added support so that packet forwarding between associated stations
within a BSS can be enabled and disabled using ndc commands.
Change-Id: Ie460d38bfc0b549b0a7e027ad3cdefe9471a3fe9
-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
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
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
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