Skip to content

Commit

Permalink
ath: Copy cryptographic capability flags into ath
Browse files Browse the repository at this point in the history
This will be used later in this patch series.

Signed-off-by: Bruno Randolf <br1@einfach.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Sep 16, 2010
1 parent 9c37663 commit 34a1305
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions drivers/net/wireless/ath/ath.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,15 @@ struct ath_regulatory {
struct reg_dmn_pair_mapping *regpair;
};

enum ath_crypt_caps {
ATH_CRYPT_CAP_MIC_AESCCM = BIT(0),
ATH_CRYPT_CAP_MIC_CKIP = BIT(1),
ATH_CRYPT_CAP_MIC_TKIP = BIT(2),
ATH_CRYPT_CAP_CIPHER_AESCCM = BIT(3),
ATH_CRYPT_CAP_CIPHER_CKIP = BIT(4),
ATH_CRYPT_CAP_CIPHER_TKIP = BIT(5),
};

/**
* struct ath_ops - Register read/write operations
*
Expand Down Expand Up @@ -121,6 +130,7 @@ struct ath_common {
DECLARE_BITMAP(keymap, ATH_KEYMAX);
DECLARE_BITMAP(tkip_keymap, ATH_KEYMAX);
u8 splitmic;
enum ath_crypt_caps crypt_caps;

struct ath_regulatory regulatory;
const struct ath_ops *ops;
Expand Down

0 comments on commit 34a1305

Please sign in to comment.