LDN services: Difference between revisions

CFSworks (talk | contribs)
Beacon: Restructure the "Nintendo tag" tables to make the ID explicit
CFSworks (talk | contribs)
Beacon: 802.11-ify some of the language ("tag" -> "information element")
Line 1,553: Line 1,553:


=== Beacon ===
=== Beacon ===
The SSID in the beacon can optionally be [[#GroupInfo|hidden]] (all-zero with the same length as the original SSID). The beacon contains two custom Nintendo tags with OUI <code>00:22:aa</code>; each tag has a 2-byte ID following the OUI. These Nintendo tags are not used when standard WPA2-PSK is being used. The beacon is identical to ldn, except for the following (besides SSID length difference and the lp2p-only Nintendo tags):  
The SSID in the beacon can optionally be [[#GroupInfo|hidden]] (all-zero with the same length as the original SSID). The beacon contains two vendor-specific Nintendo information elements with OUI <code>00:22:aa</code>; each IE has a 2-byte ID following the OUI. These Nintendo IEs are not used when standard WPA2-PSK is being used.
 
The beacon is identical to ldn, except for the following (besides SSID length difference and the lp2p-only Nintendo tags):  
* "Tag: Traffic Indication Map (TIM)": "DTIM count" for lp2p is 1, with ldn it's 0.
* "Tag: Traffic Indication Map (TIM)": "DTIM count" for lp2p is 1, with ldn it's 0.
* "Tag: HT Capabilities (802.11n D1.10)": "HT Short GI for 20MHz" is set to "Not supported", for ldn it's "Supported".
* "Tag: HT Capabilities (802.11n D1.10)": "HT Short GI for 20MHz" is set to "Not supported", for ldn it's "Supported".
* "Tag: Vendor Specific: Microsoft Corp.: WMM/WME: Parameter Element" "Ac Parameters ACI 0": "CW Min: 15" for lp2p, "CW Min: 63" for ldn.
* "Tag: Vendor Specific: Microsoft Corp.: WMM/WME: Parameter Element" "Ac Parameters ACI 0": "CW Min: 15" for lp2p, "CW Min: 63" for ldn.


Note that during group creation the beacon may be missing the Nintendo tags in some cases, since group creation didn't finish yet.
Note that during group creation the beacon may be missing the Nintendo IEs in some cases, since group creation didn't finish yet.


The first Nintendo tag (ID 0x0600) contains the following data:
The first Nintendo IE (ID 0x0600) contains the following data:


{| class="wikitable" border="1"
{| class="wikitable" border="1"
Line 1,579: Line 1,581:
|}
|}


The second Nintendo tag (ID 0x0601) contains the following data (data is encrypted if enabled, there's also an additional 0x14-bytes when encrypted):
The second Nintendo IE (ID 0x0601) contains the following data (data is encrypted if enabled, there's also an additional 0x14-bytes when encrypted):


{| class="wikitable" border="1"
{| class="wikitable" border="1"