Skip to content

Commit

Permalink
carl9170: claim to support IBSS RSN.
Browse files Browse the repository at this point in the history
On carl9170, HW encryption is disabled on IBSS; the mac80211
software-based encryption is used instead. As mac80211 supports IBSS
RSN (per-STA GTK), claim its support in the carl9170 PHY.

Signed-off-by: Nicolas Cavallari <cavallar@lri.fr>
Acked-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Nicolas Cavallari authored and John W. Linville committed Jan 24, 2012
1 parent efa6a09 commit e2d75c1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/net/wireless/ath/carl9170/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1796,6 +1796,9 @@ void *carl9170_alloc(size_t priv_size)
ar->noise[i] = -95; /* ATH_DEFAULT_NOISE_FLOOR */

hw->wiphy->flags &= ~WIPHY_FLAG_PS_ON_BY_DEFAULT;

/* As IBSS Encryption is software-based, IBSS RSN is supported. */
hw->wiphy->flags |= WIPHY_FLAG_IBSS_RSN;
return ar;

err_nomem:
Expand Down

0 comments on commit e2d75c1

Please sign in to comment.