Derek Dai
c44f2dbcec
miracle-wifid: fix the timing of notification of P2P availability
...
Change-Id: I86c453256b614022db5d941d64984f9eecd4ef39
2017-04-22 17:33:19 +08:00
Derek Dai
8aacea933d
miracle-wifid: fine tune P2P state notification timing
...
Change-Id: Idb111b90109010733b96d653c2d6d7855ebc781f
2017-04-14 16:18:56 +08:00
Derek Dai
0b230176f2
miracle-wifid: fix crashing on link removing issue
...
wifid crashes when link removing (either unplug usb wlan dongle or
unload kernel module) due to double
Change-Id: I9480a095659752343e505eb41b380d1ab3cd322a
2017-04-14 16:07:44 +08:00
Derek Dai
7f1cfabdd4
miracle-wifid: minor tweaks of log messages and identation
...
Change-Id: Id9e98583f3256c83cf48f18cf08740849ded3cca
2017-04-14 16:06:12 +08:00
Derek Dai
566f32e983
miracle-wifid: cleanup change notification of Link.Managed property
...
Change-Id: Ia5b056151e07219f0e6cc34dbc9fc2149f929a36
2017-04-14 16:04:01 +08:00
Derek Dai
6fc960a2ac
miracle-wifid: remove unused function
...
Change-Id: Ic2709a3661914fd9e0708c33649118feededa7f6
2017-04-14 15:11:17 +08:00
Derek Dai
2e7c11d265
miracle-wifid: rename link_set_managed()
...
rename to prevent confusing with managed event notification
Change-Id: I0f0d01f97156044bbb225e199b2717d5ea9c1a24
2017-04-14 15:08:39 +08:00
Derek Dai
7dba31c923
add meson build supporting
2017-04-06 20:26:17 +08:00
Derek Dai
aa499be0dc
miracle-wifid: add Link.P2PState for checking P2P supporting status
2017-04-03 18:40:15 +08:00
Derek Dai
2da1f70ccd
miracle-wifid: postpone the emittion of managed signal after the status
...
query
2017-03-30 22:58:34 +08:00
Derek Dai
be76bef4a2
miracle-wifid: fix signal emittion of FormationFailure
2017-03-30 10:17:32 +08:00
Derek Dai
0677d64252
miracle-wifid: change managed property of link by method call instead of
...
set property due to wpa_supplicant needs time to get ready
2017-03-06 17:29:26 +08:00
Derek Dai
cb821562ed
relax permissions checking to let non-privileged use miracalcast.
...
we will enhance this by fine grained permission conrol latter.
2017-03-03 08:59:37 +08:00
Derek Dai
8381290479
miracle-wifid: let the format of wfd_dev_info compliant with wfd_subelems to ease parsing
2017-02-13 13:12:55 +08:00
Derek Dai
df336c8c51
miracle-wifid: add MACAddress property to link
2017-02-13 13:12:54 +08:00
Derek Dai
1919de3158
miracle-srcctl: fix some warming
2017-02-13 13:12:54 +08:00
Derek Dai
853152cb9c
miracle-wifid: remove duplicated link & peer dbus nodes by checking prefix
2017-02-13 13:12:54 +08:00
Xu Fasheng
7d7df75bc9
Make miracle-wifid conexists with other network tools
...
The new option --lazy-managed will let miracle-wifid don't managed the
links automatically. Instead, the link will be managed only when the new
DBus property Managed was set to true. So this will be possible that
miracle-wifid could be conexists with other network tools like
networkmanager.
For example, unmange the device in networkmanager with setting the DBus
property org.freedesktop.NetworkManager.Device.Managed to false and
manage it in miracle-wifid with setting
org.freedesktop.miracle.wifi.Link.Managed to true, then both them could
works and don't need to kill each other.
Besides, there is new command named make-managed in miracle-wifictl and
miracle-sinkctla.
2017-02-13 13:12:54 +08:00
Derek Dai
91e1ee29ec
miracle-wifid: fix call waitid() with NULL pointer issue reported by valgrind
2017-02-13 13:12:53 +08:00
Derek Dai
21fc207d4c
miracle-wifid: fix some leaks of wpas_message
2017-02-13 13:12:53 +08:00
albfan
cd23da3c74
Fix finding subnet
2016-10-01 12:29:48 +02:00
Derek Dai
3886dcb7c7
add option --use-dev to miracle-wifid to workaround the 'no ifname' issue
2016-09-14 16:01:54 +08:00
Derek Dai
a9266e5055
re-dispatch wpa_message with ifname!=NULL from supplicant_global_fn() to supplicant_dev_fn()
2016-09-14 15:01:26 +08:00
albfan
36be37ed8b
Fix wpa_supplicant search when path did not exists
2016-08-26 06:29:34 +02:00
Derek Dai
4601514799
find wpa_supplicant through PATH instead of option --wpa-bindir
2016-08-15 17:35:38 +08:00
Alberto Fanjul
7228c3e63d
Change to support CI environment
2016-07-23 20:20:58 +02:00
albfan
4637409d0b
relay on PATH to find executables
2016-07-02 15:22:13 +02:00
albfan
5440572335
Version 1.0
2016-01-24 20:54:40 +01:00
albfan
117ed2071b
Parse text log level
...
closes #42
2015-08-30 14:53:12 +02:00
albfan
73adee82bf
Select interface to use
...
Start miraclecast against interface of choose.
- By tagged udev device
- By `--interface` or `-i` option
resolves #36 , resolves #43 , resolves #46
2015-08-30 11:20:41 +02:00
albfan
781231db26
comment avaliable prov methods
...
Use only pbc method, but keep commented all available methods
2015-08-22 12:18:46 +02:00
albfan
81e71c8387
ignored wpa events
...
relates to #37
2015-07-29 20:33:27 +02:00
albfan
80aefc1611
config udev tag
...
relates to #36
2015-07-29 20:27:51 +02:00
albfan
30459133ed
prov type for default config
2015-07-29 20:18:01 +02:00
albfan
bc1705d82c
remove commented code
2015-07-29 20:18:01 +02:00
albfan
de76677bf8
manage prov type
2015-07-29 20:18:01 +02:00
albfan
756535a61d
vtable callback changes
...
relates #35
2015-07-28 20:14:27 +02:00
albfan
544758f3d2
cleanup cmake config
2015-04-12 10:34:42 +02:00
albfan
8484a126be
fix cmake compilation
...
closes #7
2015-04-11 23:11:52 +02:00
albfan
8b61f733da
avoid miracle filter on wifi devices
2015-03-30 13:41:30 +02:00
albfan
640f731d44
Merge branch 'agusakov'
2015-03-30 13:40:52 +02:00
Andrey Gusakov
2fac0f0ea9
Notice sinkctl if pending peer fails to connect/disconnects
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
0d54cd4e0b
Separate go_neg_request and provision_discovery
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
563a415a24
Accept connection only on p2p_go_neg_request
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
5aa1772240
Add P2P-GO-NEG-REQUEST handler
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
7d936b3cdf
Do not fail if host name cannot be read over DBUS
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
026e7ea095
Set Miracle as device name if no frindly_name set
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:38 +02:00
Andrey Gusakov
4d9cd01606
Do not use udev tags
...
Signed-off-by: Andrey Gusakov <andrey.gusakov@cogentembedded.com>
2015-03-30 12:06:37 +02:00
albfan
cda6da3144
Allow virtual path on cmake
...
Remove fixed paths on CMake whom broke virtual path compilation
Relates to #7 but still not resolve it.
2015-03-22 11:25:19 +01:00
albfan
2e933497ff
cmake configuration
2015-03-13 07:54:19 +01:00