diff options
author | Johannes Berg <johannes.berg@intel.com> | 2015-09-23 11:42:28 +0300 |
---|---|---|
committer | Johannes Berg <johannes.berg@intel.com> | 2015-09-29 16:56:50 +0300 |
commit | d0a77c6569abe29d921148c45f598bc796084226 (patch) | |
tree | 251445b14277b89990b0b0bb4415ed6f5237c22e /include/net/cfg80211.h | |
parent | 416eb9fc29469f036c85b412edf89774d6b34b0f (diff) | |
download | linux-d0a77c6569abe29d921148c45f598bc796084226.tar.xz |
mac80211: allow writing TX PN in debugfs
For certain tests, for example replay detection, it can be useful
to be able to influence/set the PN used in outgoing packets. Make
it possible to change the TX PN in debugfs.
For now, this doesn't support TKIP since I haven't needed it, but
there's no reason it couldn't be added if necessary.
Note that this must be used very carefully: it could, for example,
be used to make "valid replays" where the PN reuse happens on a
different TID. This couldn't be done by an attacker since the TID
is protected as part of the AAD.
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
0 files changed, 0 insertions, 0 deletions