From a243847f733bcd33ffd01c13061a920535600997 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Thu, 6 Aug 2009 12:02:50 +0000 Subject: [PATCH] broadcom-wl: add "assoclist" command to wlc SVN-Revision: 17144 --- 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 ebc8287f44..5ce37ff313 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 790bdfff51..3f3130de87 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))