Add SDK check to decide the callback

This handle the HAL version is higher than the system

Bug: 328820052
Test: atest CtsWifiTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:523e13c8bdc4aeae11ef8c062adf470af64993f1)
Merged-In: I3b1e24526c9eccd490cc2ec4cdf6d586dc407d55
Change-Id: I3b1e24526c9eccd490cc2ec4cdf6d586dc407d55
2 files changed