]> git.ipfire.org Git - thirdparty/hostap.git/commit
RADIUS: Update full message for interim accounting updates
authorJouni Malinen <j@w1.fi>
Mon, 29 Feb 2016 09:44:43 +0000 (11:44 +0200)
committerJouni Malinen <j@w1.fi>
Mon, 29 Feb 2016 09:52:16 +0000 (11:52 +0200)
commit669b5324e1a8af354bc17f516980e17071e48233
treed7fac8070247cab84983e7010076a5510a7e7e7e
parent251953bcb6f1503ce8bb2f1f57b2c2a44c601685
RADIUS: Update full message for interim accounting updates

Instead of using the RADIUS client retransmission design with the old
RADIUS message contents for each retry, trigger a completely new interim
accounting update instance more quickly (using the same schedule as
RADIUS message retransmissions) to improve accounting updates in cases
where RADIUS message delivery fails. This allows the server to get up to
date information from the time the "retry" message was sent instead of
the old information from the time the first failed attempt was sent.

Signed-off-by: Jouni Malinen <j@w1.fi>
src/ap/accounting.c
src/ap/sta_info.h
src/radius/radius_client.c
src/radius/radius_client.h