hostapd/src/ap
Jouni Malinen 03610ad28d Clean up get_seqnum() use for IPN
Some driver wrappers may implement this by writing eight octets even
though IPN is only six octets. Use a separate WPA_KEY_RSC_LEN (8) octet
buffer in the call to make sure there is enough buffer room available
for the full returned value and then copy it to IPN field.

The previous implementation used the following igtk field as the extra
buffer and then initialized that field afterwards, so this change does
not fix any real issue in behavior, but it is cleaner to use an explicit
buffer of the maximum length for get_seqnum().

Signed-hostap: Jouni Malinen <j@w1.fi>
2013-10-26 15:56:07 +03:00
..
accounting.c Add Acct-Session-Id into Access-Request messages 2012-12-18 18:13:31 +02:00
accounting.h Add Acct-Session-Id into Access-Request messages 2012-12-18 18:13:31 +02:00
acs.c hostapd: Select any supported channel if ACS fails 2013-10-23 00:44:48 +03:00
acs.h hostapd: Propagate ACS errors to iface setup 2013-10-23 00:44:36 +03:00
ap_config.c P2P: Select PSK based on Device Address instead of Interface Address 2013-09-01 11:30:26 +03:00
ap_config.h Add test option for specifying hardcoded BSS Load element 2013-10-18 14:13:45 +03:00
ap_drv_ops.c Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
ap_drv_ops.h Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
ap_list.c Fix OLBC non-HT AP detection to check channel 2013-03-30 18:05:18 +02:00
ap_list.h ap_list: Remove unused functions 2013-03-30 17:06:50 +02:00
ap_mlme.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ap_mlme.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
authsrv.c Add server identity configuration for EAP server 2013-07-07 20:30:10 +03:00
authsrv.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
beacon.c Add test option for specifying hardcoded BSS Load element 2013-10-18 14:13:45 +03:00
beacon.h Pass signal strength through, fix units 2012-04-01 18:48:12 +03:00
ctrl_iface_ap.c Allow AP mode deauth/disassoc reason code to be overridden 2013-01-12 17:51:54 +02:00
ctrl_iface_ap.h Add wpa_supplicant AP mode STA deauthenticate/disassociate commands 2012-02-25 17:22:48 +02:00
dfs.c DFS: Add forgotten break statement 2013-10-26 15:55:09 +03:00
dfs.h hostapd: DFS with 40/80 MHz channel width support 2013-10-17 21:05:44 +03:00
drv_callbacks.c Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
eap_user_db.c Add preliminary support for using SQLite for eap_user database 2012-11-21 00:47:47 +02:00
gas_serv.c P2P: Fix Action frame processing if Interworking is enabled 2013-02-04 15:38:35 +02:00
gas_serv.h HS 2.0: Add NAI Home Realm query 2012-08-26 18:59:15 +03:00
hostapd.c hostapd: Add AP DFS support 2013-10-17 21:05:15 +03:00
hostapd.h P2P: Maintain list of per-client PSKs for persistent groups 2013-09-01 21:35:10 +03:00
hs20.c HS 2.0: Add mechanism for disabling DGAF 2012-07-30 18:23:52 +03:00
hs20.h HS 2.0: Add Hotspot 2.0 Indication for AP 2012-07-30 18:23:38 +03:00
hw_features.c hostapd: Propagate ACS errors to iface setup 2013-10-23 00:44:36 +03:00
hw_features.h hostapd: DFS with 40/80 MHz channel width support 2013-10-17 21:05:44 +03:00
iapp.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
iapp.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
ieee802_1x.c Replace printf with wpa_printf debug message 2013-10-14 20:40:57 +03:00
ieee802_1x.h Share a single definition of EAPOL-Key structure for WEP keys 2012-08-07 21:27:01 +03:00
ieee802_11.c Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
ieee802_11.h Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
ieee802_11_auth.c Use a shared function for freeing PSK list 2012-11-25 18:01:55 +02:00
ieee802_11_auth.h Use a shared function for freeing PSK list 2012-11-25 18:01:55 +02:00
ieee802_11_ht.c hostapd: Do not change HT40 capability due to OBSS scan 2013-02-09 12:16:58 +02:00
ieee802_11_shared.c Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
ieee802_11_vht.c hostapd: Make VHT IE struct more expressive 2013-03-01 18:24:57 +02:00
Makefile Remove unnecessary SUBDIRS loops from src/*/Makefile 2010-04-17 17:10:31 +03:00
p2p_hostapd.c Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
p2p_hostapd.h Remove the GPL notification from files contributed by Atheros 2012-02-11 19:39:36 +02:00
peerkey_auth.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
pmksa_cache_auth.c WNM: Remove PMKSA cache entry on ESS disassoc imminent notification 2013-05-23 16:50:06 +03:00
pmksa_cache_auth.h WNM: Remove PMKSA cache entry on ESS disassoc imminent notification 2013-05-23 16:50:06 +03:00
preauth_auth.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
preauth_auth.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
sta_info.c hostapd: Fix segfault after ACS when flushing STAs 2013-10-14 20:44:31 +03:00
sta_info.h Interworking: Add support for QoS Mapping functionality for the AP 2013-10-18 14:13:45 +03:00
tkip_countermeasures.c hostapd: Fix a regression in TKIP countermeasures processing 2012-11-18 13:06:03 +02:00
tkip_countermeasures.h hostapd: Fix a regression in TKIP countermeasures processing 2012-11-18 13:06:03 +02:00
utils.c Move hostapd global callback functions into hapd_interfaces 2012-08-25 13:47:05 +03:00
vlan_init.c hostapd: Fix couple of deinit path cases to clear pointers 2013-09-25 18:14:13 +03:00
vlan_init.h Move generic AP functionality implementation into src/ap 2009-12-25 01:12:50 +02:00
vlan_util.c Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
vlan_util.h Add option to use netlink to create and remove VLAN interfaces 2012-08-10 14:09:05 +03:00
wmm.c Make hostapd_eid_wmm_valid() return more logical return values 2011-12-17 12:41:00 +02:00
wmm.h Rename some src/ap files to avoid duplicate file names 2009-12-26 00:05:40 +02:00
wnm_ap.c WNM: Additional BSS Transition Management capability 2012-12-22 20:27:30 +02:00
wnm_ap.h WNM: Enable WNM-Sleep Mode configuration with hostapd SME/MLME 2012-12-16 19:16:17 +02:00
wpa_auth.c Clean up get_seqnum() use for IPN 2013-10-26 15:56:07 +03:00
wpa_auth.h P2P: Select PSK based on Device Address instead of Interface Address 2013-09-01 11:30:26 +03:00
wpa_auth_ft.c FT RRB: Clear pad field to avoid sending out uninitialized data 2013-08-25 00:35:10 +03:00
wpa_auth_glue.c hostapd: Fix couple of deinit path cases to clear pointers 2013-09-25 18:14:13 +03:00
wpa_auth_glue.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wpa_auth_i.h P2P: Make peer's P2P Device Address available to authenticator 2013-09-01 11:05:19 +03:00
wpa_auth_ie.c Move cipher suite selection into common helper functions 2013-01-13 16:58:54 +02:00
wpa_auth_ie.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
wps_hostapd.c P2P: Maintain list of per-client PSKs for persistent groups 2013-09-01 21:35:10 +03:00
wps_hostapd.h WPS: Add command for fetching carrier record for NFC handover 2013-02-10 17:12:55 +02:00