Notify the bssid driver sent in assoc-reject.

Hidl sends the wpa_s->pending_bssid to framework in assoc-reject event.
Pending_bssid is the bssid supplicant suggested to driver to connect.
But driver has its own network selection logic to pick the bssid.
Driver sends the last bssid it tried to connect and failed in
assoc-reject event. Since hidl is sending the pending_bssid
to framework, framework is always blocklisting pending_bssid instead
of the actual bssid driver sends in assoc reject.

Fix is to fetch the rejected bssid from assoc-reject event and send
to hidl in wpas_notify_assoc_status() call.
Also removed assoc timed_out flag from struct wpa_supplicant and added
as a parameter in wpas_notify_assoc_status() call.

Bug: 162671127
Test: Manual - Basic wifi functional test.
Test: Manual - Triggered assoc-rejection event and confirmed from logs
               that hidl is sending the bssid came from driver in
               assoc-reject event.
Change-Id: I4173bce8277dc6c2511dc7384e4a6cc4bb56a3e3
Merged-In: I4173bce8277dc6c2511dc7384e4a6cc4bb56a3e3
8 files changed