forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
wifi: mac80211_hwsim: support creating MLO-capable radios
Add initial support to hwsim for creating MLO-capable radios dynamically (and statically via module parameter, but that's not really recommended.) Signed-off-by: Johannes Berg <[email protected]>
- Loading branch information
1 parent
dd374f8
commit 2fd0c67
Showing
2 changed files
with
81 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
* mac80211_hwsim - software simulator of 802.11 radio(s) for mac80211 | ||
* Copyright (c) 2008, Jouni Malinen <[email protected]> | ||
* Copyright (c) 2011, Javier Lopez <[email protected]> | ||
* Copyright (C) 2020 Intel Corporation | ||
* Copyright (C) 2020, 2022 Intel Corporation | ||
*/ | ||
|
||
#ifndef __MAC80211_HWSIM_H | ||
|
@@ -140,6 +140,8 @@ enum { | |
* @HWSIM_ATTR_PERM_ADDR: permanent mac address of new radio | ||
* @HWSIM_ATTR_IFTYPE_SUPPORT: u32 attribute of supported interface types bits | ||
* @HWSIM_ATTR_CIPHER_SUPPORT: u32 array of supported cipher types | ||
* @HWSIM_ATTR_MLO_SUPPORT: claim MLO support (exact parameters TBD) for | ||
* the new radio | ||
* @__HWSIM_ATTR_MAX: enum limit | ||
*/ | ||
|
||
|
@@ -170,6 +172,7 @@ enum { | |
HWSIM_ATTR_PERM_ADDR, | ||
HWSIM_ATTR_IFTYPE_SUPPORT, | ||
HWSIM_ATTR_CIPHER_SUPPORT, | ||
HWSIM_ATTR_MLO_SUPPORT, | ||
__HWSIM_ATTR_MAX, | ||
}; | ||
#define HWSIM_ATTR_MAX (__HWSIM_ATTR_MAX - 1) | ||
|