summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2009-08-06 12:02:50 +0000
committerJo-Philipp Wich <jow@openwrt.org>2009-08-06 12:02:50 +0000
commita243847f733bcd33ffd01c13061a920535600997 (patch)
treea86395f4c2a4845587acc8c95538cc722295a9a9
parentc23ddf2d27d35c07dbd1fe43fe91f6b86884fd82 (diff)
downloadmtk-20170518-a243847f733bcd33ffd01c13061a920535600997.zip
mtk-20170518-a243847f733bcd33ffd01c13061a920535600997.tar.gz
mtk-20170518-a243847f733bcd33ffd01c13061a920535600997.tar.bz2
broadcom-wl: add "assoclist" command to wlc
SVN-Revision: 17144
-rw-r--r--package/broadcom-wl/Makefile4
-rw-r--r--package/broadcom-wl/src/wlc/wlc.c7
2 files changed, 9 insertions, 2 deletions
diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile
index ebc8287..5ce37ff 100644
--- a/package/broadcom-wl/Makefile
+++ b/package/broadcom-wl/Makefile
@@ -10,8 +10,8 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl
PKG_VERSION:=4.150.10.5.3
-PKG_RELEASE:=5
-WLC_VERSION:=0.1
+PKG_RELEASE:=6
+WLC_VERSION:=0.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources
diff --git a/package/broadcom-wl/src/wlc/wlc.c b/package/broadcom-wl/src/wlc/wlc.c
index 790bdff..3f3130d 100644
--- a/package/broadcom-wl/src/wlc/wlc.c
+++ b/package/broadcom-wl/src/wlc/wlc.c
@@ -905,6 +905,13 @@ static const struct wlc_call wlc_calls[] = {
.handler = wlc_ioctl,
.desc = "Desired BSSID"
},
+ {
+ .name = "assoclist",
+ .param = STRING,
+ .data.num = (WLC_GET_ASSOCLIST << 16),
+ .handler = wlc_maclist,
+ .desc = "MACs of associated stations"
+ },
};
#define wlc_calls_size (sizeof(wlc_calls) / sizeof(struct wlc_call))