summaryrefslogtreecommitdiffhomepage
path: root/libs/iwinfo/src/dummy.lua
blob: 4e47f18348a5a084e83fa92d6a13df9e88e913e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
module "iwinfo"

function type()
	return "dummy"
end

dummy = {}

function dummy.channel()
	return 1
end

function dummy.frequency()
	return 2412
end

function dummy.bitrate()
	return 36
end

function dummy.signal()
	return -53
end

function dummy.noise()
	return -96
end

function dummy.quality()
	return 11
end

function dummy.quality_max()
	return 70
end

function dummy.mode()
	return "Master"
end

function dummy.ssid()
	return "OpenWrt"
end

function dummy.bssid()
	return "00:11:22:33:44:55"
end

function dummy.enctype()
	return "WPA2 PSK (CCMP)"
end

function dummy.assoclist()
	return {}
end

function dummy.mbssid_support()
	return 1
end