[PATCH 3/4] events: Add new channel condition parameters to bgscan signal change event handling

Paul Stewart pstew
Fri Oct 1 10:31:22 PDT 2010


From: Paul Stewart <pstew at google.com>

Signed-off-by: Paul Stewart <pstew at google.com>
---
 wpa_supplicant/events.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index fb4a48e..717b4d3 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -1723,7 +1723,9 @@ void wpa_supplicant_event(void *ctx, enum wpa_event_type event,
 	case EVENT_SIGNAL_CHANGE:
 		bgscan_notify_signal_change(
 			wpa_s, data->signal_change.above_threshold,
-			data->signal_change.current_signal);
+			data->signal_change.current_signal,
+			data->signal_change.current_noise,
+			data->signal_change.current_txrate);
 		break;
 	default:
 		wpa_printf(MSG_INFO, "Unknown event %d", event);
-- 
1.7.1




More information about the Hostap mailing list