summaryrefslogtreecommitdiff
path: root/cesar/maximus
diff options
context:
space:
mode:
authorNélio Laranjeiro2013-05-17 13:33:21 +0200
committerNélio Laranjeiro2013-05-24 15:38:33 +0200
commit0d0c903eb051d845cbbb47554caa7855f5e6d39c (patch)
tree3a2efd1f501ed72278ba6e8af21f52f024b3ca6b /cesar/maximus
parent1ed5a82ca996f65a6b8e20191e239cc1cb88d27a (diff)
cesar/cp/av/sta/action: compute the TEI renew date, closes #3968
HPAV allows the TEI lease to be configurable on a range from 0x0001 to 0xffff (1 minute to approximatively 45days). As we used a renew margin of 5 minutes, we were not able to renew our TEI if the lease time was lesser of equal to 5 minutes, it had for consequence in our product to program the renew event in a far future. Another change in this commit concerns the behavior of the renew when the station is authenticated. To detect a request failure, a timer was programmed with the MARGIN value divided by 2 i.e. 2.5 minutes. From now the request is considered failed after the half of the calculated margin i.e. 15s if the lease was a minute, 30s if the lease was greater than a minute (see cp_av_sta_action_lease_renew function). Note: This bug has been confirmed during the Interoperability certification tests with the Gigle Test Matrix plugs when it acts as a CCo. Gigle's CCo provides a lease of 5 minutes value at the first CC_ASSOC.REQ (i.e. Join) request.
Diffstat (limited to 'cesar/maximus')
0 files changed, 0 insertions, 0 deletions