From b85604951570272f8003fcf0188152613c98babd Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 6 Aug 2009 12:02:50 +0000 Subject: [PATCH] [package] broadcom-wl: add "assoclist" command to wlc git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17144 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/broadcom-wl/Makefile | 4 ++-- package/broadcom-wl/src/wlc/wlc.c | 7 +++++++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/package/broadcom-wl/Makefile b/package/broadcom-wl/Makefile index ebc8287f4..5ce37ff31 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 790bdfff5..3f3130de8 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))