Commit graph

6 commits

Author SHA1 Message Date
Isaac Chiou
4d7babd833 Enable open source multi akm for specific Broadcom project
For cross akm roaming function, we have two ways in supplicant :
1. Open source way.
2. Broadcom specific way.

Originally, Broadcom projects follow way 2 due to the limitation of the driver.
For now, we plan to move all Broadcom projects to follow way 1 to make supplicant code clean and downsteam without conflict.

For those projects which is ready for way 1, we control it to follow way 1 with WIFI_BRCM_OPEN_SOURCE_MULTI_AKM config.
For the rest of Broadcom projects, we still follow way 2 until the multiple AKMs is fully supported by driver and verified.

For ongoing Broadcom project, we also need to exercise the open source path in supplicant to do multiple AKM configuration to comply with WFA Wifi 7 AKM24 specification (b/331896542 ).

Bug: 246871098
Test: AU drop test
Test: Cross AKM roaming test
Flag: EXEMPT enable control flag for aosp akms
Change-Id: I70165b0af3271ef4835119d1c7cd5a906cf4cb59
2024-12-25 00:59:50 -08:00
Hsiu-Chang Chen
a90bbb8178 wifi: convert WIFI_FEATURE_IMU_DETECTION to the equivalent soong variable
Bug: 287607876
Test: SAR scenario is set properly with motion sensor status
Change-Id: I7b692201582a9c761a08973ae8d9b4e6e89ad824
2023-06-27 12:01:36 +08:00
Shuibing Dai
a89bc01469 Disable p2p 6ghz channels
It has an effect on following case:
If STA firstly connected with 6ghz channel AP and Application create p2p group without config, wpa_supplicant also tried to select STA-associated channel(in this case, i.e. 6ghz ch).

Bug: 281733591
Test: atest android.net.wifi.cts.ConcurrencyTest#testPersistentGroupOperation
Change-Id: Iff6aa55439c08c9e31cef04a1681967fb1278658
2023-05-12 16:49:38 -07:00
Jimmy Chen
5d98978037 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
Change-Id: If34d3173bba6d3fe2296d3dd63b05d99221faf42
2022-08-24 08:53:46 +08:00
Roger Wang
e7f637420b wlan: configure channel 149/36 as p2p preferred channels.
In previoues mechanism, p2p channel only can raise on same channel
while STA connected to 2.4GHz band. However, if device support DBS
mode, we should allow p2p to raise on 5GHz band for 230423673 higher
performance.

Bug: 230423673
Test: connect STA to 2.4GHz and verified that p2p is able to come up in
5GHz DBS mode.

Change-Id: I9eb836be753a33923d4769cf395c292fb84e942a
2022-04-30 12:05:05 +08:00
Isaac Chiou
bc33412014 wlan: initial function bring up
Include necessary definition, service for wlan function.

Bug: 228913716
Test: WiFi can be enabled with "adb shell cmd wifi set-wifi-enabled enabled"
Test: WiFi can scan with "adb shell cmd wifi start-scan"
Test: WiFi can get scan result with "adb shell cmd wifi list-scan-results"
Test: WiFi can connect to an AP with "adb shell cmd wifi connect-network GoogleGuest open"
Test: WiFi can ping with "adb shell ping www.google.com"
Change-Id: I8798cc1662191f72d672d6b40f92d1ce62b84c74
2022-04-13 15:24:51 +08:00