mesh: Retransmit the last Commit Message in the Committed state
authorMasashi Honma <masashi.honma@gmail.com>
Wed, 15 Apr 2015 10:28:16 +0000 (19:28 +0900)
committerJouni Malinen <j@w1.fi>
Sat, 25 Apr 2015 12:36:41 +0000 (15:36 +0300)
commitfabc6dd8c47a8fcf0649908490ee22ab9aa794bc
treecf7049125d2aff6649d336e201d33a164733c3de
parentbfcc073caf4c0520163181285ead65d699ff2bb4
mesh: Retransmit the last Commit Message in the Committed state

Previously, mesh state machine transmits updated Commit Message when
receiving a Confirm Message in Committed state. According to the
standard, it should (re)send the latest Commit Message previously sent.

IEEE Std 802.11-2012, 11.3.8.6.4 Protocol instance behavior - Committed
state:
"Upon receipt of a Con event, ... If Sync is not greater than
dot11RSNASAESync, the protocol instance shall increment Sync, transmit
the last Commit Message sent to the peer, and set the t0
(retransmission) timer."

Signed-off-by: Masashi Honma <masashi.honma@gmail.com>
src/ap/ieee802_11.c