]> git.openfabrics.org - ~shefty/rdma-dev.git/commit
iwlagn: add feature flags
authorJohannes Berg <johannes.berg@intel.com>
Tue, 5 Apr 2011 16:42:02 +0000 (09:42 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 7 Apr 2011 19:51:38 +0000 (15:51 -0400)
commit3997ff39faa184a2ff670a6792cdb89ff51cf78f
tree04dc0167b5f70aa4b6d784b52f36aade4e78eb1d
parent7415952ff789b1c1878119662d4dc011ac9d261e
iwlagn: add feature flags

Some new devices and microcode files will a greater
variety of features, so the TLV-per-feature approach
we took before will quickly make things harder to
manage and increase the file size.

Add a new TLV that has feature flags. Currently, it
will contain:
 1) a PAN feature flag, which moves from a separate
    TLV
 2) a new BT stats bit that indicates whether the
    microcode image uses bluetooth statistics
 3) a new MFP flag for management frame protection
    which can be enabled once the device/microcode
    supports it

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-agn.c
drivers/net/wireless/iwlwifi/iwl-core.h
drivers/net/wireless/iwlwifi/iwl-dev.h