iw: display DFS regulatory domain

Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
refactor bitrate printing

I updated only "iw link" for VHT, so refactor it now to
also get "iw station dump" etc. updated and not make this
mistake again in the future.
align TDLS output
fix scan segfault when IFINDEX attribute isn't present
iw: decode some more IEs

Small update, found while verifying against the standard.

Thanks
    Jörg

The results of a boring train ride:
- Decode some IEs sent by other traveller's devices
  + IBSS ATIM window
  + TPC report
  + Old ERP IE (802.11g D4.0)
- Tiny whitespace fix
- Add Unit 'TUs' to beacon interval.

v2: TPC: Link margin element is not used in beacons

In case this project requires a sob:
Signed-off-by: Joerg Mayer <jmayer@loplof.de>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
clean up makefile

Change the makefile a bit to add the optional
things in a cleaner way.
makefile: don't include .config

This is no longer used to configure the tool.
makefile: allow passing NO_PKG_CONFIG

To build iw without pkg-config, you can now do something
like

$ make NO_PKG_CONFIG=1 LDFLAGS=-lnl
add Android build system

Unfortunately Android's libnl doesn't have nla_put_flag()
so add a simple source file to declare that for now.
iw/event: Print out PROBE_CLIENT event information.

For instance:
vap0 (phy #0): probe client 00:ab:cd:ef:03:5c (cookie f54bb400): no ack

Signed-off-by: Ben Greear <greearb@candelatech.com>
fix "iw phy#0 info"

Ben Greear reported that on a kernel that doesn't have the split
(and therefore filtered) wiphy dump feature, "iw phy#0 info" was
reporting data for all devices, rather than just one. This was a
result of using the split/filtered dump rather than a simple get
on "older" kernels (before 3.10!)

Fix this by checking the kernel feature before getting the data.
update nl80211 to 3.10 version
update version to 3.10

It seems I forgot to release 3.9 when that kernel was starting,
so there's little point in doing it now. The 3.10 merge window
has opened and wireless features are finalized, so this version
of iw matches what will be supported in 3.10.
iw: scan using meshid

This patch adds the ability to perform a directed scan
for MBSSs matching meshid by

iw <dev> scan meshid <meshid>

Signed-off-by: jacob minshall <jacob@cozybit.com>
add new nl80211 commands to list
mesh: share {on|off}

Support turning mesh MBSS sharing between interfaces on or
off.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>
mesh: mpath dump mbss

The user can now add the 'mbss' parameter to an mpath dump
request. Instead of just dumping the mpaths associated
with the given interface, mpaths attached to different
interfaces, but still in the same local mbss will be
returned.

Signed-off-by: Thomas Pedersen <thomas@cozybit.com>