]> git.ipfire.org Git - thirdparty/iw.git/blobdiff - iw.h
iw: Support ht-capability overrides mask.
[thirdparty/iw.git] / iw.h
diff --git a/iw.h b/iw.h
index dd964c16436e46bc1255bf3b6419731f775e76ed..3379a7fd673bca5fe7f08cf75dd25f917d79a2dd 100644 (file)
--- a/iw.h
+++ b/iw.h
@@ -6,8 +6,10 @@
 #include <netlink/genl/genl.h>
 #include <netlink/genl/family.h>
 #include <netlink/genl/ctrl.h>
+#include <endian.h>
 
 #include "nl80211.h"
+#include "ieee80211.h"
 
 #define ETH_ALEN 6
 
@@ -18,8 +20,7 @@
 
 struct nl80211_state {
        struct nl_sock *nl_sock;
-       struct nl_cache *nl_cache;
-       struct genl_family *nl80211;
+       int nl80211_id;
 };
 
 enum command_identify_by {