[PATCH V3] wpa_supplicant: Add bandwidth and center freq info to signal_poll

Jouni Malinen j at w1.fi
Sat Jun 22 05:03:18 EDT 2013


On Thu, Jun 06, 2013 at 12:01:23PM +0300, Ilan Peer wrote:
> diff --git a/wpa_supplicant/ctrl_iface.c b/wpa_supplicant/ctrl_iface.c
> @@ -5010,9 +5030,12 @@ static int wpa_supplicant_signal_poll(struct wpa_supplicant *wpa_s, char *buf,
>  		return -1;
>  
>  	ret = os_snprintf(buf, buflen, "RSSI=%d\nLINKSPEED=%d\n"
> -			  "NOISE=%d\nFREQUENCY=%u\n",
> +			  "NOISE=%d\nFREQUENCY=%u\nWIDTH=%s\n"
> +			  "CENTER_FRQ1=%d\nCENTER_FRQ2=%d\n",

Thanks, applied with this print part made conditional on useful
information being available (i.e., moving the append-to-string from
AVG_RSSI patch to this first one).

-- 
Jouni Malinen                                            PGP id EFC895FA


More information about the HostAP mailing list