wlantest: Add send command for injecting raw frames

This can be used by external programs (e.g., wlantest_cli) to inject
raw frames (hex dump of the frame header and body). The data can be
requested to be sent as-is or protected with the current key.
This commit is contained in:
Jouni Malinen 2010-12-16 16:11:54 +02:00 committed by Jouni Malinen
parent b993e77b5b
commit b3a6d9d400
6 changed files with 250 additions and 5 deletions

View file

@ -29,7 +29,7 @@ static int hex2num(char c)
}
static int hex2byte(const char *hex)
int hex2byte(const char *hex)
{
int a, b;
a = hex2num(*hex++);