Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 214719
b: refs/heads/master
c: ce2220d
h: refs/heads/master
i:
  214717: ec37cef
  214715: c8fd54a
  214711: ca9dee5
  214703: ee9cd6c
  214687: 0678b7e
  214655: 54088f2
v: v3
  • Loading branch information
Bruno Randolf authored and John W. Linville committed Sep 21, 2010
1 parent 7fc8b9d commit d701dc2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c807666a08800ab387298817db5a6f6e11606adb
refs/heads/master: ce2220d1da0bad9583af38a03ad508968d554c0f
9 changes: 2 additions & 7 deletions trunk/drivers/net/wireless/ath/ath.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,13 +72,8 @@ struct ath_regulatory {
};

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),
ATH_CRYPT_CAP_MIC_COMBINED = BIT(6),
ATH_CRYPT_CAP_CIPHER_AESCCM = BIT(0),
ATH_CRYPT_CAP_MIC_COMBINED = BIT(1),
};

struct ath_keyval {
Expand Down
3 changes: 1 addition & 2 deletions trunk/drivers/net/wireless/ath/ath5k/attach.c
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ int ath5k_hw_attach(struct ath5k_softc *sc)
if (srev >= AR5K_SREV_AR5212_V4 &&
(ee->ee_version >= AR5K_EEPROM_VERSION_5_0 &&
!AR5K_EEPROM_AES_DIS(ee->ee_misc5)))
common->crypt_caps |= ATH_CRYPT_CAP_CIPHER_AESCCM |
ATH_CRYPT_CAP_MIC_AESCCM;
common->crypt_caps |= ATH_CRYPT_CAP_CIPHER_AESCCM;

if (srev >= AR5K_SREV_AR2414) {
common->crypt_caps |= ATH_CRYPT_CAP_MIC_COMBINED;
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/net/wireless/ath/ath9k/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1866,6 +1866,8 @@ int ath9k_hw_fill_cap_info(struct ath_hw *ah)
pCap->low_5ghz_chan = 4920;
pCap->high_5ghz_chan = 6100;

common->crypt_caps |= ATH_CRYPT_CAP_CIPHER_AESCCM;

if (ah->config.ht_enable)
pCap->hw_caps |= ATH9K_HW_CAP_HT;
else
Expand Down

0 comments on commit d701dc2

Please sign in to comment.