Rework of the bitrate setting to allow finer control about the
bit timing settings.
The current settings are propagated via existing netlink
interfaces, reporting the current settings uses custom
ioctls.
Also report bit errors and bus off state if sent from the
device.
Signed-off-by: Christian Gabriel <ch_gabriel@web.de>
If kernel driver version is new enough, report the currently set
bitrates via ioctl.
Kernel will report changed bitrates through special read operations,
send these values to the device.
Signed-off-by: Christian Gabriel <ch_gabriel@web.de>
Allow user to specify the scan interval for searching for devices.
Scanning places every interface on the machine in promiscuous mode
and currently runs once a second. This behaviour may have undesirable
side-effects and also pollutes the kernel log.
The new parameter --scan-interval-ms <interval> will allow the user
to specify the rate at which scanning occurs. If equal to 0, then
only a single scan is performed.