Commit cfe7007a authored by Alexander Wetzel's avatar Alexander Wetzel Committed by Johannes Berg

mac80211_hwsim: Extended Key ID support

Allow Extended Key ID to be used with hwsim.

Hwsim can only communicate with other hwsim cards, allowing it to bypass
creation of A-MPDUs in the first place.

Mixing keyIDs in an A-MPDU is therefore impossible and can never cause
interoperability issues with other cards.
Signed-off-by: default avatarAlexander Wetzel <alexander@wetzel-home.de>
[reword comment slightly]
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a680fe46
...@@ -2799,6 +2799,12 @@ static int mac80211_hwsim_new_radio(struct genl_info *info, ...@@ -2799,6 +2799,12 @@ static int mac80211_hwsim_new_radio(struct genl_info *info,
ieee80211_hw_set(hw, SIGNAL_DBM); ieee80211_hw_set(hw, SIGNAL_DBM);
ieee80211_hw_set(hw, SUPPORTS_PS); ieee80211_hw_set(hw, SUPPORTS_PS);
ieee80211_hw_set(hw, TDLS_WIDER_BW); ieee80211_hw_set(hw, TDLS_WIDER_BW);
/* We only have SW crypto and only implement the A-MPDU API
* (but don't really build A-MPDUs) so can have extended key
* support
*/
ieee80211_hw_set(hw, EXT_KEY_ID_NATIVE);
if (rctbl) if (rctbl)
ieee80211_hw_set(hw, SUPPORTS_RC_TABLE); ieee80211_hw_set(hw, SUPPORTS_RC_TABLE);
ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID); ieee80211_hw_set(hw, SUPPORTS_MULTI_BSSID);
......
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