Compare commits

..

6 Commits

Author SHA1 Message Date
jeltz d33f6a8a10 Retrieve and use a per-PSK vlan_description 3 years ago
jeltz d4be67fd82 Add default_radius_vlan in sta_info
Used to store the vlan_description corresponding to RADIUS tag 0.
3 years ago
jeltz 6f3975c2d1 Fix selection of Tunnel* attributes by tag
The initial implementation was doing useless work.
3 years ago
jeltz d0316808b4 Add a per PSK vlan_description 3 years ago
jeltz b08a042e2d Replace some vlan_ids with vlan_descriptions
It should ease the integration of PPSK.
3 years ago
jeltz c95f05a15c Support for RADIUS attributes filtering by tag 3 years ago

@ -2321,11 +2321,12 @@ ieee802_11_set_radius_info(struct hostapd_data *hapd, struct sta_info *sta,
{
u32 session_timeout = info->session_timeout;
u32 acct_interim_interval = info->acct_interim_interval;
struct vlan_description *vlan_id = &info->vlan_id;
struct hostapd_sta_wpa_psk_short *psk = info->psk;
char *identity = info->identity;
char *radius_cui = info->radius_cui;
sta->default_radius_vlan = info->vlan_id;
sta->default_radius_vlan = *vlan_id;
hostapd_free_psk_list(sta->psk);
if (hapd->conf->wpa_psk_radius != PSK_RADIUS_IGNORED)

Loading…
Cancel
Save