Wait URSK_DELETE_NTF from Session Deinit path

When DELETE_URSK_FOR_CCC_SESSION option is enabled,
HAL sends URSK_DELETE_CMD from CCC session closing without waiting
the notification, it only checks RSP for it.

If another session tries to start another CCC ranging while URSK_DELETE_CMD is ongoing, UWB returns REJECTED status code.
It seems that SR100 cannot handle starting a ranging and deleting
URSK at the same time.

This patch adds a barrier in handling URSK_DELETE_CMD,
so session closing is finished after URSK_DELETE_NTF is received.

Bug: 344010725
Test: start multiple ccc ranging sessions and check logs
Change-Id: Ic75dbefbe87e3aa3ae5b98d39284dc8a14aeac48
Merged-In: Ic75dbefbe87e3aa3ae5b98d39284dc8a14aeac48
1 file changed
tree: 3ccb51564c65f1739e987281706a27fb2ff6f434
  1. aidl/
  2. extns/
  3. halimpl/
  4. Android.bp