Add wpa_supplicant AP mode events for Public Action frames

This commit is contained in:
Jouni Malinen 2010-04-11 20:33:33 +03:00 committed by Jouni Malinen
parent 195420b8d1
commit c706d5aa17
6 changed files with 52 additions and 4 deletions

View file

@ -1355,6 +1355,14 @@ static void handle_action(struct hostapd_data *hapd,
hostapd_sa_query_action(hapd, mgmt, len);
return;
#endif /* CONFIG_IEEE80211W */
case WLAN_ACTION_PUBLIC:
if (hapd->public_action_cb) {
hapd->public_action_cb(hapd->public_action_cb_ctx,
(u8 *) mgmt, len,
hapd->iface->freq);
return;
}
break;
}
hostapd_logger(hapd, mgmt->sa, HOSTAPD_MODULE_IEEE80211,