diff options
author | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2012-07-15 17:06:05 +0100 |
---|---|---|
committer | Ricardo Cerqueira <cyanogenmod@cerqueira.org> | 2013-01-03 12:21:57 +0000 |
commit | 3b571a6ec9f6ded92addf452ffc3c4b49a9685f9 (patch) | |
tree | 4ecfe0e99066a0f15427f9b8e34a2464646470b7 | |
parent | 261a70c1fedbfe818956f78aae9c677f4e0fbe7b (diff) | |
download | external_wpa_supplicant_8-3b571a6ec9f6ded92addf452ffc3c4b49a9685f9.zip external_wpa_supplicant_8-3b571a6ec9f6ded92addf452ffc3c4b49a9685f9.tar.gz external_wpa_supplicant_8-3b571a6ec9f6ded92addf452ffc3c4b49a9685f9.tar.bz2 |
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
-rw-r--r-- | src/drivers/driver_wext.c | 7 |
1 files changed, 7 insertions, 0 deletions
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 */ }; |