Commit graph

8 commits

Author SHA1 Message Date
Jimmy Chen
3749b75764 p2p: fix p2p configuration
The correct path should be under /data,
or it is not writable.

wpa_supplicant now support p2p overlay configuration, a unified
wpa_supplicant init entry can be used.

Bug: 238601241
Test: create a group and check this group is persisted
      after reboot
Merged-In: I3c5523626de22c26cb562c03e9fbd7aabf6d98e7
Change-Id: I3c5523626de22c26cb562c03e9fbd7aabf6d98e7
2022-08-04 05:20:13 +00:00
Quang Luong
bf1e7742d7 Update WIFI_HAL_INTERFACE_COMBINATIONS for 1.6 HAL
Update WIFI_HAL_INTERFACE_COMBINATIONS for 1.6 HAL, which should
explicitly specify AP_BRIDGED for bridged AP.

Bug: 207055799
Test: build
Change-Id: Ibc9ee2a5b0d446e7fe4ad4022da1a086a042e235
2022-02-09 16:41:23 +00:00
Sunil Ravi
077119357c wifi: Enable ieee80211w feature on SoftAp interface
Set ieee80211w=1 config item in the hostapd config file
based on the feature flag, BOARD_HOSTAPD_CONFIG_80211W_MFP_OPTIONAL.
This enables management frame protection and prevents 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: I6f23fd82eeec97d80d808c90ad48901eda630646
2022-02-03 20:09:33 +00:00
kensun
c6aa4c2c31 wifi: Isolate wifi configurations for customization.
move wifi configurations from BoardConfig-common.mk to wifi/BoardConfig-wifi.mk.
So, each project can decide whether it should share the same configurations or create a new one on their own.

Bug: 208159314
Test: ifconfig after attempting STA+SAP concurrency.
Change-Id: Id2474df377f242528be661fefe712d7203cdddf8
2021-12-13 02:29:15 +00:00
Sunil Ravi
bbfa6ae6ce Configure channel 149 & 36 as p2p preferred channels.
Bug: 194132777
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: I07fb6b586b89f66fd105673d47b2d2367c30e487
2021-09-28 04:58:05 +00:00
Quang Luong
d92fca454d WifiCoex: Add default channel 11 for band 40
Use default wifi channel 11 if interference from band 40
renders all 2.4GHz wifi channels unsafe for coex.

Bug: 198345384
Test: adb shell cmd wifi set-coex-cell-channels lte 40 2400000 200000 -1
0, verify that coex log does not contain unsafe channel 11

Change-Id: Ifd90ed1846bc9897a88244b5fdc964143c00d702
2021-09-07 21:04:54 +00:00
Quang Luong
59291d3c60 Add default lookup table for wifi coex
Bug: 184089520
Test: verify coex table was succesfully read in logs
Change-Id: I65e232307cf9527e3ecdc4b367f8277196025d36
2021-04-14 21:46:03 +00:00
Robin Peng
c2b5ca99e3 Move slider into gs101 and <device>
from: 026342771c6642980cb4653b1ec4d857a5d8be54

Bug: 167996145
Change-Id: I2ebf7f019afed1cbe9b60dcd82581bd3a52fe109
2021-03-06 16:31:12 +08:00