aboutsummaryrefslogtreecommitdiff
path: root/src/consts.rs
diff options
context:
space:
mode:
authorSatoshi Tanaka <[email protected]>2023-05-01 04:30:21 +0900
committerSatoshi Tanaka <[email protected]>2023-05-01 04:30:21 +0900
commit099ec7443bed2183397005b4e8ebfcd2492e2b4c (patch)
tree8dc673d4f48001b65a53d6ae4db960985d77b073 /src/consts.rs
parent5659269c8fb2f7d03d4a903e4ad48c8268668f0a (diff)
Add AP mode (unencrypted)
Diffstat (limited to 'src/consts.rs')
-rw-r--r--src/consts.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/consts.rs b/src/consts.rs
index 18502bd1a..ade3cb2c5 100644
--- a/src/consts.rs
+++ b/src/consts.rs
@@ -93,8 +93,11 @@ pub(crate) const IRQ_F2_INTR: u16 = 0x4000;
93pub(crate) const IRQ_F3_INTR: u16 = 0x8000; 93pub(crate) const IRQ_F3_INTR: u16 = 0x8000;
94 94
95pub(crate) const IOCTL_CMD_UP: u32 = 2; 95pub(crate) const IOCTL_CMD_UP: u32 = 2;
96pub(crate) const IOCTL_CMD_DOWN: u32 = 3;
96pub(crate) const IOCTL_CMD_SET_SSID: u32 = 26; 97pub(crate) const IOCTL_CMD_SET_SSID: u32 = 26;
98pub(crate) const IOCTL_CMD_SET_CHANNEL: u32 = 30;
97pub(crate) const IOCTL_CMD_ANTDIV: u32 = 64; 99pub(crate) const IOCTL_CMD_ANTDIV: u32 = 64;
100pub(crate) const IOCTL_CMD_SET_AP: u32 = 118;
98pub(crate) const IOCTL_CMD_SET_VAR: u32 = 263; 101pub(crate) const IOCTL_CMD_SET_VAR: u32 = 263;
99pub(crate) const IOCTL_CMD_GET_VAR: u32 = 262; 102pub(crate) const IOCTL_CMD_GET_VAR: u32 = 262;
100pub(crate) const IOCTL_CMD_SET_PASSPHRASE: u32 = 268; 103pub(crate) const IOCTL_CMD_SET_PASSPHRASE: u32 = 268;