[PATCH] Only send Acct-Session-Id and Connect-Info in Accounting-Requests

Nick Lowe nick.lowe at lugatech.com
Mon Jan 25 06:26:55 PST 2016


Connect-Info is also broken at present as it gives inaccurate
information with 802.11ng, 802.11na and 802.11ac clients

const char *radius_mode_txt(struct hostapd_data *hapd)
{
switch (hapd->iface->conf->hw_mode) {
case HOSTAPD_MODE_IEEE80211AD:
return "802.11ad";
case HOSTAPD_MODE_IEEE80211A:
return "802.11a";
case HOSTAPD_MODE_IEEE80211G:
return "802.11g";
case HOSTAPD_MODE_IEEE80211B:
default:
return "802.11b";
}
}



More information about the Hostap mailing list