Jukka Rissanen
054125593d
linux: Update nl80211.h file
...
The definitions for task "Bind NL80211_CMD_START_SCHED_SCAN to netlink
socket" are needed so the header file is updated.
2014-11-07 20:40:02 -06:00
Denis Kenzior
ca18b395e2
wiphy: Fix valgrind complaint
...
The network list must be destroyed before the BSS list as that is used
inside network_free
2014-11-05 08:29:33 -06:00
Denis Kenzior
84765ac4db
wiphy: Add GetNetworks method
2014-11-03 15:37:08 -06:00
Denis Kenzior
e7bd2276de
wiphy: Make const correct
2014-11-03 15:36:52 -06:00
Denis Kenzior
2f852d2954
wiphy: Add missing signals to introspection
2014-11-03 15:24:34 -06:00
Denis Kenzior
3cf47d4109
manager: Add missing signals to introspection
2014-11-03 15:24:12 -06:00
Jukka Rissanen
fc540ecd7f
todo: Mark four hwsim related tasks done
...
Following tasks are done as relevant kernel patches are accepted into
linux kernel.
- Add support for returning HWSIM_ATTR_RADIO_ID from HWSIM_CMD_CREATE_RADIO
- Rename HWSIM_CMD_CREATE_RADIO into HWSIM_CMD_NEW_RADIO
- Rename HWSIM_CMD_DESTROY_RADIO into HWSIM_CMD_DEL_RADIO
- Provide multicast events for HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO
2014-11-03 13:21:26 -06:00
Jukka Rissanen
1154360354
TODO: Add ownership on NL80211_CMD_START_SCHED_SCAN task
...
Taking "Bind NL80211_CMD_START_SCHED_SCAN to netlink socket" task.
2014-11-01 21:33:15 -05:00
Tomasz Bursztyka
4a6d549dc2
TODO: set owner NEW_INTERFACE/DEL_INTERFACE events
2014-11-01 21:31:51 -05:00
Jukka Rissanen
7541727942
features: Update with NEW/DEL hwsim radio events
...
HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO events are multicasted
to "config" netlink multicast group when radios are created and
deleted.
2014-11-01 21:29:40 -05:00
Denis Kenzior
47f91a47e6
hwsim: Fix up whitespace issues
2014-11-01 21:29:40 -05:00
Jukka Rissanen
fb4075da5e
hwsim: Receive multicast netlink event for NEW/DEL radio commands
...
Kernel sends HWSIM_CMD_NEW_RADIO and HWSIM_CMD_DEL_RADIO multicast
events when new radio have been created and when existing one has
been deleted. The events are sent to "config" netlink multicast group.
The hwsim catches these events and uses the information to monitor
what simulated radios are created and deleted in the system.
2014-11-01 21:29:40 -05:00
Denis Kenzior
8e3a17cf56
wiphy: Add rudimentary Connect method
2014-10-30 00:27:06 -05:00
Denis Kenzior
e51cac7f74
wiphy: Fix uninitialized var warnings
2014-10-30 00:26:49 -05:00
Denis Kenzior
5b2e34b5b6
wiphy: add network_emit_removed
2014-10-30 00:09:29 -05:00
Denis Kenzior
0d59e91a2b
wiphy: Add network_emit_added
2014-10-30 00:09:16 -05:00
Denis Kenzior
3a8eb753a3
wiphy: Expose rudimentary network information
2014-10-30 00:01:52 -05:00
Denis Kenzior
621a2a003d
dbus: Add Network Interface #define
2014-10-29 23:58:36 -05:00
Denis Kenzior
64e9ad91ed
wiphy: Track bss as a network object in a hashmap
2014-10-29 23:20:43 -05:00
Denis Kenzior
b484197470
wiphy: Keep track of seen BSS
2014-10-29 22:50:27 -05:00
Denis Kenzior
39fde81dba
wiphy: Refactor get_scan
2014-10-28 11:15:26 -05:00
Denis Kenzior
6917824be9
wiphy: refactor parse_bss
2014-10-28 11:04:31 -05:00
Denis Kenzior
0a71163c3f
wiphy: Add Scan() method
2014-10-28 09:43:36 -05:00
Denis Kenzior
d2f61dd0cd
dbus: Add dbus_error_failed
2014-10-27 23:42:59 -05:00
Denis Kenzior
96a139d15b
dbus: add dbus_error_busy
2014-10-27 23:42:43 -05:00
Denis Kenzior
4639c31d61
dbus: Add dbus_pending_reply
2014-10-27 23:42:05 -05:00
Denis Kenzior
051f49ea85
wiphy: Tweak netdev structure creation order
...
Because none of the attributes are assigned until after the DeviceAdded
signal is emitted, the signal appears with invalid properties. For now,
move the netdev structure fill-out into the if statement.
If the netdev attributes can change, then these need to be handled
separately and appropriate signals to be sent.
2014-10-23 22:44:59 -05:00
Denis Kenzior
77255dbee0
manager: Implement GetDevices method
2014-10-23 22:41:45 -05:00
Denis Kenzior
2d6babc3f8
wiphy: Expose iwd_device_get_path
2014-10-23 22:40:32 -05:00
Denis Kenzior
2d6a50bb27
wiphy: add __iwd_device_foreach
2014-10-23 21:47:38 -05:00
Denis Kenzior
c13103974c
wiphy: Expose Name property of netdevs
2014-10-23 20:29:36 -05:00
Denis Kenzior
9ba3cc408e
wiphy: Add __iwd_device_append_properties
2014-10-23 16:53:36 -05:00
Denis Kenzior
1ff34e3f0f
dbus: add dbus_dict_append_bool
2014-10-23 16:53:34 -05:00
Denis Kenzior
c550fb01f9
dbus: add dbus_dict_append_string
2014-10-23 16:53:31 -05:00
Denis Kenzior
28f33d210d
wiphy: add skeleton for DeviceAdded signal
2014-10-23 15:11:17 -05:00
Denis Kenzior
daa0b6768f
wiphy: add DeviceRemoved signal implementation
2014-10-23 15:11:01 -05:00
Denis Kenzior
4a4d094d8e
wiphy: Add device_get_path() utility
2014-10-23 15:09:52 -05:00
Denis Kenzior
ae95cbd172
dbus: Use a #define for IWD_MANAGER_PATH
2014-10-23 15:07:08 -05:00
Denis Kenzior
852072e836
dbus: Move Device interface #define to dbus.h
2014-10-23 14:34:17 -05:00
Denis Kenzior
6437e5ae92
dbus: Move Manager Interface #define to dbus.h
2014-10-23 14:34:13 -05:00
Denis Kenzior
f9363748f0
wiphy: Expose netdevs to DBus
2014-10-23 14:32:12 -05:00
Jukka Rissanen
e9dbaac7d4
TODO: Taking three HWSIM tasks
...
The three tasks are related so taking them all.
2014-10-22 21:26:59 -05:00
Patrik Flykt
125918ed4c
TODO: Add ownership on HWSIM_ATTR_RADIO_ID task
2014-10-22 21:25:41 -05:00
Denis Kenzior
f125a78df8
hwsim: Minor style fix
2014-10-13 12:56:27 -05:00
Denis Kenzior
4eef5a256f
features: Tweak text to be more 'future' proof
2014-10-13 12:55:44 -05:00
Jukka Rissanen
fc4462359b
TODO: Mark hwsim client tracking task done
...
The "Add support for client tracking of HWSIM_CMD_CREATE_RADIO"
task is done. The patch to kernel mac80211_hwsim kernel module
was submitted and it was added to mac80211-next tree 09 Oct 2014
in commit "e9ed49bf4c2c"
2014-10-13 12:53:52 -05:00
Jukka Rissanen
1a07cf4ab1
hwsim: Add attribute to destroy radio when program stops
...
The new attribute causes the radio to be removed if the hwsim process
dies. This is the default behaviour. If user calls the binary with -k
option, then the radio is kept after hwsim quits.
This requires kernel support for HWSIM_ATTR_DESTROY_RADIO_ON_CLOSE
attribute.
2014-10-13 12:53:09 -05:00
Jukka Rissanen
171a32e147
doc: Updating todo/features about hwsim radio id support
...
Lowering priority of HWSIM_ATTR_RADIO_ID task as we get the radio
id in error code field. If we really want to create a new attribute
for the radio id, then the TODO entry is still valid.
2014-10-13 12:51:52 -05:00
Denis Kenzior
c3e9ac662a
hwsim: Cleanup some style issues
2014-10-07 21:36:10 -05:00
Denis Kenzior
210187fb45
hwsim: Make compile
2014-10-07 21:35:58 -05:00