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
This commit is contained in:
Hauke Mehrtens
2013-11-11 22:02:14 +00:00
parent 4ba2f2f731
commit 3c2904bfb8
2 changed files with 18 additions and 4 deletions

View File

@@ -891,6 +891,13 @@ static const struct wlc_call wlc_calls[] = {
.data.num = ((WLC_GET_BSSID << 16) | WLC_SET_BSSID),
.desc = "BSSID"
},
{
.name = "cur_etheraddr",
.param = MAC,
.handler = wlc_iovar,
.data.str = "cur_etheraddr",
.desc = "Current MAC Address"
},
{
.name = "default_bssid",
.param = MAC,