name: "Main Area" display_name: "Main Area" panels { name: "NEW" path: "Panels/Room 1/panel_1" clue: "new" answer: "knew" symbols: "zero" } panels { name: "DOLLARS" path: "Panels/Room 1/panel_2" clue: "dollars" answer: "cents" symbols: "pyramid" } panels { name: "NEW DOLLARS" path: "Panels/Room 1/panel_3" clue: "" answer: "nuisance" symbols: "zero" symbols: "lingo" } panels { name: "SHINE" path: "Panels/Room 1/panel_4" clue: "shine" answer: "rain" symbols: "sun" } panels { name: "CURTSY" path: "Panels/Room 1/panel_5" clue: "curtsy" answer: "bow" symbols: "sun" } panels { name: "SHINE CURTSY" path: "Panels/Room 1/panel_6" clue: "" answer: "rainbow" symbols: "lingo" } panels { name: "SUN" path: "Panels/Room 1/panel_7" clue: "sun" answer: "star" symbols: "example" } panels { name: "KOI" path: "Panels/Room 1/panel_8" clue: "koi" answer: "fish" symbols: "example" } panels { name: "SUN KOI" path: "Panels/Room 1/panel_9" clue: "" answer: "starfish" symbols: "lingo" } panels { name: "MOON" path: "Panels/Room 1/panel_10" clue: "moon" answer: "sun" symbols: "sun" } panels { name: "POWER" path: "Panels/Room 1/panel_11" clue: "power" answer: "flower" symbols: "zero" } panels { name: "MOON POWER" path: "Panels/Room 1/panel_12" clue: "" answer: "sunflower" symbols: "lingo" } panels { name: "FOUR" path: "Panels/Room 1/panel_13" clue: "four" answer: "for" symbols: "zero" } panels { name: "CAUGHT" path: "Panels/Room 1/panel_14" clue: "caught" answer: "got" symbols: "zero" } panels { name: "NET" path: "Panels/Room 1/panel_15" clue: "net" answer: "ten" } panels { name: "FOUR CAUGHT NET" path: "Panels/Room 1/panel_16" clue: "" answer: "forgotten" symbols: "lingo" } panels { name: "OUT" path: "Panels/Room 1/panel_17" clue: "out" answer: "in" symbols: "sun" } panels { name: "SEW" path: "Panels/Room 1/panel_18" clue: "sew" answer: "so" symbols: "zero" } panels { name: "NEAR" path: "Panels/Room 1/panel_19" clue: "near" answer: "far" symbols: "sun" } panels { name: "OUT SEW NEAR" path: "Panels/Room 1/panel_20" clue: "" answer: "insofar" symbols: "lingo" } panels { name: "CHOP" path: "Panels/Room 1/panel_21" clue: "chop" answer: "cop" symbols: "sparkles" } panels { name: "YOU" path: "Panels/Room 1/panel_22" clue: "you" answer: "i" symbols: "sun" } panels { name: "PLOT" path: "Panels/Room 1/panel_23" clue: "plot" answer: "lot" symbols: "sparkles" } panels { name: "CHOP YOU PLOT" path: "Panels/Room 1/panel_24" clue: "" answer: "copilot" symbols: "lingo" } panels { name: "GREEN" path: "Panels/Room 1/panel_25" clue: "green" answer: "red" symbols: "sun" } panels { name: "THINK" path: "Panels/Room 1/panel_26" clue: "think" answer: "act" symbols: "sun" } panels { name: "LION" path: "Panels/Room 1/panel_27" clue: "lion" answer: "ion" symbols: "sparkles" } panels { name: "GREEN THINK LION" path: "Panels/Room 1/panel_28" clue: "" answer: "redaction" symbols: "lingo" } ports { name: "GREAT" path: "Components/Warps/worldport" orientation: "east" } 115b1121035f329f842dafe3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
/* Copyright 2021 The libwifi Authors
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

#ifndef LIBWIFI_CORE_REASSOCREQ_H
#define LIBWIFI_CORE_REASSOCREQ_H

#include "../frame.h"
#include "../tag.h"
#include <stdint.h>

/**
 *     Reassociation Request Layout
 *   ───────────────────────────────
 *  ┌───────────────────────────────┐
 *  │              Header           │  Bytes: 24
 *  ├───────────────────────────────┤
 *  │        Fixed Parameters       │  Bytes: 10
 *  │┌─────────────────────────────┐│
 *  ││         capabilities        ││  Bytes: 2
 *  │├─────────────────────────────┤│
 *  ││           interval          ││  Bytes: 2
 *  │├─────────────────────────────┤│
 *  ││      current AP address     ││  Bytes: 6
 *  │└─────────────────────────────┘│
 *  ├───────────────────────────────┤
 *  │        Tagged Parameters      │  Bytes: Variable
 *  └───────────────────────────────┘
 */

struct libwifi_reassoc_req_fixed_parameters {
    uint16_t capabilities_information;
    uint16_t listen_interval;
    unsigned char current_ap_address[6];
} __attribute__((packed));

struct libwifi_reassoc_req {
    struct libwifi_mgmt_unordered_frame_header frame_header;
    struct libwifi_reassoc_req_fixed_parameters fixed_parameters;
    struct libwifi_tagged_parameters tags;
} __attribute__((packed));

#endif /* LIBWIFI_CORE_REASSOCREQ_H */