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
diff --git a/wpa_supplicant/notify.h b/wpa_supplicant/notify.h
index e9e39ee..0e7991b 100644
--- a/wpa_supplicant/notify.h
+++ b/wpa_supplicant/notify.h
@@ -28,7 +28,8 @@
 			       enum wpa_states old_state);
 void wpas_notify_disconnect_reason(struct wpa_supplicant *wpa_s);
 void wpas_notify_auth_status_code(struct wpa_supplicant *wpa_s);
-void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s);
+void wpas_notify_assoc_status_code(struct wpa_supplicant *wpa_s,
+				   const u8 *bssid, u8 timed_out);
 void wpas_notify_auth_timeout(struct wpa_supplicant *wpa_s);
 void wpas_notify_roam_time(struct wpa_supplicant *wpa_s);
 void wpas_notify_roam_complete(struct wpa_supplicant *wpa_s);