Commit Graph

1896 Commits

Author SHA1 Message Date
Sunil Ravi
4236f3b063 Merge "Add p2p methods for add group, go Negotiation and Invitation" into main 2024-01-13 04:44:48 +00:00
Vinay Gannevaram
338dbe0046 Add p2p methods for add group, go Negotiation and Invitation
Add addGroupWithParams, onGoNegotiationRequestWithParams and
onInvitationReceivedWithParams to P2P Supplicant interface with
vendor data as an optional parameter. Also deprecates the previous
addGroup, onGoNegotiationRequest and onInvitationReceived.

Bug: 296069900
Test: Build successfully
Change-Id: I475df52fe087aff39728e2567583b48b7484a7ee
2024-01-13 00:16:38 +00:00
Treehugger Robot
efe81b72e9 Merge "APF exempt list for TVs to use hardware feature" into main am: 23776d5001 am: 0776fdb744 am: 1f7d802d7a
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2906619

Change-Id: I43fc647866b438e9f6859807dca020e546ec30fd
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-12 07:32:19 +00:00
Treehugger Robot
d169122297 Merge "Wifi: Modified API for addGroupWithConfig" into main 2024-01-12 05:27:51 +00:00
Sunil Ravi
fda43ac86a Wifi: Modified API for addGroupWithConfig
Deprecated the existing addGroupWithConfig API
which is used to setup a P2P group owner or join a group as a group client
with the specified configuration(SSID, password, band/group). Added a new modified API called
addGroupWithConfigurationParams to include the authentication key
management used to setup a connection.

Bug: 297426719
Test: Build successfully
Change-Id: Iafc692bbbaac9f4d98f5983951dc87dc4438988a
2024-01-11 23:14:27 +00:00
Treehugger Robot
cadbe176ec Merge "Baseline NewApi issues" into main 2024-01-11 18:54:37 +00:00
Andres Schafhauser
f91d7adfc4 APF exempt list for TVs to use hardware feature
Instead of expecting MdnsOffloadManagerService to exist which is
correct in principle but VTS fails as use of GSI is required.

Bug: 318332352
Test: atest VtsHalWifiStaIfaceTargetTest
Change-Id: I47453e7ad009b08aadf7c09fc144d2166ef9991b
2024-01-11 17:11:13 +00:00
Cole Faust
2424cc007d Baseline NewApi issues
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.

This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.

Bug: 268261262
Test: Presubmits
Change-Id: I3e4bcd76bad422513d48712303ce5c857511d9be
2024-01-10 12:30:37 -08:00
Treehugger Robot
d7e1cc02e2 Merge changes Icfaa316b,Ic26706d7 into main am: 671b88bf73 am: 02e41b2f79 am: 8dbed42cc2
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2902174

Change-Id: Ie16491def9f79c79e1cf1061461a95858191d008
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-10 00:12:00 +00:00
Treehugger Robot
7d9413620e Merge "Make apex availability to com.android.wifi explicit" into main am: 73d544063c am: 9f19956f46 am: ecee1fe07f
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/2898709

Change-Id: I18c674431402c789254f634239a2fea24ad01e64
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2024-01-09 22:48:33 +00:00
Treehugger Robot
671b88bf73 Merge changes Icfaa316b,Ic26706d7 into main
* changes:
  Add missing libc++ includes
  No need to modify acc for std::accumulate
2024-01-09 22:23:55 +00:00
Tomasz Wasilczyk
4891ece5c6 Add missing libc++ includes
Bug: 175635923
Test: m MODULES-IN-hardware-interfaces-wifi
Change-Id: Icfaa316bb50b680a2c03c3d818f6ae01860dd334
2024-01-09 12:30:51 -08:00
Spandan Das
9a21c4162c Make apex availability to com.android.wifi explicit
This is done implicitly today via a baseline map in
build/soong/apex/apex.go. Make this explicit in Android.bp

Bug: 281077552
Test: m nothing
Change-Id: I71d9a6ce9707557f8e7652adc7afa3292ef9188d
2024-01-06 00:01:41 +00:00
Vinay Gannevaram
870da833b6 RTT: Add OuiKeyedData List in ranging APIs
Add vendor data in ranging API and event as OuiKeyedData List.

