summaryrefslogtreecommitdiff
path: root/wifi/1.6/default/wifi_chip.cpp
AgeCommit message (Collapse)Author
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-12wifi: Fix single AP iface isn't deletedLes Lee
Bug: 222599182 Test: Manual Test, the AP iface is deleted. Change-Id: I07faf0afcd1f69af4ef57204ceac02c2572453f2
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-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-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-25Wifi: Add HAL API and implementation for instant mode filterNate Jiang
Bug: 203220137 Test: pass vts test Change-Id: I7f4d9d4390ad69bcfdb2419c2e172c4df2d6863b
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