nl80211: Add vendor command support
authorBeni Lev <beni.lev@intel.com>
Mon, 3 Mar 2014 11:09:50 +0000 (13:09 +0200)
committerJouni Malinen <j@w1.fi>
Tue, 4 Mar 2014 20:24:20 +0000 (22:24 +0200)
commitadef89480d7fa3c5d18f4d680f665e3d42de9886
tree0afd1bc474be49adf9dded9d2bba86466f4c66c0
parentd0595b25b467a841586a3492f4e10e9f58bc5da0
nl80211: Add vendor command support

Add a callback to the driver interface that allows vendor specific
commands to be sent. In addition, a control interface command is added
to expose this new interface outside wpa_supplicant:

Vendor command's format:
VENDOR <vendor id> <sub command id> [<hex formatted data>]

The 3rd argument will be converted to binary data and then passed as
argument to the sub command.

This interface is driver independent, but for now, this is only
implemented for the nl80211 driver interface using the cfg80211 vendor
commands.

Signed-off-by: Beni Lev <beni.lev@intel.com>
src/drivers/driver.h
src/drivers/driver_nl80211.c
wpa_supplicant/ctrl_iface.c
wpa_supplicant/driver_i.h
wpa_supplicant/wpa_cli.c