Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
soc:2009:oremanj:notes:protocol [2009/05/17 18:03] rwcr |
soc:2009:oremanj:notes:protocol [2009/05/27 17:05] (current) rwcr PS-Poll clarification |
||
---|---|---|---|
Line 153: | Line 153: | ||
* Bits 0-1: 2-bit Protocol Version field. Always 0; if nonzero we must drop the packet. | * Bits 0-1: 2-bit Protocol Version field. Always 0; if nonzero we must drop the packet. | ||
* Bits 2-3: 2-bit Type field. | * Bits 2-3: 2-bit Type field. | ||
- | ** 0: Management frame (association, breacon, authentication, etc). | + | * 0: Management frame (association, breacon, authentication, etc). |
- | ** 1: Control frame (ACK, RTS, CTS). | + | * 1: Control frame (ACK, RTS, CTS). |
- | ** 2: Data. | + | * 2: Data. |
* Bits 4-7: 4-bit Subtype field. | * Bits 4-7: 4-bit Subtype field. | ||
- | ** For frames of type 0 (Management): | + | * For frames of type 0 (Management): |
- | *** 0: Association request; 1: Association response. | + | * 0: Association request; 1: Association response. |
- | *** 2: Reassociation request; 3: Reassociation response. | + | * 2: Reassociation request; 3: Reassociation response. |
- | *** 4: Probe request; 5: Probe response. | + | * 4: Probe request; 5: Probe response. |
- | *** 8: Beacon. | + | * 8: Beacon. |
- | *** 9: ATIM. | + | * 9: ATIM. |
- | *** 10: Disassociation. | + | * 10: Disassociation. |
- | *** 11: Authentication; 12: Deauthentication. | + | * 11: Authentication; 12: Deauthentication. |
- | *** 13: Action. | + | * 13: Action. |
- | ** For frames of type 1 (Control): [we hope the card handles these] | + | * For frames of type 1 (Control): [we hope the card handles these] |
- | *** 11: RTS [request to send]. | + | * 11: RTS [request to send]. |
- | *** 12: CTS [clear to send]. | + | * 12: CTS [clear to send]. |
- | *** 13: ACK [acknowledgement]. | + | * 13: ACK [acknowledgement]. |
- | ** For frames of type 2 (Data): | + | * For frames of type 2 (Data): |
- | *** 0: Data. | + | * 0: Data. |
- | *** 4: Null (no data). | + | * 4: Null (no data). |
The second byte in the Frame Control field is a set of flags: | The second byte in the Frame Control field is a set of flags: | ||
Line 252: | Line 252: | ||
=== PS-Poll frame === | === PS-Poll frame === | ||
- | Sent by nodes to an AP; purpose currently a mystery. | + | Sent by nodes to an AP; used for managing low-power devices, which we won't be using. |
* Address 1 is the MAC address of the AP we're polling. | * Address 1 is the MAC address of the AP we're polling. | ||
* Address 2 is our MAC address. | * Address 2 is our MAC address. |