diff options
| author | SenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com> | 2015-03-02 02:59:40 -0500 |
|---|---|---|
| committer | Johannes Berg <johannes.berg@intel.com> | 2015-03-04 04:34:12 -0500 |
| commit | 64a8cef41a8ce694b59ec75ae52688f58925693c (patch) | |
| tree | 6223726fc269c9fdea75b37b978a98027dd2c87f /include/net | |
| parent | 3384d757d41521a3dee274ed2802bcd285ed8e62 (diff) | |
mac80211: provide station PMF configuration to driver
Some device drivers offload part of aggregation including AddBA/DelBA
negotiations to firmware. In such scenario, the PMF configuration of
the station needs to be provided to driver to enable encryption of
AddBA/DelBA action frames.
Signed-off-by: SenthilKumar Jegadeesan <sjegadee@qti.qualcomm.com>
[fix commit log, documentation]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net')
| -rw-r--r-- | include/net/mac80211.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/mac80211.h b/include/net/mac80211.h index d1d6fbc13b1c..a7756e45465e 100644 --- a/include/net/mac80211.h +++ b/include/net/mac80211.h | |||
| @@ -1491,6 +1491,7 @@ struct ieee80211_sta_rates { | |||
| 1491 | * @tdls: indicates whether the STA is a TDLS peer | 1491 | * @tdls: indicates whether the STA is a TDLS peer |
| 1492 | * @tdls_initiator: indicates the STA is an initiator of the TDLS link. Only | 1492 | * @tdls_initiator: indicates the STA is an initiator of the TDLS link. Only |
| 1493 | * valid if the STA is a TDLS peer in the first place. | 1493 | * valid if the STA is a TDLS peer in the first place. |
| 1494 | * @mfp: indicates whether the STA uses management frame protection or not. | ||
| 1494 | */ | 1495 | */ |
| 1495 | struct ieee80211_sta { | 1496 | struct ieee80211_sta { |
| 1496 | u32 supp_rates[IEEE80211_NUM_BANDS]; | 1497 | u32 supp_rates[IEEE80211_NUM_BANDS]; |
| @@ -1507,6 +1508,7 @@ struct ieee80211_sta { | |||
| 1507 | struct ieee80211_sta_rates __rcu *rates; | 1508 | struct ieee80211_sta_rates __rcu *rates; |
| 1508 | bool tdls; | 1509 | bool tdls; |
| 1509 | bool tdls_initiator; | 1510 | bool tdls_initiator; |
| 1511 | bool mfp; | ||
| 1510 | 1512 | ||
| 1511 | /* must be last */ | 1513 | /* must be last */ |
| 1512 | u8 drv_priv[0] __aligned(sizeof(void *)); | 1514 | u8 drv_priv[0] __aligned(sizeof(void *)); |
