summaryrefslogtreecommitdiff
path: root/wifi
AgeCommit message (Collapse)Author
2023-04-26Wifi: Convert Legacy logger feature to hidlChip capability correctlyntarte
This commit introduce to add correct HIDL flags while converting wifi-Hal logger flags to hidl flags. Change-Id: I49f86e30c936921cbeea6b0fc8a1a93857ad7fa8 CRs-Fixed: 3472190
2023-03-29Wifi: Remove the default assumption of legacy feature setsSwarn Singh
Legacy feature DEBUG_RING_BUFFER_VENDOR_DATA and DEBUG_HOST_WAKE_REASON_STATS are assumed to be supported by default in all the devices as there is no mechanism to get this capability from the host driver. This assumption shall fail certain compliance tests where these legacy features are not supported. Hence removing such assumptions. Change-Id: Iee2aef2c1d77c469acf247cbb6314363b51bea8a CRs-Fixed: 3387770
2022-12-06Merge t-qpr-2022-12Matt Lee
Change-Id: I86a901f08eb87588bd2163cf8287e7dacea699b6
2022-07-26Wifi: Add support to query and use driver advertised interface combinationPurushottam Kushwaha
Interface combinations in legacy-hal is predefined with 'WIFI_HAL_INTERFACE_COMBINATIONS' build flag. Netlink interface already provides supported interface combination via 'NL80211_CMD_GET_WIPHY' using attribute 'NL80211_ATTR_INTERFACE_COMBINATIONS' , thus build time dependency to configure interface combination for each target can be removed by querying the combination at runtime. Change-Id: I28f95b048de4b7b1ca49f16c3ef4afe7941bb25e CRs-Fixed: 3230634
2022-07-12Merge "wifi: create interface before running hostapd vts" into ↵Les Lee
stage-aosp-tm-ts-dev
2022-07-07Update supplicant AIDL VTS tests to use the newGabriel Biren
version of stopWifiFramework(). Bug: 234853504 Test: atest VtsHalWifiSupplicantStaIfaceTargetTest \ VtsHalWifiSupplicantStaNetworkTargetTest \ VtsHalWifiSupplicantP2pIfaceTargetTest # AIDL service Change-Id: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac (cherry picked from commit 99bb1485108ae2da16045cc845e7e7b43126441d) Merged-In: I9e06f025a5b6b44d6a6caf8362c64bd5a546e1ac
2022-07-07wifi: create interface before running hostapd vtsLes Lee
Adding to support creating interface in hostapd vts. cp from aosp/2116501 Bug: 230008250 Test: 1. setprop ro.vendor.wifi.sap.interface swlan0 2. vts-tradefed run commandAndExit vts --skip-all-system-status-check --primary-abi-only --skip-preconditions --module VtsHalWifiHostapdV1_2Target -l INFO Change-Id: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4 Merged-In: I483671cb01b68bc6f5ac4840c61b10f4c31f10e4
2022-06-29In supplicant VTS test setup, make sure that theGabriel Biren
wifi hal is stopped before starting wifi. Bug: 234853504 Test: atest VtsHalWifiSupplicantV1_0TargetTest # HIDL service Change-Id: I413c3803a6607a72cc3aa8a5fa208551be1b1032 (cherry picked from commit bfe60cda4d9400f4f370b46e26cac97db3207917) Merged-In: I413c3803a6607a72cc3aa8a5fa208551be1b1032
2022-05-23wifi: Clear ring bufffers on detecting buffer corruptionSunil Ravi
While appending the newly received buffer to ring buffer list, check the size of the first buffer in the ring buffer list. If it is invalid(zero size or exceeding the max allowed size), return failure & clear all the ring buffers. Bug: 232477451 Test: vts test - 1.6/default/tests/runtests.sh Test: Manual - Ran basic wifi tests & checked bugreports Change-Id: Iaa41262f534914b971fe178053f1974248a46e70
2022-04-28Merge "Check and catch the callback transaction error" into tm-devTreeHugger Robot
2022-04-26Merge "Add HAL APIs for TX power limits" into tm-devIsaac Chiou
2022-04-25Check and catch the callback transaction errorNate Jiang
Bug: 230277359 Test: vts VtsHalWifiRttV1_6TargetTest Change-Id: Ibcccd0d60d6907c95cfa95c0e55501248bc65e4b
2022-04-21Add HAL APIs for TX power limitsIsaac Chiou
To lower the instantaneous battery current draw of WiFi, we provide a way to allow PowerManager to enable/disable Tx power limits. In the legacy HAL, we call the API in Broadcom HAL to enable/disable WiFi TX power limits. Bug: 215193418 Test: New APIs work fine Change-Id: I1fbe71c3380514e2eba96adc5902d2028a55e006
2022-04-16Freeze AIDL APIs for TMJiyong Park
Bug: 225941299 Test: m Change-Id: I61eb51c0334eb99489c6f1570110d7e18c350c99
2022-04-15Merge "wifi: Fix single AP iface isn't deleted" into tm-devLes Lee
2022-04-12wifi: Fix single AP iface isn't deletedLes Lee
Bug: 222599182 Test: Manual Test, the AP iface is deleted. Change-Id: I07faf0afcd1f69af4ef57204ceac02c2572453f2
2022-04-07Merge "wifi: Fix for returning wrong radio combinations matrix" into tm-devSunil Ravi
2022-04-06wifi: Fix for returning wrong radio combinations matrixSunil Ravi
Allocate memory in heap for carrying radio combinations matrix from driver/firmware to wifi HAL. Bug: 225764376 Bug: 225762955 Test: atest WifiChipHidlTest Change-Id: I1049f7ab9f16a35a87b7cda34ba31797fde046e3
2022-04-02Merge changes from topic "aidl_freeze_tm" into tm-devJiyong Park
* changes: Implement getInterfaceHash/Version for SoundTrigger Add -Wno-missing-permission-annotation for soundtrigger3 V3 is the latest version of keymaster HAL interface Freeze AIDL APIs for TM
2022-03-31Merge "Fixed HostApd VTS test failure." into tm-devChris Ye
2022-03-31Freeze AIDL APIs for TMJiyong Park
Bug: 225941299 Test: m Change-Id: Ie41cc0797710f813f92c65c387f247c7806d8394
2022-03-31Replace instances of strncpy and sprintf in the wifiGabriel Biren
vendor HAL with strlcpy and snprintf. Bug: 218897284 Test: m Change-Id: I0a62d1c5043cabcf6a513b8b082ad1d7a1ea451c
2022-03-28Fixed HostApd VTS test failure.Chris Ye
Add filed in hwModeParams.maximumChannelBandwidth for Non-ACS AP interface. Use HAL AP iface name instead of hardcoding constant. Bug: 226872346 Test: atest VtsHalHostApdTargetTest Change-Id: Ic5eacb99659a27cb18536a1c11f9027c13281862
2022-03-22Merge "wifi: Remove RxFilter Tests from VTS test suite" into tm-devSunil Ravi
2022-03-21wifi: Remove RxFilter Tests from VTS test suiteSunil Ravi
APF is the latest packet filter supportered in Android. So remove the tests related to deprecated RXFILTER commands. Bug: 217233384 Test: atest VtsHalWifiSupplicantStaIfaceTargetTest Change-Id: I1eb2558fe17f1f7e468440fb541aaadff215b542
2022-03-15[VTS] test new API with success resultNate Jiang
Bug: 222654265 Test: atest VtsHalWifiNanV1_6TargetTest Change-Id: I2e25ddafa4bf9caf0110a35f328330329fab8581
2022-03-08Fix VtsHalNetlinkInterceptorV1_0TestChris Weir
Move library dependencies to static_libs to fix linker error when running with ABI=armeabi-v7a Bug: 222019884 Test: atest VtsHalNetlinkInterceptorV1_0Test -- --abi armeabi-v7a Change-Id: I3566f1898b3b3fe89fcb69563b1dbd93789135dd
2022-03-01wifi: VTS test for getSupportedRadioCombinationsMatrixSunil Ravi
This change added, 1. VTS test for getSupportedRadioCombinationsMatrix() 2. Skip test for getUsableChannels_1_6 if vendor doesn't support Bug: 220201314 Bug: 221389141 Bug: 220225758 Test: atest WifiChipHidlTest Change-Id: I5ddbd4be68d74f1fa26584c94d5b10211261cc1a
2022-02-28[VTS] Add test for new HAL APINate Jiang
Bug: 220222961 Test: vts VtsHalWifiNanV1_6TargetTest Change-Id: Ibcc4cc00c21e553a68bb69946497acad79b273f3
2022-02-28[VTS] fix getCapabilitiesRequest_1_5 issueNate Jiang
Bug: 218970943 Test: vts VtsHalWifiNanV1_5TargetTest Change-Id: I4188134b9a02930661ca8c1ea7f6c5a153b87b33
2022-02-25Merge "Add VTS test for V1_6::IWifiChip::getAvailableModes_1_6" into tm-devQuang Luong
2022-02-25Merge "Change the expected AP iface index when dual STAs supported." into tm-devTreeHugger Robot
2022-02-24Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4f am: ↵Chih-hung Hsieh
fa83970b3a am: 581616e658 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232 Change-Id: I2eac13fe3b5ab0b4f15d6ceadf376e5e74124a81
2022-02-24Merge "Add timed out test files to tidy_timeout_srcs" am: ff54f73b4fChih-hung Hsieh
Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1992232 Change-Id: Ic6072a539d185abc0bcce2ef1dd4a96ddf70e3b8
2022-02-24Merge "Add timed out test files to tidy_timeout_srcs"Chih-hung Hsieh
2022-02-23Change the expected AP iface index when dual STAs supported.Chris Ye
When the HAL support dual STAs, AP should start with idx 2. Bug: 220338166 Test: atest -c android.hardware.wifi@1.0-service-tests Change-Id: Ic3780ea346417cf878b94e4ead8fc3eff22baf8f
2022-02-23Add VTS test for V1_6::IWifiChip::getAvailableModes_1_6Quang Luong
Bug: 220222963 Test: atest VtsHalWifiV1_6TargetTest Change-Id: I76908ae0e69f8e1b07a654062b1bd0122e0dd910
2022-02-23Add bssid to onEapFailure callback method.Gabriel Biren
Bug: 165342942 Test: atest VtsHalWifiSupplicantStaIfaceTargetTest Change-Id: I188ab7c5dbabd48220d38c66a46003ad3630721c
2022-02-22Merge "wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIs" ↵Gabriel Biren
into tm-dev
2022-02-22Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an ↵Treehugger Robot
interface." am: 4965e27b86 am: 1331953ef3 am: 24d6da2df8 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740 Change-Id: I979a22233e74337a0c50c22820455e142db014d1
2022-02-22Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an ↵Treehugger Robot
interface." am: 4965e27b86 Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1964740 Change-Id: If47724de35d8399d0e391a29a4aa92aa4e1dbbd7
2022-02-22wifi: Add qosPolicyRequestId in definition of supplicant AIDL APIsShivani Baranwal
This CL is to add param qosPolicyRequestId in the supplicant AIDL APIs needed for QoS policy feature. This param contains the dialog token information of the Qos Policies. Bug: 191426881 Test: atest VtsHalWifiSupplicantStaIfaceTargetTest Change-Id: I31f9bf6006652ac8c75cbdfba231535bfd676ecd
2022-02-22Merge "Add @PropagateAllowBlocking tag to supplicant methods that return an ↵Treehugger Robot
interface."
2022-02-19Merge "wifi: fix NULL pointer in unit tests" into tm-devTreeHugger Robot
2022-02-18Add timed out test files to tidy_timeout_srcsChih-Hung Hsieh
* Timed out runs do not show any warning messages. * These test files cannot finish clang-tidy runs with the following settings: TIDY_TIMEOUT=90 WITH_TIDY=1 CLANG_ANALYZER_CHECKS=1 * When TIDY_TIMEOUT is set, in Android continuous builds, tidy_timeout_srcs files will not be compiled by clang-tidy. When developers build locally without TIDY_TIMEOUT, tidy_timeout_srcs files will be compiled. * Some of these test modules may be split into smaller ones, or disable some time consuming checks, and then enable clang-tidy to run within limited time. Bug: 201099167 Test: make droid tidy-hardware-interfaces_subset Change-Id: I1de28f1572fff368f67eab512fffec9f2e5c2a9b
2022-02-18Merge "Reorder the hostapd Generation enum to list the WiFi generations ↵Gabriel Biren
chronologically." into tm-dev
2022-02-18Merge "Wifi: Add VTS tests for Vendor HAL 1.6" into tm-devAhmed ElArabawy
2022-02-18Merge "Wifi: Fix VTS tests broken due to uprev to Vendor HAL 1.6" into tm-devAhmed ElArabawy
2022-02-18Merge "Reinstate functionality of IWifiChip.getAvailableModes()" into tm-devQuang Luong
2022-02-18wifi: fix NULL pointer in unit testsJimmy Chen
getSupportedIfaceName() should be mocked to avoid NULL pointer exception. Bug: 217267980 Test: atest android.hardware.wifi@1.0-service-tests Change-Id: I97a9cb8430ea77a6fe068f20586ab27df9291400