Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291314
b: refs/heads/master
c: 18c57d3
h: refs/heads/master
v: v3
  • Loading branch information
David Spinadel authored and John W. Linville committed Mar 8, 2012
1 parent 4988b0c commit 39db8f1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8e81f65fdc7f5d292bb3c115b748767d921823c1
refs/heads/master: 18c57d3c1e31a91a5925da001c19d521178d00bd
9 changes: 9 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,12 @@ config IWLWIFI_P2P
support when it is loaded.

Say Y only if you want to experiment with P2P.

config IWLWIFI_EXPERIMENTAL_MFP
bool "support MFP (802.11w) even if uCode doesn't advertise"
depends on IWLWIFI
help
This option enables experimental MFP (802.11W) support
even if the microcode doesn't advertise it.

Say Y only if you want to experiment with MFP.
3 changes: 3 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-mac80211.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,10 @@ int iwlagn_mac_setup_register(struct iwl_priv *priv,
hw->flags |= IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS |
IEEE80211_HW_SUPPORTS_STATIC_SMPS;

#ifndef CONFIG_IWLWIFI_EXPERIMENTAL_MFP
/* enable 11w if the uCode advertise */
if (capa->flags & IWL_UCODE_TLV_FLAGS_MFP)
#endif /* !CONFIG_IWLWIFI_EXPERIMENTAL_MFP */
hw->flags |= IEEE80211_HW_MFP_CAPABLE;

hw->sta_data_size = sizeof(struct iwl_station_priv);
Expand Down

0 comments on commit 39db8f1

Please sign in to comment.