summaryrefslogtreecommitdiff
path: root/wifi/1.6/default
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-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-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-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-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-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-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-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
2022-02-18Reinstate functionality of IWifiChip.getAvailableModes()Quang Luong
IWifiChip.getAvailableModes() is needed as a dependency for VTS tests. Reinstate the API to avoid breaking old tests, ignoring the new AP_BRIDGED concurrency type. Bug: 219617823 Test: atest VtsHalWifiV1_0TargetTest VtsHalWifiV1_1TargetTest VtsHalWifiV1_2TargetTest VtsHalWifiV1_3TargetTest VtsHalWifiV1_4TargetTest VtsHalWifiV1_5TargetTest Change-Id: Ide5b251b20f1ea56a76c2ce3b04c4e28fc29624c
2022-02-08Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrencyQuang Luong
Add IfaceConcurrencyType to represent Iface implementations that have different concurrency implications for the same IfaceType, such as Bridged AP and Single AP for IWifiApIface. Add a new IWifiChip HAL API, getAvailableModes_1_6 to return the new concurrency type combos. Bug: 207055799 Test: 1.6/default/tests/runtests.sh Change-Id: Iad20a3d95d54dd8b624db912fd3153c2a3372f45
2022-01-29Add HAL APIs for WiFi CHRE NAN RTTIsaac Chiou
1. Add new APIs to enable/disable CHRE NAN RTT 2. Add a new API to register callback. This callback should report events from WLAN driver for CHRE. Test: New APIs work fine Bug: 206614765 Change-Id: I8c8ab002064a9556be2e7d3972703bb3255a3a41
2022-01-26wifi: Get the supported radio combinations matrixSunil Ravi
Added API to get the supported radio combinations of the chip. This is mainly to check if the chip is capable of multi band simultaneous operation. For Example in case of a chip which has two radios, where one radio is capable of 2.4GHz 2X2 only and another radio which is capable of either 5GHz or 6GHz 2X2, number of possible radio combinations in this case are 5 and possible combinations are: {{{2G 2X2}}, //Standalone 2G {{5G 2X2}}, //Standalone 5G {{6G 2X2}}, //Standalone 6G {{2G 2X2}, {5G 2X2}}, //2G+5G DBS {{2G 2X2}, {6G 2X2}}} //2G+6G DBS Bug: 208877624 Test: vts test Change-Id: I4c90f80002ca138133a575bca80dfdef2a593ab2
2022-01-26Wifi: Remove premature 'return'Greg Kaiser
We want to fill in more fields in our conversion method, so we let the logic proceed to all of them. Test: TreeHugger Bug: 203220137 Change-Id: Ia7a9c978ec778eebd17b9ce74f43cc320e92b971
2022-01-26Merge changes from topics "Aware3.1", "instantFilter"Nate(Qiang) Jiang
* changes: Wifi: Add HAL API and implementation for instant mode filter Wifi: Add support for Wifi Aware 3.1
2022-01-25Wifi: Add HAL API and implementation for instant mode filterNate Jiang
Bug: 203220137 Test: pass vts test Change-Id: I7f4d9d4390ad69bcfdb2419c2e172c4df2d6863b
2022-01-25Wifi: Add support for Wifi Aware 3.1Nate Jiang
Bug: 203220137 Test: pass vts test Change-Id: I576e03b7cb94466c094a7e4ca1714dddd81ddd5f
2022-01-25Wifi: API to set the indoor state of deviceSunil Ravi
If set, it indicates that the device is operating in an indoor environment. When driver receives this indication, it can safely enable WFD GO operation on indoor channels. Bug: 207671411 Test: Manual basic wifi tests Change-Id: I4cc4c22444f0796c280220534d43c4ae8cae0899
2022-01-21Wifi: Add implementation for vendor HAL for 11be supportAhmed ElArabawy
This commit adds the implementation for the HAL API changes to enable 11be support. Bug: 198746544 Test: Build Succeeds Test: VTS test Change-Id: I2d1f296856698951c2c0111200e7c7bf661da132
2022-01-19Wifi: Add vendor hal 1.6 to rc and make filesAhmed ElArabawy
This CL adds ver 1.6 in Android.bp and rc file. Those were missed when the HAL version was uprev'd 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: I5ce531b92af12b54b4a25548e6fef1198fb23716
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