Bug: 296069900
Test: m
Change-Id: Ifaf8c3f49624cbf8c760157d329c2e022935a9c3
2024-01-04 20:45:37 +00:00
Mahesh KKV
ea414bf237 Add number of spatial streams for 11az results
Bug: 317922145
Test: m
Change-Id: I28bedde8e5ffc5c34c9f8b26ee4a3ae06974a481
2024-01-02 20:16:12 -08:00
Hung-ying Tyan
8608726f1e Merge "Revert "Set min_sdk_version:34"" into main 2023-12-28 10:16:17 +00:00
Mahesh KKV
d710e2ab84 Merge "Update TWT related comments" into main 2023-12-28 00:12:36 +00:00
Priyanka Advani
b8a16f8b92 Revert "Set min_sdk_version:34"
Revert submission 25624362-persistable-bundle-hack

Reason for revert: Likely culprit for b/317912559

Reverted changes: /q/submissionid:25624362-persistable-bundle-hack

Change-Id: I785a66a9542f9798ec89d2b85059db68c9ce8130
2023-12-28 00:07:56 +00:00
Mahesh KKV
e3ee7500f3 Update TWT related comments
Bug: 317805772
Test: m
Change-Id: I29800e8ecbbce245d2038eb098890b8b2c1ecbf1
2023-12-27 15:16:00 -08:00
Gabriel Biren
882d7079d1 Merge "Address ANAPIC feedback for Supplicant V3 and Vendor HAL V2." into main 2023-12-27 21:28:36 +00:00
Gabriel Biren
db8e5d8201 Merge "P2p: Add OuiKeyedData List in ExtListen API" into main 2023-12-27 17:19:06 +00:00
Gabriel Biren
f8e4a123d8 Address ANAPIC feedback for Supplicant V3
and Vendor HAL V2.

Comments addressed include:
- Indicate version where methods were
  deprecated.
- Bitmasks should use an int rather
  than an enum.
- Use 'us' suffix instead of 'micros'
  for consistency with the rest of
  the interface.

Bug: 317404786
Test: m
Change-Id: I026479aaa3f358913f61c6505ff9dccb0edc5ae8
2023-12-27 00:46:04 +00:00
Steven Moreland
63922f9931 Merge "Set min_sdk_version:34" into main 2023-12-26 20:36:29 +00:00
Aleti Nageshwar Reddy
9bba0a7215 P2p: Add OuiKeyedData List in ExtListen API
Add configureExtListenWithParams API to configure the vendor data as
OuiKeyedData List.

Bug: 296069900
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I7a6394b751ab61e1ca5153ce6ca6ddc55792900c
2023-12-26 19:16:19 +00:00
Gabriel Biren
54382a1f72 Check interface version when running the
VTS test for disableEht.

New AIDL methods are not available on
the next configuration.

Bug: 314851431
Test: atest VtsHalWifiSupplicantStaNetworkTargetTest
      # Test runs on the trunk configuration, but
      # gets skipped on the next configuration.
Change-Id: I13bcfa51146e14932a8f377b1590719a683cea4f
2023-12-15 22:28:31 +00:00
maheshkkv
f58c8e09d3 Make TWT wake interval type as long
As the TWT Wake Interval Mantissa is a 2-byte field and TWT Wake
Interval Exponent is a 5-bit field, Maximum TWT Wake Interval =
65,535 x [2^31] microseconds. So make TWT wake inteval field type as
long to avoid overflow.

Bug: 296108122
Test: m
Change-Id: Id77cd094ae0601839de7f01994072d50ec39cd56
2023-12-14 16:46:22 -08:00
maheshkkv
6339cde065 Fix 11az non-TB measurment time unit
Bug: 295619650
Test: m
Change-Id: I8a0cc8d59db939cfc5adfd6e3ce5d6817db0a2f8
2023-12-14 12:46:28 -08:00
Mahesh KKV
19f723c2f9 Merge "Add I2R and R2I 11az LTF repetition count" into main 2023-12-14 17:59:58 +00:00
Les Lee
af860de0fc vts: Add vts to test setVoipMode
Bug: 295885471
Test: atest -c VtsHalWifiChipTargetTest
Change-Id: I976f80006aeb88bde2ae34ca4f9be72cea727d9e
2023-12-14 10:59:19 +00:00
Treehugger Robot
f0c9f34ccc Merge "P2P: Add OuiKeyedData for P2P connect and group event callbacks." into main 2023-12-14 00:54:20 +00:00
maheshkkv
31b0948915 Add I2R and R2I 11az LTF repetition count
Add IEEE 802.11az LTF repetition count for both I2R and R2I in 11az
RTT ranging result. Also remove the LTF repetition count from RTT
capabilities and config. The reason for removing is that vendor
software can pick the optimized value without an input from
framework.

