Commit graph

1882 commits

Author SHA1 Message Date
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
Gabriel Biren
f9fd4d46c3 Merge "Add new onDeviceFoundWithParams callback to the Supplicant AIDL interface." into main 2023-12-07 19:01:23 +00:00
divya.n1
b8c242abc7 Add capability bit for the roaming mode feature
in the Vendor HAL interface.

Bug: 269196966
Test: m

Change-Id: I0d4e5ed922d88f8e557509d3aa1808e168b5a077
2023-12-07 18:37:03 +00:00
Nate Jiang
b7ec0384da Add discovery session in the bootstrapping request and respond
Bug: 292462023
Test: atest SingleDeviceTest
Change-Id: I8ec57f5f2af14ccb546c452b82c62652c43f0d4e
2023-12-07 10:22:28 -08:00
maheshkkv
7d422812c7 Add HAL support for IEEE 802.11 az ranging
Bug: 295619650
Test: m
Change-Id: Ieba17a1414afa8fddca7d0d87e786c760c6789e5
2023-12-06 22:38:20 -08:00
Les Lee
b5d73ee5ce wifi: rename mode 'ON' to 'VOICE'.
To improve clarity and accommodate future functionalities,
we should rename the existing 'ON' mode to 'VOICE'.
This change establishes 'VOICE' as the fundamental mode for VOIP operations.
Additionally, it paves the way for adding future modes, such as 'VOICE_VIDEO',
as the system evolves.

Bug: 295885471
Test: TH

Change-Id: Ie3b54f02cf3c73b5a9c2a805ec36703dfd541666
2023-12-07 06:08:57 +00:00
Les Lee
b792cda368 wifi: Supports new feature flag about Voip mode
ag/25582780 is the vts for this aidl change.

Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I74f8861d43a2a5850dfb3b5b57575858d7f61398
2023-12-07 04:48:46 +00:00
Les Lee
8efe3759f8 wifi: Supports setVoipMode in HAL
Bug: 295885471
Test: manual test, wifi works normally
Change-Id: I20e1479de84fa892c986929eebc692b33f5607a1
2023-12-07 03:52:37 +00:00
Kai Shi
7d0e5e927b Add the HAL support for getCachedScanResult.
Bug: 269485350
Test: adb shell cmd wifi get-cached-scan-data
Test: adb shell halutil -get_cached_scan_results
Test: hardware/interfaces/wifi/aidl/default/tests/runtests.sh
Change-Id: Ie94fbdd51a21c25c6aefa4afbd40cfcaabbe0f8c
2023-12-06 17:30:39 -08:00
Gabriel Biren
7932ef62f5 Merge "Add android.hardware.wifi.common as a dependency in the supplicant VTS tests." into main 2023-12-06 17:07:58 +00:00
Gabriel Biren
3bdac1771f Merge "Supplicant: Add support to configure and indicate additional vendor data" into main 2023-12-06 17:07:58 +00:00
Vinay Gannevaram
0fe91de0cd Add new onDeviceFoundWithParams callback to the
Supplicant AIDL interface.

Also mark the previous onDeviceFound callbacks
as deprecated.

Bug: 296069900
Test: atest VtsHalWifiSupplicantP2pIfaceTargetTest

Change-Id: Ibeaf20832292a680adf94703b7a0eda1dc9f82d5
2023-12-05 23:17:55 +00:00
Gabriel Biren
7d1bdeb2d4 Add android.hardware.wifi.common as a dependency
in the supplicant VTS tests.

Bug: 296069900
Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \
            VtsHalWifiSupplicantStaNetworkTargetTest \
	    VtsHalWifiSupplicantP2pIfaceTargetTest
Change-Id: I1f6bd7d4c019c39ed9fdfc56db2bc446542f7be2
2023-12-05 20:21:29 +00:00
Gabriel Biren
fd567250a6 Merge "Import android.hardware.wifi.common in the Supplicant interface." into main 2023-12-05 18:35:41 +00:00
Vinay Gannevaram
f503a6f156 Supplicant: Add support to configure and indicate additional vendor data
Add interface support for indicating additional vendor data as list
of Oui Keyed Data in network configuration and connection capabilities.

Bug: 296069900
Test: m

Change-Id: I4ec4a193a51ddce32006284db7e61b2f3de03f03
2023-12-05 00:42:38 +00:00