iw doesn't support wep with ibss adhoc
Username: Jarkko Santala
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=1787
VoCore2 / OpenWrt SNAPSHOT, r7866-8c918072
Works:
iw phy phy0 interface add f00 type ibss
ip link set up f00
iw dev f00 ibss join foobar 2412
root@tolppaB8D812x67_27402:~# iwinfo f00 info
f00 ESSID: “foobar”
Access Point: B8:D8:12:67:6B:0A Mode: Ad-Hoc Channel: 1 (2.412 GHz) Tx-Power: 0 dBm Link Quality: unknown/70 Signal: unknown Noise: unknown Bit Rate: unknown Encryption: unknown Type: nl80211 HW Mode(s): 802.11bgn Hardware: unknown [Generic MAC80211] TX power offset: unknown Frequency offset: unknown Supports VAPs: yes PHY name: phy0
Does NOT work:
iw dev f00 ibss join foobar 2412 key d:0:42325d294a
Usage: iw [options] dev ibss join <freq in
MHz
[NOHT|HT20|HT40+|HT40-|5MHz|10MHz|80MHz] [fixed-freq] [] [beacon-interval ] [basic-rates <rate in Mbps,rate2,...>] [mcast-rate ] [key d:0:abcde]
Join the IBSS cell with the given SSID, if it doesn’t exist create
it on the given frequency. When fixed frequency is requested, don’t
join/create a cell on a different frequency. When a fixed BSSID is
requested use that BSSID and do not adopt another cell’s BSSID even
if it has higher TSF and the same SSID. If an IBSS is created, create
it with the specified basic-rates, multicast-rate and beacon-interval.
Options:
-debug enable netlink debugging