diff options
author | Luis Carlos <luisca@cozybit.com> | 2007-06-07 16:40:59 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2007-06-12 14:07:54 -0400 |
commit | 82fde74b94f11eee1e9c30e43fb162f80a5e63c0 (patch) | |
tree | b5f0fd209c90b0ba9074a690518e0cd092b83fd9 /drivers/net/wireless/libertas/host.h | |
parent | 2fb3bd6a23e5d37889a78b6a13a124fa7c586009 (diff) |
[PATCH] libertas: convert libertas_mpp into anycast_mask
With firmware 5.220.11.p5, this allows to specify the anycast addresses the
device will listen to.
The anycast address range is C0:27:C0:27:C0:XX where XX goes from 00 to 1F (or
0 to 31 in dec). The value to write on anycast_mask will specify which
addresses the device listens to. Bits in a 32 bit int are numbered from 0
(least significative bit) to 31. A specific address ending in YY will be
listened to if bit YY in the value is set to one.
Examples:
0x00000000 : do not listen to any anycast address
0xFFFFFFFF : listen to every anycast address from :00 to :1F
0x00000013 : listen to anycast addresses :00, :01 and :04
Signed-off-by: Luis Carlos Cobo <luisca@cozybit.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/libertas/host.h')
-rw-r--r-- | drivers/net/wireless/libertas/host.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/libertas/host.h b/drivers/net/wireless/libertas/host.h index cedf1dbab050..7509cc10af3c 100644 --- a/drivers/net/wireless/libertas/host.h +++ b/drivers/net/wireless/libertas/host.h | |||
@@ -310,8 +310,8 @@ enum cmd_mesh_access_opts { | |||
310 | cmd_act_mesh_get_ttl = 1, | 310 | cmd_act_mesh_get_ttl = 1, |
311 | cmd_act_mesh_set_ttl, | 311 | cmd_act_mesh_set_ttl, |
312 | cmd_act_mesh_get_stats, | 312 | cmd_act_mesh_get_stats, |
313 | cmd_act_mesh_get_mpp, | 313 | cmd_act_mesh_get_anycast, |
314 | cmd_act_mesh_set_mpp, | 314 | cmd_act_mesh_set_anycast, |
315 | }; | 315 | }; |
316 | 316 | ||
317 | /** Card Event definition */ | 317 | /** Card Event definition */ |