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:
parent
b993e77b5b
commit
b3a6d9d400
6 changed files with 250 additions and 5 deletions
|
@ -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++);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue