broadcom-wl: add "assoclist" command to wlc

SVN-Revision: 17144
lede-17.01
Jo-Philipp Wich 2009-08-06 12:02:50 +00:00
parent c23ddf2d27
commit a243847f73
2 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,8 @@ include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=broadcom-wl PKG_NAME:=broadcom-wl
PKG_VERSION:=4.150.10.5.3 PKG_VERSION:=4.150.10.5.3
PKG_RELEASE:=5 PKG_RELEASE:=6
WLC_VERSION:=0.1 WLC_VERSION:=0.2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://downloads.openwrt.org/sources PKG_SOURCE_URL:=http://downloads.openwrt.org/sources

View File

@ -905,6 +905,13 @@ static const struct wlc_call wlc_calls[] = {
.handler = wlc_ioctl, .handler = wlc_ioctl,
.desc = "Desired BSSID" .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)) #define wlc_calls_size (sizeof(wlc_calls) / sizeof(struct wlc_call))