HS 2.0: Include parsed WAN Metrics in RX-HS20-ANQP event
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 3 Oct 2012 10:58:56 +0000 (13:58 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 3 Oct 2012 10:58:56 +0000 (13:58 +0300)
commit2edcd5046a8e090de69e162088925317393eb66b
tree5fbbc35cc436789ed6732f1ac3b4df7fe2ddbe9b
parent315dbfb11e391d648a11204e24a7333c3827c9df
HS 2.0: Include parsed WAN Metrics in RX-HS20-ANQP event

This adds parsed version of WAN Metrics information to the control
event message as follows:

RX-HS20-ANQP 02:00:00:00:01:00 WAN Metrics 01:8000:1000:80:240:3000

format: <WAN Info>:<DL Speed>:<UL Speed>:<DL Load>:<UL Load>:<LMD>
WAN Info: B0-B1: Link Status, B2: Symmetric Link, B3: At Capabity
   (encoded as two hex digits)
Downlink Speed: Estimate of WAN backhaul link current downlink speed in kbps;
1..4294967295; 0 = unknown
Uplink Speed: Estimate of WAN backhaul link current uplink speed in kbps
1..4294967295; 0 = unknown
Downlink Load: Current load of downlink WAN connection (scaled to 255 = 100%)
Uplink Load: Current load of uplink WAN connection (scaled to 255 = 100%)
Load Measurement Duration: Duration for measuring downlink/uplink load in
tenths of a second (1..65535); 0 if load cannot be determined

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/hs20_supplicant.c