update nl80211.h

to kernel 3.7 (from rc1)

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

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
print more feature flags

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

The merge window for 3.7 closed, so all the
features are in.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
update nl80211.h
iw: add lowpri and flush scan operands

Add lowpri (low priority) and flush operands to the scan cmd to
request the equivalent flags be set in the scan request. Note
these are applied regardless of the feature flags to support
testing drivers that do not implement them.

Signed-off-by: Sam Leffler <sleffler@chromium.org>
Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
iw: remove unnecessary variable in find_mesh_param

Also stick to coding style. use "strcmp ( , ) == 0" instead of (!strcmp( , ))

Signed-off-by: Ashok Nagarajan <ashok@cozybit.com>
update nl80211.h
iw: show AP scan capability

If the wireless driver supports the AP scan capability (this can be
seen by checking NL80211_FEATURE_AP_SCAN) iw has to show it.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
iw: add support for the forced AP scan

This patch introduces the "ap-force" argument to the scan command.
This argument instructs mac80211 to trigger the scan even if the
interface is configured as AP and has already started beaconing (the
driver may not support such operation)

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
fix bug in iftype_name()

If the kernel has been updated, and iw hasn't
but was recompiled, the function can return
NULL which isn't desirable. Fix it.
update command list
add P2P Device handling primitives

For testing, it can be useful to be able to use the
P2P Device manually, add the ability to do that.
parse more extended capabilities

update the list to 802.11-2012, except for the
service interval granularity
iw: print the ssid when requesting device info

The GET_INTERFACE command receives also the ssid as part of the reply.
This patch makes iw print the ssid together with the other information
when issuing the "iw dev $vif info" command.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>
print VHT capabilities
Clarify that unit is ms for ROC command

Signed-off-by: Pontus Fuchs <pontus.fuchs@gmail.com>
add a helper command to print command IDs

sometimes knowing the command ID for a given
nl80211 command or knowing the command for a
given number is needed, add a helper for that
update nl80211.h
iw: add set_mcast_rate command support

This patch adds the support to run the set_mcast_rate() command on
adhoc and mesh_point vifs. With this command it is possible to tune
the bitrate to use when sending group frames. This command can be used
even if the vifs has already joint the ibss/mesh network.

Signed-off-by: Antonio Quartulli <ordex@autistici.org>