Don't get iw version from git if there is no .git/

The version.sh script should only try to get the version from git if the
source actually resides in a git repository, i.e. .git/ exists. Doing
otherwise in a non-git source repo results in git ascending until it
finds a .git directory, which will cause problems in some source-based
distributions ( https://bugs.gentoo.org/show_bug.cgi?id=482334 ).
iw: add support for 5 and 10 MHz channels in IBSS mode

5/10 MHz requires to send the frequency information as chandef instead
of the the old channel type, therfore send the chandef next the channel
type (the latter is still used for old kernels).

Signed-off-by: Simon Wunderlich <sw@simonwunderlich.de>
Signed-off-by: Mathias Kretschmer <mathias.kretschmer@fokus.fraunhofer.de>
update nl80211.h
iw: Use NL80211_FREQUENCY_ATTR_NO_IR channel attribute

Align iw with the change in nl80211.h where NL80211_FREQUENCY_ATTR_NO_IBSS
and NL80211_FREQUENCY_ATTR_PASSIVE_SCAN were replaced by
NL80211_FREQUENCY_ATTR_NO_IR.

In case both NL80211_FREQUENCY_ATTR_NO_IR and __NL80211_FREQUENCY_ATTR_NO_IBSS
are set, assume that a new kernel is used and use the NO_IR notation,
otherwise use the previous notation.

This change requires nl80211.h with the new definitions

Signed-off-by: Ilan Peer <ilan.peer@intel.com>
version 3.13

Seems like I skipped version 3.12, and we already have
a bit more than kernel 3.13 will have, but hey.
info: print something for T-DLS support
update nl80211.h to kernel 3.14 version
listen to vendor events
update command list
iw: add VHT MCS/NSS set support to set bitrates

mcs-2.4/mcs-5 rename to ht-mcs-2.4/ht-mcs-5
vht-mcs-2.4/vht-mcs-5 added

Format for vht-mcs-*, eg:
1:0-9 - set NSS=1 and MCS0-9
2:4,5 - set NSS=2 and MCS4, MCS5
3:1   - set NSS=3 and MCS1

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
version 3.14
update nl80211.h
iw: add sgi/lgi support to set bitrates

Add possiblity to force SGI/LGI.

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@tieto.com>
print command name for unknown events
fix RX & TX Antenna Pattern Consistency in VHT capabilities

Signed-off-by: Maxime Bizon <mbizon@freebox.fr>