24 Commits

Author SHA1 Message Date
Haky86
110e75dce7 a71-common: rro_overlays: Completely drop ConnectivityOverlay and SoftapOverlay
Change-Id: I4f9553a111ec41e855796a450ca1d2dee50c1727
2025-01-06 23:11:59 +01:00
Sourajit Karmakar
635a498cd4 a71-common: rro_overlays: Completely drop aptxals framework and related blobs
* This constantly crashes potentially because of the major BT stack
  changes introduced in QRP1. We need to wait for QCOM to pick and
  adapt this changes internally.

E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method isBroadcastActive()Z in class Landroid/bluetooth/BluetoothAdapter;
or its super classes (declaration of 'android.bluetooth.BluetoothAdapter' appears in /apex/com.android.btservices/javalib/framework-bluetooth.jar)

Change-Id: I8a5537122f5487a17af4ddbb6f1febd91ba20245
2025-01-06 23:11:54 +01:00
Alexander Koskovich
71358a15e3 a71-common: WifiOverlay: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: Id79540d7b7709d6dd1711bb4433f49783086018b
2024-07-31 14:06:05 +02:00
Hridaya Prajapati
091b6deb24 a71-common: WifiOverlay: Remove obsolete config_wifi_batched_scan_supported overlay
Change-Id: I18534aa41fce3c34e4136a8a9305d02deaec97f6
2024-07-31 14:05:40 +02:00
Haky86
9d9628d039 a71-common: WifiOverlay: Enable WPA3 settings by default
* Fixes missed WPA3 settings.

Change-Id: Ic12597860ef8a62a094d952df2f4f35b47168707
2024-07-29 14:35:04 +02:00
lesl
270bac0c5e a71-common: WifiOverlay: Add SAE and SAE transition mode in configuration
Bug: 142752869
Test: atest frameworks/opt/net/wifi/tests/wifitests/
Test: Manual test, fake test code to enable SAE and SAE transition mode,
Client which support SAE will identify SAP enabled in SAE mode.
In transition mode, the non-support SAE client(likes P16 devices) can connect succeed.
But Client which support SAE (likes P18 devices) will fail to connect since current Pixel
driver not support the SAE connection. But SAP beacon show it secured by SAE which P18
will show correct security type (i.e. SAE) in wifi scan list.

Change-Id: I77d2143858b22ec32152265e713ea3254e913832
2024-07-29 14:35:04 +02:00
Oscar Shu
5722c07b38 a71-common: WifiOverlay: Update overlay to support MAC randomization on open SSIDs
Bug: 270441948
Test: compile
Change-Id: I7de4086de1f5fa5cb8aaeaac772086ec14b706db
2024-07-29 14:35:04 +02:00
Nate Jiang
28da9366c1 a71-common: WifiOverlay: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: I92b8bb86cd544077dfaeec71f5b56e1cd33bd39b
2024-07-29 14:35:04 +02:00
chenpaul
0a789d52a4 a71-common: WifiOverlay: Override disable firmware roaming via HAL API
Bug: 178398607
Bug: 186722424
Test: Local
Change-Id: I81231bc8f2112090cd1c8753e0c9d26173731dd7
2024-07-29 14:35:04 +02:00
xshu
7f455e5ab2 a71-common: WifiOverlay: Disable Sta+Sta on older devices
These feature were originally enabled for testing purposes.

Bug: 173044646
Test: none
Change-Id: I6d38a93abdc994bdcf0dd774f34f3ae2e6f0a8da
2024-07-29 14:35:04 +02:00
David Su
98b1a56276 a71-common: WifiOverlay: Enable MBB in device overlay
Note this isn't enough to enable MBB. The iface
HAL combination for STA+STA must also be enabled.

Bug: 173044646
Test: compiles
Change-Id: Ica955e1b8e8b8773a696f7c87e1d21c1ddf239d0
2024-07-29 14:35:04 +02:00
Roshan Pius
608d8d56d0 a71-common: WifiOverlay: Turn on STA + STA scenarios for local testing
Already enabled on coral & redfin. Also enable it on sunfish to enable
more local testing.

