Andrew Zaborowski
6f51950f46
netdev: Add netdev_set_powered
2016-07-13 10:27:41 -05:00
Denis Kenzior
005213a3d4
netdev: Implement new_wiphy hint
...
When a new wiphy is added, the kernel usually adds a default STA
interface as well. This interface is currently not signaled over
nl80211 in any way.
This implements a selective dump of the wiphy interfaces in order to
obtain the newly added netdev. Selective dump is currently not
supported by the kernel, so all netdevs will be returned. A patch on
linux-wireless is pending that implements the selective dump
functionality.
2016-07-01 14:39:25 -05:00
Denis Kenzior
e76daf224c
netdev: Implement interface filtering
2016-06-23 17:34:47 -05:00
Andrew Zaborowski
b6c22fc1b9
netdev: netdev watch support
2016-06-21 14:08:21 -05:00
Andrew Zaborowski
aa7a6a4619
netdev: Track interface UP flag
2016-06-21 14:08:19 -05:00
Denis Kenzior
75ce550de9
netdev: Move operstate operations out of wiphy.c
...
Also make netdev_set_linkmode_and_operstate static
2016-06-16 15:13:43 -05:00
Denis Kenzior
64d382cc89
netdev: Move disconnect event handling
...
.. out of wiphy.c
2016-06-16 15:13:43 -05:00
Denis Kenzior
d297fbb215
netdev: Add stubs for netdev_disconnect
2016-06-14 19:57:21 -05:00
Denis Kenzior
51f89e34e9
netdev: Add initial netdev_connect logic
2016-06-14 19:57:18 -05:00
Denis Kenzior
833ed20b9a
netdev: Add netdev_get_name
2016-06-03 09:53:47 -05:00
Denis Kenzior
1573bf7d99
netdev: Add netdev_get_iftype
2016-06-03 09:53:47 -05:00
Denis Kenzior
1bd7baf44b
netdev: Add netdev_find
2016-06-03 09:53:46 -05:00
Denis Kenzior
8e7829e1ab
netdev: Add netdev_get_address
2016-06-03 09:53:46 -05:00
Denis Kenzior
7a3f823d26
netdev: Add netdev_get_ifindex
2016-06-03 09:53:46 -05:00
Denis Kenzior
280f2d40ad
netdev: Make netdev_init accept nl80211
2016-06-03 09:53:46 -05:00
Denis Kenzior
e48ca5a5a6
wiphy: Rename netdev to device
2016-06-01 13:06:59 -05:00
Denis Kenzior
08d72cd213
netdev: Remove unused typedefs
2016-05-11 22:24:40 -05:00
Denis Kenzior
f3fc0ea1f9
device: Refactor netdev watches
...
Turn netdev watches into device watches. The intent is to refactor out
netdev specific details into its own class and move device specific
logic into device.c away from wiphy.c
2016-05-05 12:14:59 -05:00
Denis Kenzior
0e3495488f
wiphy: Move netdev_state enum
2016-05-05 11:40:54 -05:00
Denis Kenzior
14e40f27e3
netdev: Add netdev attribute getters
2015-10-02 12:58:26 -05:00
Denis Kenzior
e1bdd7ce1e
netdev: Add netdev watch infrastructure
2015-09-28 20:37:08 -05:00
Denis Kenzior
907b7d1e07
netdev: Move NETDEV_STATE enum to netdev.h
2015-09-28 20:37:08 -05:00
Jukka Rissanen
6dbd544a55
netdev: Add function to set the linkmode and operstate of the link
...
This is needed after connecting successfully to AP.
2015-03-27 13:13:33 -05:00
Marcel Holtmann
37cba460a8
core: Add tracking of network interfaces via RTNL
2014-06-21 13:41:40 +02:00