• Sergey Ryazanov's avatar
    wwan_hwsim: add debugfs management interface · 9ee23f48
    Sergey Ryazanov authored
    wwan_hwsim creates and removes simulated control ports on module loading
    and unloading. It would be helpful to be able to create/remove devices
    and ports at run-time to trigger wwan port (un-)register actions without
    module reloading.
    
    Some simulator objects (e.g. ports) do not have the underling device and
    it is not possible to fully manage the simulator via sysfs. wwan_hsim
    intend for developers, so implement it as a self-contained debugfs based
    management interface.
    Signed-off-by: default avatarSergey Ryazanov <ryazanov.s.a@gmail.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9ee23f48
wwan_hwsim.c 12.5 KB