platform_hardware_interfaces/wifi/1.6
Sunil Ravi 07ef191b5a wifi: Clear ring bufffers on detecting buffer corruption
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-05-23 11:20:57 -07:00
..
default wifi: Clear ring bufffers on detecting buffer corruption 2022-05-23 11:20:57 -07:00
vts [VTS] test new API with success result 2022-03-15 16:41:21 -07:00
Android.bp Wifi: Update wifi vendor hal API with changes for 11be support 2022-01-21 14:07:02 -08:00
IWifi.hal Wifi: Uprev wifi HAL to 1.6 2022-01-12 15:10:45 -08:00
IWifiChip.hal Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrency 2022-02-08 09:54:00 -08:00
IWifiNanIface.hal Wifi: Add support for Wifi Aware 3.1 2022-01-25 14:40:53 -08:00
IWifiNanIfaceEventCallback.hal Wifi: Add support for Wifi Aware 3.1 2022-01-25 14:40:53 -08:00
IWifiRttController.hal Wifi: Add support for Wifi Aware 3.1 2022-01-25 14:40:53 -08:00
IWifiRttControllerEventCallback.hal Wifi: Update wifi vendor hal API with changes for 11be support 2022-01-21 14:07:02 -08:00
IWifiStaIface.hal Wifi: Update wifi vendor hal API with changes for 11be support 2022-01-21 14:07:02 -08:00
types.hal Add IfaceConcurrencyType and related methods for AP_BRIDGED concurrency 2022-02-08 09:54:00 -08:00