Commit fa77533e authored by Jouni Malinen's avatar Jouni Malinen Committed by John W. Linville

mac80211_hwsim: Report driver as MFP capable

mac80211_hwsim has no problems with MFP, so report it as MFP capable.
Signed-off-by: default avatarJouni Malinen <jouni.malinen@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 0ced0e17
...@@ -779,6 +779,8 @@ static int __init init_mac80211_hwsim(void) ...@@ -779,6 +779,8 @@ static int __init init_mac80211_hwsim(void)
BIT(NL80211_IFTYPE_MESH_POINT); BIT(NL80211_IFTYPE_MESH_POINT);
hw->ampdu_queues = 1; hw->ampdu_queues = 1;
hw->flags = IEEE80211_HW_MFP_CAPABLE;
/* ask mac80211 to reserve space for magic */ /* ask mac80211 to reserve space for magic */
hw->vif_data_size = sizeof(struct hwsim_vif_priv); hw->vif_data_size = sizeof(struct hwsim_vif_priv);
hw->sta_data_size = sizeof(struct hwsim_sta_priv); hw->sta_data_size = sizeof(struct hwsim_sta_priv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment