summaryrefslogtreecommitdiff
path: root/wifi/1.5/default/tests
AgeCommit message (Collapse)Author
2022-01-12Wifi: Uprev wifi HAL to 1.6Ahmed ElArabawy
This commit uprevs the Wifi vendor HAL to 1.6 Bug: 214108561 Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \ VtsHalWifiV1_1TargetTest \ VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \ VtsHalWifiV1_3TargetTest \ VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest \ VtsHalWifiV1_5TargetTest VtsHalWifiNanV1_5TargetTest VtsHalWifiApV1_5TargetTest Change-Id: I059a5de346e353f7fba1e008ecd9fb4611e66880
2021-03-22Wifi: Add Radio ID in radiostatsSunil Ravi
Get the radio id from link layer radio stats to framework. Bug: 163103321 Test: VTS test - VtsHalWifiV1_5TargetTest Change-Id: I6958a5b78798edf8529032cd255c61ba6a442633
2021-03-11Merge "WiFi: Get peer information (BSS load and rate statistics) from link ↵Mingguang Xu
layer stats" into sc-dev
2021-03-09WiFi: Get peer information (BSS load and rate statistics) from link layer statsMingguang Xu
Bug: 177069641 Test: atest VtsHalWifiV1_5TargetTest Signed-off-by: Mingguang Xu <mingguangxu@google.com> Change-Id: I3373d065a3b04d86f52d5bffe28d5581746cef4a
2021-03-03wifi: Wait for driver ready and bring up the interface when setMacAddress failsRoshan Pius
setMacAddress may fail in some scenarios like SSR inprogress. In such case framework is not bringing up the iface again if it was brought down to set random MAC address. Due to this subsequent operations like scans are failing with "Network Down" error and Wi-Fi can't recover until Wi-Fi restarts. To avoid this bring up the iface irrespective of setMacAddress status. Modified the original CL to move the WifiIfaceUtil creation to inside Wifi object since that is where the legacy HAL instance is created for the corresponding chip. This helps keeping the setMacAddress logic still inside WifiIfaceUtil. Modified the iface_util lifetime - no longer a singleton, one instance created per wifi chip instance. Bug: 174183763 Test: Wifi can be enabled when back-to-back SSR and wifi on Change-Id: I926b59f5da126aba222e05d1e570c0c19de739ed
2021-02-22WiFi: Get contention time stats from wifi_wmm_ac_stat in link_layer_statsMingguang Xu
Bug: 172412545 Test: atest VtsHalWifiV1_5TargetTest Signed-off-by: Mingguang Xu <mingguangxu@google.com> Change-Id: Iab7ae64f55d2b3a2a654492f7566c8df2671c230
2020-11-06wifi: Add STA + STA HIDL API'sRoshan Pius
Add the HIDL API's + shim + VTS tests. Bug: 170305665 Test: atest VtsHalWifiV1_3TargetTest VtsHalWifiV1_5TargetTest Change-Id: I26ada11aebfe8082bfda251cf7e6990e0aa08a06
2020-10-15[AWARE] Add support for instant communication modeNate Jiang
Bug: 160725208 Test: atest WifiNanIfaceTest,VtsHalWifiNanV1_0TargetTest, VtsHalWifiNanV1_2TargetTest, VtsHalWifiNanV1_4TargetTest, VtsHalWifiNanV1_5TargetTest Change-Id: I66c8532dcd50d5702edbcd89005b9e7373659594
2020-08-11Wifi: support multiple WIFI chipsJimmy Chen
The WIFI HAL API has support for multiple WIFI chips (IWifiChip instances) however the implementation is hard-coded to support only a single WIFI chip. This change reworks the implementation so multiple WIFI chips will be supported. Support for multiple chips is based on the concept that each chip is represented by its own vendor HAL library. The implementation will look for descriptor files for vendor HAL libraries under /vendor/etc/wifi/vendor_hals. It will parse descriptors, dynamically load vendor HAL libraries and create WifiLegacyHal and WifiChip objects for each loaded vendor HAL library. One of the descriptors should be marked with "primary" flag. The implementation will create the first WifiChip object for this library. Typically it is the one providing the best WIFI functionality, which was previously used as the only WIFI chip. Additional support is added inside WifiChip and WifiLegacyHal for getting available chip modes and concurrency combinations from the vendor HAL if available, and allowing the chip to override network interface name when creating interfaces. The mechanism for getting chip capabilities is improved to allow getting chip-global capabilities, which are independent of any created interfaces. For example, if the framework needs to start a SoftAP on the 60GHz band, it needs to find a chip which supports this band, but before creating any interface on the chip. The new mechanism allows this. Bug: 146922967 Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \ VtsHalWifiV1_1TargetTest \ VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \ VtsHalWifiV1_3TargetTest \ VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest Change-Id: Ibdff93ea56aff186d4b5361ac77f6f448a0dfd45
2020-07-22wifi: upgrade wifi interface to 1.5Jimmy Chen
Only a root interface is added and update relevant code. Bug: 160834354 Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiNanV1_0TargetTest VtsHalWifiApV1_0TargetTest \ VtsHalWifiV1_1TargetTest \ VtsHalWifiV1_2TargetTest VtsHalWifiNanV1_2TargetTest \ VtsHalWifiV1_3TargetTest \ VtsHalWifiApV1_4TargetTest VtsHalWifiNanV1_4TargetTest VtsHalWifiRttV1_4TargetTest Change-Id: Ifdffa3a6996eca1d3c4b499258896cdfe5eb9c87