3.1.5.1 Configuration of a PSD Information Element

Upon receipt of the MLME-PSD-Transmit.request primitive including discovery data, the configuration process enters the Configuring state. If the primitive is successful, a proximity service discovery (PSD) information element is created, as specified in section 2.2, and added to the PSD IEs Table. The hash of the format identifier, in addition to the discovery data, is included in the information element. The MLME issues an MLME-PSD-Transmit.confirm that reflects the result of the MLME-PSD.Transmit.request. If the result is not equal to success, the configuration process returns to the Not Configured state. If the result is equal to success, the configuration process enters the Configured state. Upon entering this state of the configuration process, the server enters the Enabled state (if it is not already in the Enabled state) and the information element MUST be transmitted in all IEEE802.11 Beacon frames following the request. It SHOULD also be included in IEEE802.11 Probe Responses. The rules for sending a Probe response are unchanged from the rules specified in [IEEE802.11-2007] section 11.1.3.2.1.

A request that does not contain any discovery data cancels the transmission of a previously registered discovery information element for the same format identifier.

Note that in the Proximity Service Discovery Protocol, it is the responsibility of the application to protect itself against hash collisions.

The MLME-PSD-Transmit.confirm primitive is generated by the MLME to indicate the commencement of the Beacon and Probe Response transmission containing the information element. It is not generated until the information element configuration is attempted.

The primitive parameters are as follows:

 MLME-PSD-Transmit.confirm
 (ResultCode)

The ResultCode indicates the success of the MLME-PSD-Transmit.request and is an enumeration of the following:

  • SUCCESS

  • Invalid Parameters

  • No resources

If the ResultCode is equal to success, the effect of primitive is to notify the SME that the discovery information element will be included in subsequent Beacon and Probe Response transmissions. Otherwise, the effect of the primitive is to notify the SME that the PSD IE was not configured correctly and will not be included in subsequent Beacon and Probe Response transmissions.