aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/src
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:02:14 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2013-11-11 22:02:14 +0000
commit3c2904bfb8ead3dd48fdfee728a66ec06561481d (patch)
tree2bc2722b77d4007345421875bd4dc20c531e139d /package/kernel/broadcom-wl/src
parent4ba2f2f7318837f6beaa4b5472b272f6f092254c (diff)
downloadupstream-3c2904bfb8ead3dd48fdfee728a66ec06561481d.tar.gz
upstream-3c2904bfb8ead3dd48fdfee728a66ec06561481d.tar.bz2
upstream-3c2904bfb8ead3dd48fdfee728a66ec06561481d.zip
broadcom-wl: add support for setting H/W address
Some devices initialize with a default address (common to all H/W). The address needs to be changeable so that a unique address can be assigned to each AP. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> SVN-Revision: 38757
Diffstat (limited to 'package/kernel/broadcom-wl/src')
-rw-r--r--package/kernel/broadcom-wl/src/wlc.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/kernel/broadcom-wl/src/wlc.c b/package/kernel/broadcom-wl/src/wlc.c
index 9f4abc04f9..21754a798c 100644
--- a/package/kernel/broadcom-wl/src/wlc.c
+++ b/package/kernel/broadcom-wl/src/wlc.c
@@ -892,6 +892,13 @@ static const struct wlc_call wlc_calls[] = {
.desc = "BSSID"
},
{
+ .name = "cur_etheraddr",
+ .param = MAC,
+ .handler = wlc_iovar,
+ .data.str = "cur_etheraddr",
+ .desc = "Current MAC Address"
+ },
+ {
.name = "default_bssid",
.param = MAC,
.handler = wlc_iovar,