diff options
Diffstat (limited to 'drivers/net/wireless/mac80211_hwsim.c')
-rw-r--r-- | drivers/net/wireless/mac80211_hwsim.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 86fa8abdd66f..298ba79fc51b 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c | |||
@@ -9,7 +9,8 @@ | |||
9 | 9 | ||
10 | /* | 10 | /* |
11 | * TODO: | 11 | * TODO: |
12 | * - IBSS mode simulation (Beacon transmission with competition for "air time") | 12 | * - Add TSF sync and fix IBSS beacon transmission by adding |
13 | * competition for "air time" at TBTT | ||
13 | * - RX filtering based on filter configuration (data->rx_filter) | 14 | * - RX filtering based on filter configuration (data->rx_filter) |
14 | */ | 15 | */ |
15 | 16 | ||
@@ -620,7 +621,8 @@ static void mac80211_hwsim_beacon_tx(void *arg, u8 *mac, | |||
620 | hwsim_check_magic(vif); | 621 | hwsim_check_magic(vif); |
621 | 622 | ||
622 | if (vif->type != NL80211_IFTYPE_AP && | 623 | if (vif->type != NL80211_IFTYPE_AP && |
623 | vif->type != NL80211_IFTYPE_MESH_POINT) | 624 | vif->type != NL80211_IFTYPE_MESH_POINT && |
625 | vif->type != NL80211_IFTYPE_ADHOC) | ||
624 | return; | 626 | return; |
625 | 627 | ||
626 | skb = ieee80211_beacon_get(hw, vif); | 628 | skb = ieee80211_beacon_get(hw, vif); |
@@ -1295,6 +1297,7 @@ static int __init init_mac80211_hwsim(void) | |||
1295 | hw->wiphy->interface_modes = | 1297 | hw->wiphy->interface_modes = |
1296 | BIT(NL80211_IFTYPE_STATION) | | 1298 | BIT(NL80211_IFTYPE_STATION) | |
1297 | BIT(NL80211_IFTYPE_AP) | | 1299 | BIT(NL80211_IFTYPE_AP) | |
1300 | BIT(NL80211_IFTYPE_ADHOC) | | ||
1298 | BIT(NL80211_IFTYPE_MESH_POINT); | 1301 | BIT(NL80211_IFTYPE_MESH_POINT); |
1299 | 1302 | ||
1300 | hw->flags = IEEE80211_HW_MFP_CAPABLE | | 1303 | hw->flags = IEEE80211_HW_MFP_CAPABLE | |