From: Mat Martineau Date: Fri, 18 May 2012 03:53:42 +0000 (-0700) Subject: Bluetooth: Add the ERTM receive state machine X-Git-Tag: v3.6-rc1~125^2~57^2~290^2~83 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d2a7ac5d5d3a0b166ac128883bd088064c029fe5;p=pandora-kernel.git Bluetooth: Add the ERTM receive state machine This adds a top-level state machine with handlers for two receive states defined in the ERTM spec, RECV and SREJ_SENT. The reqseq value of the incoming frame is also validated at the top level and a disconnection is forced if it is invalid. The actions for the RECV and SREJ_SENT states are implemented according to the state tables in the ERTM specification. Signed-off-by: Mat Martineau Signed-off-by: Gustavo Padovan --- Reading git-diff-tree failed