diff options
author | Lennert Buytenhek <buytenh@wantstofly.org> | 2010-01-12 13:51:30 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2010-01-12 14:21:23 -0500 |
commit | ee0ddf1865954f44ee929d963e2c968eb377f447 (patch) | |
tree | 85cbe8d86dad8b53404db76aa78450460b1e258c /drivers/scsi | |
parent | aa21d0f69a5ca28d33f584b8952cca154115fd26 (diff) |
mwl8k: enable multi-BSS AP operation
As follows:
- GET_HW_SPEC is now responsible for setting
priv->{ap,sta}_macids_supported, which are bitmasks of supported
macids for AP and STA mode. (Typically, STA firmware images will
support only one macid, #0, in STA mode, and AP firmware images
will support macids #0-7, in AP mode.)
- Our wiphy ->interfaces_modes is now set based on the non-zero-ness
of these two bitmasks.
- We main priv->macids_used, a bitmask of which macids are currently
in use. ->add_interface() will assign the lowest free macid for
this interface type as it is created, or bail out if there are no
more free macids to assign. ->delete_interface() will mark the
macid as being free again.
This enables the multi-BSS code added in the previous commits.
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/scsi')
0 files changed, 0 insertions, 0 deletions