WPS: Store device info and make it available through AP ctrl_iface

Store a copy of device attributes during WPS protocol run and make it
available for external programs via the control interface STA MIB
command for associated stations. This gives access to device name and
type which can be useful when showing user information about associated
stations.
This commit is contained in:
Jouni Malinen 2009-09-07 22:09:13 +03:00 committed by Jouni Malinen
parent 52eb293dd2
commit 2678509dec
13 changed files with 170 additions and 1 deletions

View file

@ -185,6 +185,8 @@ struct eap_sm {
struct wpabuf *assoc_wps_ie;
Boolean start_reauth;
u8 peer_addr[ETH_ALEN];
};
int eap_user_get(struct eap_sm *sm, const u8 *identity, size_t identity_len,