summaryrefslogtreecommitdiff
path: root/wifi/1.6/default/hidl_struct_util.cpp
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-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-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-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-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-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