hostapd/src/ap
Johannes Berg 0fc545aee5 AP: Use monotonic time for STA accounting
For type-safety, make sta->acct_session_start a struct os_reltime
and then use monotonic time for accounting. For RADIUS reporting,
continue to use wall clock time as specified by RFC 2869, but for
the session time use monotonic time.

Interestingly, RFC 2869 doesn't specify a timezone, so the value
is somewhat arbitrary.

Signed-hostap: Johannes Berg <johannes.berg@intel.com>
2013-12-24 06:57:53 +02:00
..
accounting.c AP: Use monotonic time for STA accounting 2013-12-24 06:57:53 +02:00
accounting.h Add Acct-Session-Id into Access-Request messages 2012-12-18 18:13:31 +02:00
acs.c hostapd: Track interface state 2013-11-03 19:51:06 +02:00
acs.h hostapd: Propagate ACS errors to iface setup 2013-10-23 00:44:36 +03:00
ap_config.c hostapd: Allow a single BSS to be removed from an interface 2013-10-31 22:30:15 +02:00
ap_config.h hostapd: Add option to send OBSS scan params 2013-11-07 14:05:41 +02:00
ap_drv_ops.c hostapd: Make hostapd_set_freq_params() public 2013-12-07 20:50:15 -08:00
ap_drv_ops.h hostapd: Make hostapd_set_freq_params() public 2013-12-07 20:50:15 -08:00
ap_list.c AP: Use monotonic time for AP list 2013-12-07 20:50:15 -08:00
ap_list.h AP: Use monotonic time for AP list 2013-12-07 20:50:15 -08: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 EAP server: Initialize TLS context based on private_key 2013-11-24 18:08:45 +02:00
authsrv.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
beacon.c hostapd: Fix set beacon in multiple BSSID scenario 2013-11-22 18:02:56 +02:00
beacon.h Move AP parameter filling into a helper function 2013-11-17 17:12:58 +02:00
ctrl_iface_ap.c AP: Use monotonic time for STA connected time 2013-12-07 20:50:14 -08:00
ctrl_iface_ap.h Add chan_switch to ctrl interface of wpa_supplicant and hostapd 2013-11-17 17:12:58 +02:00
dfs.c DFS: Use channel switch when radar is detected 2013-12-07 20:50:15 -08:00
dfs.h DFS: Convert hostapd_data use to hostapd_iface 2013-11-03 19:51:06 +02:00
drv_callbacks.c nl80211/hostapd: Extend channel switch notify handling 2013-12-07 20:50:15 -08: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 GAS: Replenish AP station session timer to 5 seconds 2013-11-08 00:22:32 +02:00
gas_serv.h HS 2.0: Add NAI Home Realm query 2012-08-26 18:59:15 +03:00
hostapd.c hostapd: Clear interface_added flag on error path 2013-12-14 21:13:52 -08:00
hostapd.h nl80211/hostapd: Extend channel switch notify handling 2013-12-07 20:50:15 -08: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 Optimize 40 MHz HT co-ex scan on AP 2013-11-03 19:51:06 +02:00
hw_features.h hostapd: DFS with 40/80 MHz channel width support 2013-10-17 21:05:44 +03:00
iapp.c Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +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 AP: Use monotonic time for STA accounting 2013-12-24 06:57:53 +02: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 Use monotonic clock for last_sae_token_key_update 2013-12-07 20:50:15 -08: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 monotonic clock for RADIUS cache timeouts 2013-12-07 20:50:15 -08: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: Add option to send OBSS scan params 2013-11-07 14:05:41 +02:00
ieee802_11_shared.c AP: Use monotonic clock for SA query timeout 2013-12-07 20:50:15 -08:00
ieee802_11_vht.c hostapd: Set proper VHT capabilities 2013-11-22 18:03:04 +02:00
Makefile Add CONFIG_CODE_COVERAGE=y option for gcov 2013-11-24 19:16:12 +02: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 AP: Use monotonic clock for SA query timeout 2013-12-07 20:50:15 -08:00
sta_info.h AP: Use monotonic time for STA accounting 2013-12-24 06:57:53 +02: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 Convert perror/printf calls to wpa_printf 2013-11-02 12:58:33 +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 WPS NFC: Add more debug for NFC Password Token matching 2013-11-07 13:48:49 +02:00
wps_hostapd.h WPS: Add command for fetching carrier record for NFC handover 2013-02-10 17:12:55 +02:00