Note: Does not enable the feature by default. Still needs a shell
command to turn on STA + STA in the HAL.

Bug: 173044646
Bug: 177780488
Test: Compiles
Change-Id: I0a74c7008d482c81106ef3e1d02bb0ccd7aa7542
2024-07-29 14:35:04 +02:00
Hai Shalom
d4a7b2b12a a71-common: WifiOverlay: Disable WPA2 to WPA3 auto-upgrade in P18 and P19 devices
Disable WPA2 to WPA3 auto-upgrade in P18 and P19 devices.
These devices do not support roaming in WPA3 networks. Reduce the
probability of roaming issues by using WPA2 and not upgrading to WPA3.

Bug: 169948620
Test: atest ClientModeImplTest ScanResultMatchInfoTest WifiCandidatesTest
Change-Id: Ice4ffc5299f53bf635b58a36e9b8f8d45f22da22
2024-07-29 14:35:04 +02:00
Mingguang Xu
70a42553ff a71-common: WifiOverlay: Enable minimum confirmation duration
for sending network score to connectivity service

Bug: 166152800

Test: verified feature works on device
Change-Id: I495058c1ee0cbf703ca8ba0a1b2c93dc196f916e
2024-07-29 14:35:04 +02:00
Martin
1f6af0e42f a71-common: WifiOverlay: Add proper support for 5GHz hotspot
Change-Id: I8dc649ab8641b424744e2553a5abce72769b5cf4
2024-07-29 14:35:04 +02:00
Pig
6659614fc5 a71-common: WifiOverlay: Mark WifiOverlay as coreApp
Change-Id: Ibe5e9b5a80f40c790c10f9f7ac01baa7683f173e
2024-07-29 14:35:04 +02:00
David Su
d263792d98 a71-common: WifiOverlay: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Change-Id: I524bf8ae1c3522add1a0c33ab23ea3026958f2a5
2024-07-29 14:35:04 +02:00
Haky86
0293e97298 a71-common: Import SoftapOverlay from stock
* Taken from a71naxx-user 13 TP1A.220624.014 A715FXXSBDXB1 release-keys.

Change-Id: Ib2dd1dfce2d368ab8dba545ee278fb6ebf9ede5b
2024-07-29 14:35:04 +02:00
Remi NGUYEN VAN
8eddd56ee6 a71-common: Add connectivity overlay
As resources were moved from the android package to the connectivity
resources package, migrate resources to a new overlay for the new
package.

Bug: 185850634
Test: m
Change-Id: I253f5b68856850c0d334f4260eb3e7705e729f18
2024-07-29 14:35:04 +02:00
Les Lee
9d6831faf0 a71-common: WifiOverlay: Configure correct overlay configuration
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Ib1925c591d24cd605bb08eb38b7e0b182e6f10f9
2024-07-29 13:30:52 +02:00
Alexander Koskovich
4a878bce55 a71-common: overlay: Add Qualcomm® aptX™ audio codec overlays
Change-Id: I25e183e69b07ef162672752d615cc5a24202c1db
2024-07-29 12:07:56 +02:00
Michael Benedict
6fce2d1b7f a71-common: WifiOverlay: Import Softap configs
Change-Id: I9ed24f172351eba00b46b63d0d29d7c8cb51c797
2024-07-29 12:00:00 +02:00
Andrew Hexen
e13688f310 a71-common: WifiOverlay: Move to Vendor
* Needed for GSI compatibility.

Change-Id: I809fd2d5f2c98258901f766349e3d51fa960ed69
2024-07-29 12:00:00 +02:00
Roshan Pius
b2ed1eb52a a71-common: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Id8440726f9a523a2afbb796cced8e2bd2876d230
2024-07-29 12:00:00 +02:00