Johannes Berg d0a77c6569 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>
2015-09-29 15:56:50 +02:00
..
2015-01-27 11:07:35 +01:00
2015-01-27 11:09:13 +01:00
2014-11-04 13:18:21 +01:00
2014-04-09 14:49:43 +02:00
2009-07-10 15:01:49 -04:00
2015-03-30 10:48:26 +02:00
2015-08-14 17:49:53 +02:00
2015-07-17 15:37:54 +02:00
2015-07-17 15:38:01 +02:00
2015-05-11 19:16:04 +02:00
2015-07-17 15:48:50 +02:00
2014-04-09 14:49:43 +02:00
2015-08-14 17:49:49 +02:00
2015-08-14 17:49:53 +02:00
2015-08-14 17:49:53 +02:00
2013-12-18 10:33:06 +01:00
2015-05-11 14:51:29 +02:00
2012-03-13 14:54:16 -04:00