update nl80211.h

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: Allow user to provide freq during mesh join

Allow user to configure frequency and channel type during
mesh join command.

Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>

v2: use chandef similar to IBSS (Johannes)
v4: make the mesh join command more self-explanatory (Bob Copeland)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: Allow basic rates to be configured when joining mesh

This patch adds option to configure basic rates during mesh join.

Signed-off-by: Ashok Nagarajan <ashok.dragon@gmail.com>
Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>

v2: minor change for upstream
v3: fix typo error (Colleen)
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: remove double break

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: fix memory leak

Close f, when returning before while loop.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: add auto parameter to set distance command

Add auto parameter to set distance command in order to enable ACK timeout
estimation algorithm (dynack). Dynack is automatically disabled setting valid
value for coverage class. Currently dynack is supported just by ath9k

This patch is based on "configure dynack through mac80211/cfg80211 stack"
patchset sent on linux-wireless

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi83@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
update nl80211 feature list in the code

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
update to version 3.17

This means I forgot and am skipping 3.16, too bad.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
update nl80211.h

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Add mpp get/dump commands

Add the "mpp get" and "mpp dump" command to query to mac80211s mesh
proxy path table through nl80211.

Signed-off-by: Henning Rogge <henning.rogge@fkie.fraunhofer.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: add vendor send command

This allow to send vendor data to the driver.
This command required OUI and SUBCMD parameters.

Also optional DATA parameter could be used:

cat data.bin | iw wlan0 send oui subcmd -
iw wlan0 send oui subcmd file.bin
iw wlan0 vendor send oui subcmd 0x00 0x00 0x00 0x1f
echo EOF | iw wlan0 vendor send oui subcmd -

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
add vendor command to Makefile

Apparently I forgot this when applying the previous commit.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
update nl80211.h

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
iw: support setting vif MAC during creation

This saves an extra call to change it later, and will
also keep udev from potentially messing with a vif
it should not be messing with.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
add WMM tspec capability

Signed-off-by: Johannes Berg <johannes.berg@intel.com>