WifiHAl: Add error alert support

Bug: 152366765

Test log for beacon lost alert:
01-01 00:11:36.705     8     8 W [08:18:30.889195][dhd][wlan] MACEVENT: WLC_E_LINK DOWN flags:0x0 status:0 reason:1
01-01 00:11:36.736     8     8 W [08:18:30.920297][cfg80211][wlan] wl_notify_connect_status: [wlan0] Mode BSS. event:16 status:0 reason:1
01-01 00:11:36.920     8     8 W         : [08:18:31.103883][dhd][wlan] dhd_os_send_alert_message enter
01-01 00:11:36.943     8     8 W [08:18:31.127500][cfg80211][wlan] wl_cfg80211_alert: In : error alert eventing, reason=0x0
05-22 08:18:31.144  2589  3481 I WifiHAL : Got event: 11
05-22 08:18:31.144  2589  3481 I WifiHAL : Initiating alert callback
05-22 08:18:31.145  2808  3434 W WifiVendorHal: onDebugErrorAlert 0
05-22 08:18:31.333  2808  2888 W WifiDiags: captureAlertData: error  0

Change-Id: I4d2fe39941b791035298bc984d1906b01510d2b6
1 file changed
tree: 36db083ea6e062674bbd8f48be1efa88f23bffc6
  1. bcmdhd/
  2. .gitignore
  3. CleanSpec.mk