libwifi 0.0.3
An 802.11 Frame Parsing and Generation library in C
action.h
Go to the documentation of this file.
1/* Copyright 2021 The libwifi Authors
2 *
3 * Licensed under the Apache License, Version 2.0 (the "License");
4 * you may not use this file except in compliance with the License.
5 * You may obtain a copy of the License at
6 *
7 * http://www.apache.org/licenses/LICENSE-2.0
8 *
9 * Unless required by applicable law or agreed to in writing, software
10 * distributed under the License is distributed on an "AS IS" BASIS,
11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 * See the License for the specific language governing permissions and
13 * limitations under the License.
14 */
15
16#ifndef LIBWIFI_CORE_ACTIONS_H
17#define LIBWIFI_CORE_ACTIONS_H
18
19#include "../frame.h"
20#include <stdint.h>
21
22/* Defined action fixed parameter values */
26 // Reserved 2
41 // Reserved 17
54 // Reserved 30-125
57 // Error 128-255
58};
59
80 char *detail;
81} __attribute__((packed));
82
84 uint8_t category;
86} __attribute__((packed));
87
91} __attribute__((packed));
92
93#endif /* LIBWIFI_CORE_ACTIONS_H */
libwifi_actions
Definition: action.h:23
@ ACTION_CDMG
Definition: action.h:51
@ ACTION_RADIO_MEASUREMENT
Definition: action.h:29
@ ACTION_QOS
Definition: action.h:25
@ ACTION_PROTECTED_DOPA
Definition: action.h:33
@ ACTION_SA_QUERY
Definition: action.h:32
@ ACTION_GLK
Definition: action.h:53
@ ACTION_VENDOR_PROTECTED
Definition: action.h:55
@ ACTION_UNPROTECTED_DMG
Definition: action.h:44
@ ACTION_DMG
Definition: action.h:40
@ ACTION_FILS
Definition: action.h:50
@ ACTION_FLOW_CONTROL
Definition: action.h:48
@ ACTION_WNM
Definition: action.h:34
@ ACTION_FAST_SESSION_TRANSFER
Definition: action.h:42
@ ACTION_VHT
Definition: action.h:45
@ ACTION_SPECTRUM_MGMT
Definition: action.h:24
@ ACTION_FAST_BSS_TRANSITION
Definition: action.h:30
@ ACTION_HT
Definition: action.h:31
@ ACTION_MESH
Definition: action.h:37
@ ACTION_VENDOR
Definition: action.h:56
@ ACTION_ROBUST_AV_STREAM
Definition: action.h:43
@ ACTION_CMMG
Definition: action.h:52
@ ACTION_SELF_PROTECTED
Definition: action.h:39
@ ACTION_MULTIHOP
Definition: action.h:38
@ ACTION_PUBLIC
Definition: action.h:28
@ ACTION_BLOCK_ACK
Definition: action.h:27
@ ACTION_SIG
Definition: action.h:47
@ ACTION_UNSUPPORTED_WNM
Definition: action.h:35
@ ACTION_UNPROTECTED_SIG
Definition: action.h:46
@ ACTION_CTRL_MCS_NEG
Definition: action.h:49
@ ACTION_TDLS
Definition: action.h:36
struct libwifi_action_detail __attribute__((packed))
uint8_t detail_length
Definition: action.h:79
struct libwifi_action_detail details
Definition: action.h:85
struct libwifi_action_fixed_parameters fixed_parameters
Definition: action.h:90
struct libwifi_mgmt_unordered_frame_header frame_header
Definition: action.h:89