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
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1016741 Idf747b74191de4904ca939601a263b9fb8f9e971 softap: support for starting/stopping Wigig soft AP
Change-Id: I6751c19f041b93fbd956e1e3f2626796c3557c8e
CRs-Fixed: 1016741
CRs Change ID Subject
--------------------------------------------------------------------------------------------------------------
1016741 Idf747b74191de4904ca939601a263b9fb8f9e971 softap: support for starting/stopping Wigig soft AP
Change-Id: I17dcde26ac9275cacc600ae92fb332f89c146935
CRs-Fixed: 1016741
Support for configuring ieee80211h parameter in
hostapd configuration file through soft AP SDK.
Change-Id: I37d8927f2973f90772ab46cc767fdea1ac9cfc6b
CRs-Fixed: 943343
Return value of snprintf can be more than size value when output
is truncated, so copying the '\0' at return value may cause array
index out-of-bound access. And as snprintf function takes care of
terminating the string with '\0', its redundant to copy '\0' at
return value.
CRs-Fixed: 947966
Change-Id: Ic5dab6d9aa57db5000f23c82e2a22924e0154c40
This commit provides read/write access on accept/deny files
to hostapd similar to hostapd.conf.
Change-Id: I1c3cda056a4067d48484cb336e748f04804b68e3
CRs-fixed: 910398
Provision to configure rts_threshold, fragm_threshold and
wmm_enabled in hostapd.conf through NDC commands.
CRs-Fixed: 889979
Change-Id: I94e4486573b562fbe48c641423bf1c1389d0c744
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
If WIFI_DRIVER_CONF_FILE is not defined fIni is set to null and
hence all the set/get_cfg SAP commands fail. Thus, Invoke
qsap_set_ini_filename explicitly if fINI is NULL.
Change-Id: I9df1f95d7f4b884602cc501fe9e75ff4c26e400c
CRs-Fixed: 865432
This function is for end user to set maximun client
connections number and apply this to hostapd module
Change-Id: I6150b376d22756e8c04ebabe666d81cf3af8fc87
strcpy and strcat are not safe, instead use strlcpy and strlcat
which have control over the number of bytes to be written to
the output str or buffer.
CRs-Fixed: 802872
Change-Id: I7b6748946633dda551a1015678d41846c19adeb2
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
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
Do not include "wpa_ctrl.h" in qsap.c file to avoid compilation
errors on OSS builds.
Change-Id: Ie3afa0bc564a5b2d9c2245b85f4681b83c1d1644
CRs-Fixed: 758764
Read ieee80211d param from hostapd.conf file instead of reading it
from ini file.
Change-Id: I3773652bc91e2f166111704e70231af6845c5ffc
CRs-Fixed: 727043
Copying the softap sdk include files to TARGET obj
so its easy for other modules to include them.
This is required for system/netd/server/Android.mk
file
Change-Id: Ia581cf93b1849866e22ea3f93350906bc4fb8c71
The softap libraries were missing for the 64bit enablement
through ndc commands. Makefile change required to point to
right kernel include files.
Change-Id: I03cdd609c2fa18f9926de7d67a2c7d5957a81317
Fixes for making SAP SDK 64 bit compliant for QCSAP_IOCTL_ASSOC_STA_MACADDR
ioctl
Change-Id: I161ac3113c01752f627bd876f85342d5a9b20ede
CRs-Fixed: 639046
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