qcacmn: Add changes to add scan entry in scan cache

Add changes to add scan entry in scan cache.
Also takes care of duplicate detection and update.

Change-Id: I6715e75bdfc7e703a644b165e699662fa05f4c62
CRs-Fixed: 1095299
2 files changed