For SAE transtion mode, set sae_require_mfp to 1 to require MFP
for all associations using SAE.
CRs-Fixed: 2390790
Change-Id: I64bd35cbb77f6c9b64970c9a9db0a1bc3aeb2314
If the hostapd configuration files are not present in /data/vendor/wifi,
copy it from the default file location /vendor/etc/hostapd
while starting softAP.
Change-Id: I3093e99cdd906d86035f9e8dbfdddb06ae9f7c80
CRs-Fixed: 2409527
This creates a new hostapd_owe.conf if use below 'set' CMD:
"softap qccmd set owe <args>"
CRs-Fixed: 2356574
Change-Id: I1ef4f11f7bdb3155dcfbc2c75fa106c8a3ecc61a
This allows setting of following configs to hostapd.conf through QSAP:
wowlan_triggers accept_mac_file, deny_mac_file
CRs-Fixed: 2336537
Change-Id: If6a9e6a202e7aec86e1a3562bb392459a61287a2
acs_exclude_dfs is needed to avoid selection of DFS channels when
ACS (channel=0) is set for 5Ghz. This commit adds support for this
acs_exclude_dfs parameter.
Change-Id: If8a8777e7ec45bd37fd7e94e6f114852b2636b0c
CRs-Fixed: 2299524
Currently softap sdk allows only following modes:
"b", "g", "n", "g-only", "n-only", "a".
This commit adds support for hw_mode "any" via QSAP.
CRs-Fixed: 2250379
Change-Id: I13de4c196c3cd752a902ef8bf3fed4a01f95eb6a
This redefines macros to use "/data/vendor/wifi/hostapd/" path for
read/write/update hostapd configuration parameters.
Additionaly, it creates libqsap_headers which other modules can use
to refer/include *.h files in this project.
Change-Id: Ice64e5a56a69882b001b2f3bcd99ba0f91ffc8a2
CRs-Fixed: 2244795
With this commit, able to configured vendor_elements and
assocresp_elements in hostapd.conf file.
i.e
qdc softap qccmd set vendor_elements=<Values>
qdc softap qccmd set assocresp_elements=<Values>
Change-Id: Ib67413779a347c6567ab093bf84f87b1b63cc7db
CRs-Fixed: 2197458
1) This commit points the hostapd configuration location
to /data/misc/wifi.
2) Aims to enable configure ctrl_interface via qsap command.
CRs-Fixed: 2091779
Change-Id: I8ebfdd4b5c359659272209ab2e0f7b92793e51c9
This adds new API linux_get_ifhwaddr() which can be used to get
mac address of input interface. IOCTL SIOCGIFHWADDR is used to get
the interface address.
CRs-Fixed: 2080924
Change-Id: I1b825fb2c1f35280d2d57928be4f87d23d78decb
This enhances qsapsetSoftap to take arguments for dual2g and dual5g
configurations while maintaining backward compatibility to set
config file in case of standalone sap.
Additionally enhance 'set' command to configure ssid2 and bridge
parameters which are needed for dual2g/dual5g. Also when setting
ssid2, disable ssid in config files (or vice-versa).
CRs-Fixed: 2080924
Change-Id: I60bf62e6b2ad0cde3ebdfff4814f2ab98aa24b92
This enhances existing 'set' command to allow configuration of dual
SAP. It will create/read/write/update to following configuration files:
CMD: "softap qccmd set channel=6" writes to hostapd.conf
CMD: "softap qccmd set dual2g channel=6" writes to hostapd_dual2g.conf
CMD: "softap qccmd set dual5g channel=6" writes to hostapd_dual5g.conf
Additionally enable LOG_TAG for logging APIs with TAG "QCSDK" and
modify default config file location.
CRs-Fixed: 2080924
Change-Id: I46c59de7fbd2ea273793406f0b82515df94e5c38
This adds APIs to trigger create, delete, interface up and interface
down commands on bridge interface.
It uses following IOCTLs for sending command to linux kernel:
Add bridge iface: SIOCBRADDBR
Remove bridge iface: SIOCBRDELBR
Mark iface up/down: SIOCGIFFLAGS
CRs-Fixed: 2080924
Change-Id: I3d34dc16e9ca82dc4b550cbc83fa4120c80ad54c
wifi_fst.h is no longer part of /hardware/libhardware_legacy/ ,
therefore, compilation of libqsap_sdk would fail. Remove dependencies
for wifi_fst from QSAP.
Additionally, skip calling 'chown' after changing configuration
parameters as QSAP is not changing ownership.
CRs-Fixed: 2069881
Change-Id: Iaadfa182270f22555e486dac24a5acafc247b943
FST manager start/stop need to be done in sync with start/stop
of softAP controller.
To support such functionality, added general functions that
can be used pre and post softAP start/stop operations.
Change-Id: Ic2dd119b1fbfbf88b7b39000c1633792c8a628c2
CRs-Fixed: 1014736
GTK rekey interval is reduced to match with
standard values existing with commercial APs.
This further helps in testing the GTK rekeying
functionality and offload scenarios with SAP case.
CRs-Fixed: 1025722
Change-Id: If284ce12b1141bde8d01bee7023ac9ae94d255b7
Support for configuring ieee80211h parameter in
hostapd configuration file through soft AP SDK.
Change-Id: I37d8927f2973f90772ab46cc767fdea1ac9cfc6b
CRs-Fixed: 943343
Support for configuring 11ac and ACS channel list parameters in
hostapd configuration file through soft AP SDK.
Change-Id: I45c4f4285357701299c44f31243dea5107b0fabb
CRs-Fixed: 892713
Changes required to support the softap commands
through ndc cli. This new support as part of the
64bit enablement and ndc is used for cli automation
in softap testcases.
Change-Id: I460a3785c3b4a44656281c7243ebdf921fe20f91
CRs-Fixed: 710050
This function is for end user to set maximun client
connections number and apply this to hostapd module
Change-Id: I6150b376d22756e8c04ebabe666d81cf3af8fc87
Fix for making SAP SDK code 64 bit compliant. The typedefs
were incorrect on an LP64 architecture since a long int will
be 64-bits.
Change-Id: I4c9f5f2fb2b820193fbe03fdf8e2307c281ea014
CRs-Fixed: 640894
Change location of hostapd accept and deny files
from /data/hostapd to /data/misc/wifi because
SElinux does not allow netd and hostapd to access
/data/hostapd directory.
Change-Id: I61e8521b3a4b6aab759d3b7cbc04acd3da3c8cf3
CRs-Fixed: 756614
Changes to allow setting the configuration item for
AKM suite (wpa_key_mgmt) in hostapd
configuration file. This is needed for PMF
(802.11w) to add SHA256 to the list when
necessary.
Change-Id: Ia6fd4976241fb11525f4be6c11801b9c471d4427
CRs-Fixed: 523705
Changes to allow setting the configuration item for
802.11w (Protected Management Frames) in hostapd
configuration file.
CRs-Fixed: 512764
Change-Id: I4dc7afe8fc56bff79f52eae04a65d573db2746d9
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
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
- 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 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
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