Bug: 295619650
Test: m
Change-Id: I54b3ba9f490a9de83ac63b1dcde1e1cb4e1bd8fc
2023-12-13 10:17:10 -08:00
Vinay Gannevaram
7fbbc9fde8 P2P: Add OuiKeyedData for P2P connect and group
event callbacks.

Bug: 296069900
Test: m

Change-Id: I80853c7d5f4ab2969676e8bca235d0f7bd7e8de2
2023-12-13 17:53:30 +00:00
Treehugger Robot
06801e822f Merge "Add HAL API for configuring MSCS in supplicant." into main 2023-12-12 21:57:07 +00:00
Mahesh KKV
87ee8c7f9a Merge "Add TWT support for vendor HAL" into main 2023-12-12 21:36:47 +00:00
Gabriel Biren
c535f588ad Add HAL API for configuring MSCS in supplicant.
Bug: 300870302
Test: m
Change-Id: Ib316ab2511293c674c21ab1838391febd3b58318
2023-12-12 21:06:51 +00:00
maheshkkv
3990382e47 Add TWT support for vendor HAL
Bug: 296108122
Test: m
Change-Id: I897d405567a23e3c30ca46dce49c52dc939b508c
2023-12-12 10:31:54 -08:00
Jooyung Han
77ffcf9da6 Set min_sdk_version:34
Change-Id: If43a2327bf3d4fa1ef10fc1965c8901b57b021f5
2023-12-12 16:29:28 +09:00
Kai Shi
2d5f8ca95f Merge "Add capability bit for the cached scan data feature" into main 2023-12-11 23:21:33 +00:00
Vinay Gannevaram
91936643d4 Add OuiKeyed Data to Aware AIDL APIs including enable,
publish, subscribe, nan pairing request and match events.

Bug: 296069900
Test: m

Change-Id: I064223e207e16b0ca24f089a9486b649a59ad1f8
2023-12-11 22:00:26 +00:00
Kai Shi
df7736245f Add capability bit for the cached scan data feature
Test: compilation
Bug: 269485350
Change-Id: I94fe5ae67a777bec955794ccd4dba7ea43b3c9aa
2023-12-11 11:50:21 -08:00
Mahesh KKV
c1f2c5e643 Merge "Add HAL support for IEEE 802.11 az ranging" into main 2023-12-11 18:35:31 +00:00
Gabriel Biren
d143a893db Merge "Add findWithParams and connectWithParams to the P2P Supplicant AIDL Interface" into main 2023-12-11 16:15:59 +00:00
Les Lee
94378bed55 Merge "wifi: Supports new feature flag about Voip mode" into main 2023-12-09 00:48:08 +00:00
Gabriel Biren
0e0762dcd7 Merge "Add QosCharacteristics to the supplicant AIDL interface." into main 2023-12-08 22:59:48 +00:00
Gabriel Biren
1652753c51 Add QosCharacteristics to the supplicant AIDL interface.
Bug: 300870302
Test: m
Change-Id: I91f44cad643c08d97def359939755597a93fee38
2023-12-08 20:31:55 +00:00
Nate Jiang
4dbabdd0ef Merge "Add discovery session in the bootstrapping request and respond" into main 2023-12-08 19:15:09 +00:00
Vinay Gannevaram
dc9ead7777 Add findWithParams and connectWithParams to the P2P
Supplicant AIDL Interface

Also deprecates the previous find and connect methods.

Bug: 296069900
Test: m

Change-Id: I764b3a7e54a6676fab9d1f4728fdbca8ce4b3c6f
2023-12-08 18:40:16 +00:00
Les Lee
d8fc1572fd Merge "wifi: rename mode 'ON' to 'VOICE'." into main 2023-12-07 23:23:02 +00:00
Kai Shi
a0fc82730d Merge "Add the HAL support for getCachedScanResult." into main 2023-12-07 22:02:48 +00:00
Gabriel Biren
eb508f78d1 Merge "Add capability bit for the roaming mode feature in the Vendor HAL interface." into main 2023-12-07 21:07:48 +00:00