110 likes | 125 Views
This paper by Michael Montemurro from BlackBerry introduces the Service Transaction Protocol (STP) as part of the Pre-Association Messages (PAM) for TGaq. The STP is implemented as an advertisement protocol enabling communication over the IEEE 802.11 air interface. It differs from ANQP and allows unsolicited push messages from the station to access points. The protocol facilitates bi-directional message sequences initiated by the ULP without needing specific responses. Messages can be signed for data integrity.
E N D
TGaq Transaction Protocol Authors: Date: 2013-07-16 Michael Montemurro, BlackBerry
Abstract Strawman Transaction Protocol for TGaq Michael Montemurro, BlackBerry
Background • TGaq develops simple MAC protocol • Defines over-the-air messages only (PAM) • Meets low level requirements of use cases • Other Fora deal with higher layers (L2+) • Liaison to other fora of our use cases Michael Montemurro, BlackBerry
Transaction Protocol • Part of the PAM (Pre-Association Messages) • The TP is implemented as an advertisement protocol enabling it to be carried, over the IEEE 802.11 air interface, by the existing GAS mechanism. • Use a new advertisement protocol id “STP” – service transaction protocol (e.g. like RLQP) • STP is different from ANQP • Not a request/response mechanism • Allows unsolicited push messages from the STA • Messages can carry information from non-AP STA to AP Michael Montemurro, BlackBerry
Transaction Protocol • A service discovery ULP within the mobile device wishes to send a message A to the LAN or external network (e.g. to discover a service). • An STP Encapsulation message carries the ULP message A to the TXP. In turn the TXP passes the message to the co-located service discovery ULP. As the STP element type is STP Encapsulation the TXP recognises that no analysis is required. It merely forwards the message to the higher layer. Michael Montemurro, BlackBerry
Transaction Protocol • When the higher layer ULP responds with another message B, the TXP uses another STP Encapsulation message to transmit message B back to the mobile device including the STP token. If an error occurs in the TXP transaction a Return Code may be alternatively returned to the mobile. • When the STP Encapsulation message is received by the mobile terminal the contents are passed back to the service discovery ULP. Michael Montemurro, BlackBerry
Transaction Protocol • The message sequence is bi-directional and can be initiated by the ULP co-located with the TXP. Additionally STP does not need to “answer” Message A with a Message B, as it has no knowledge of how the ULP operates. • Messages could be signed to provide some level of data integrity. Michael Montemurro, BlackBerry
Possible IE Michael Montemurro, BlackBerry