about summary refs log tree commit diff stats
path: root/data/maps/the_bearer/rooms/Back Area.txtpb
blob: 5f0ec79433c7bfcdd387714cb371f106d624763c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
generated by cgit-pink 1.4.1 (git 2.36.1) at 2025-09-21 04:19:15 +0000
 


 LIBWIFI_CORE_AUTH_H
#define LIBWIFI_CORE_AUTH_H

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

/**
 *          Authentication Layout
 *   ─────────────────────────────────
 *  ┌─────────────────────────────────┐
 *  │              Header             │  Bytes: 24
 *  ├─────────────────────────────────┤
 *  │          Fixed Parameters       │  Bytes: 6
 *  │┌───────────────────────────────┐│
 *  ││            algorithm          ││  Bytes: 2
 *  │├───────────────────────────────┤│
 *  ││           transaction         ││  Bytes: 2
 *  │├───────────────────────────────┤│
 *  ││             status            ││  Bytes: 2
 *  │└───────────────────────────────┘│
 *  ├─────────────────────────────────┤
 *  │        Tagged Parameters        │  Bytes: Variable
 *  └─────────────────────────────────┘
 */

struct libwifi_auth_fixed_parameters {
    uint16_t algorithm_number;
    uint16_t transaction_sequence;
    uint16_t status_code;
} __attribute__((packed));

struct libwifi_auth {
    struct libwifi_mgmt_unordered_frame_header frame_header;
    struct libwifi_auth_fixed_parameters fixed_parameters;
    struct libwifi_tagged_parameters tags;
} __attribute__((packed));

#endif /* LIBWIFI_CORE_AUTH_H */