summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--lib/nl80211.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c
index 90b50e6..c7bd5fa 100644
--- a/lib/nl80211.c
+++ b/lib/nl80211.c
@@ -2718,6 +2718,18 @@ register_constants(uc_vm_t *vm, uc_value_t *scope)
ADD_CONST(NL80211_CMD_TDLS_CHANNEL_SWITCH);
ADD_CONST(NL80211_CMD_TDLS_CANCEL_CHANNEL_SWITCH);
+ ADD_CONST(NL80211_IFTYPE_ADHOC);
+ ADD_CONST(NL80211_IFTYPE_STATION);
+ ADD_CONST(NL80211_IFTYPE_AP);
+ ADD_CONST(NL80211_IFTYPE_AP_VLAN);
+ ADD_CONST(NL80211_IFTYPE_WDS);
+ ADD_CONST(NL80211_IFTYPE_MONITOR);
+ ADD_CONST(NL80211_IFTYPE_MESH_POINT);
+ ADD_CONST(NL80211_IFTYPE_P2P_CLIENT);
+ ADD_CONST(NL80211_IFTYPE_P2P_GO);
+ ADD_CONST(NL80211_IFTYPE_P2P_DEVICE);
+ ADD_CONST(NL80211_IFTYPE_OCB);
+
ucv_object_add(scope, "const", c);
};