From 3b571a6ec9f6ded92addf452ffc3c4b49a9685f9 Mon Sep 17 00:00:00 2001 From: Ricardo Cerqueira Date: Sun, 15 Jul 2012 17:06:05 +0100 Subject: wext: Re-add support for SIGNAL_POLL and DRIVER Both of these are still used by JB, and wext wifi drivers have some weird behaviors without it (like a reported poor connection 100% of the time) Change-Id: I15339dbea4e15831465e2bb52b11675cb20dc34c --- src/drivers/driver_wext.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c index bd37ca1..701b7a3 100644 --- a/src/drivers/driver_wext.c +++ b/src/drivers/driver_wext.c @@ -40,6 +40,11 @@ static int wpa_driver_wext_get_range(void *priv); static int wpa_driver_wext_finish_drv_init(struct wpa_driver_wext_data *drv); static void wpa_driver_wext_disconnect(struct wpa_driver_wext_data *drv); static int wpa_driver_wext_set_auth_alg(void *priv, int auth_alg); +#ifdef ANDROID +extern int wpa_driver_wext_driver_cmd(void *priv, char *cmd, char *buf, + size_t buf_len); +extern int wpa_driver_signal_poll(void *priv, struct wpa_signal_info *si); +#endif int wpa_driver_wext_set_auth_param(struct wpa_driver_wext_data *drv, @@ -2498,5 +2503,7 @@ const struct wpa_driver_ops wpa_driver_wext_ops = { #ifdef ANDROID .sched_scan = wext_sched_scan, .stop_sched_scan = wext_stop_sched_scan, + .signal_poll = wpa_driver_signal_poll, + .driver_cmd = wpa_driver_wext_driver_cmd, #endif /* ANDROID */ }; -- cgit v1.1