luci-0.10: merge r8034
[project/luci.git] / contrib / package / iwinfo / src / iwinfo_wl.h
index f22f1f3..95d4961 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * iwinfo - Wireless Information Library - Broadcom wl.o Headers
  *
- *   Copyright (C) 2009 Jo-Philipp Wich <xm@subsignal.org>
+ *   Copyright (C) 2009-2010 Jo-Philipp Wich <xm@subsignal.org>
  *
  * The iwinfo library is free software: you can redistribute it and/or
  * modify it under the terms of the GNU General Public License version 2
 #ifndef __IWINFO_WL_H_
 #define __IWINFO_WL_H_
 
+#include <fcntl.h>
+
 #include "iwinfo.h"
+#include "iwinfo_utils.h"
 #include "include/broadcom.h"
 
 int wl_probe(const char *ifname);
@@ -42,6 +45,8 @@ int wl_get_txpwrlist(const char *ifname, char *buf, int *len);
 int wl_get_scanlist(const char *ifname, char *buf, int *len);
 int wl_get_freqlist(const char *ifname, char *buf, int *len);
 int wl_get_countrylist(const char *ifname, char *buf, int *len);
+int wl_get_hwmodelist(const char *ifname, int *buf);
 int wl_get_mbssid_support(const char *ifname, int *buf);
+void wl_close(void);
 
 #endif