Commit Graph

5 Commits

Author SHA1 Message Date
Sunil Ravi
b3580db65e set ieee80211w to optional in hostapd config
set ieee80211w=1 config item in the hostapd config file.
This is to enable IEEE 802.11 management frame protection
feature optional on SoftAp interface. This is mainly to
prevent denial of service when an attacker sends deauthentication
frames to the clients connected to the SoftAp.

Bug: 197874458
Test: Connected STAs to Pixel SofAp and confirmed from the
sniffer logs that PMF capabilities are exchanged and the required
management frames are protected.

Change-Id: Ia773b79a65771a7b53c561ed2601f02aee82f0ea
2022-01-28 12:25:46 -08:00
Serik Beketayev
8af7a72133 [IHostapd] Support vendor-specific AP config elem
Bug: 139204496
Test: mma -j
Change-Id: I059f6f8b1f9bb5916e49a95b670a815be5fa188b
2022-01-13 02:55:48 -08:00
Les Lee
e08c28676b wifi: Extend onFailure callback for dual AP case
There are two AP instances when a bridged mode AP is running.
Extend onFailure callback to support bridged mode cases.
So if there is a problem in one of the instances, the framework
can handle the failure separately. (i.e. No need to shutdown the
whole Soft Ap).

Bug: 188921389
Test: Test with test code, the callback works normally.
Change-Id: I1c4679e1898a29be910709b7a9be0222ad3e575c
2021-12-14 01:32:00 +00:00
Yu Ouyang
378d3c4e7d wifi: Inform framework HAPD_IFACE_DISABLED when AP iface unavailable
This change adds callback to inform framework AP interface
HAPD_IFACE_DISABLED when driver event INTERFACE_UNAVAILABLE.

Bug: 197292709
Test: Local build & manual test disable/enable Wi-Fi
Change-Id: I8b6bad1a6444737e7cdbaaedb1eb0c85a86eb240
2021-10-26 10:04:54 -07:00
Gabriel Biren
72cf9a5469 Add support of of AIDL interface to hostapd server.
Add support of AIDL interface and AIDL service implementation.
Change hostapd to AIDL service and managed by service manager.
Hostapd client will need to use service manager to obtain the
interace and use AIDL client to call the interface methods.

Bug: 194806512
Test: Manual test, enable Wifi hotspot successfully.

Change-Id: Ic4b22250f05f9d59ee39ccc8305c62a29e9cfdaf
2021-09-24 22:45:53 +00:00