Re: Network drivers that don't suspend on interface down



On Wed, Dec 20, 2006 at 10:06:51PM -0500, Dan Williams wrote:

a) tied to the wireless hardware, switch kills hardware directly
b) tied to wireless hardware, but driver handles the kill request
c) just another key, a separate key driver handles the event and asks
the wireless driver to kill the card

It's also complicated because some switches are supposed to rfkill both
an 802.11 module _and_ a bluetooth module at the same time, or I guess
some laptops may even have one rfkill switch for each wireless device.
Furthermore, some people want to 'softkill' the hardware via software
without pushing the key, which is a subset of (b) or (c) above.

If we define interface down as meaning that the device is powered down
and the radio switched off, then (b) and (c) would presumably just need
to ensure that the interface is downed. (a) is a slightly more special
case - if the switch disables the radio, I guess we then want the driver
to down the interface as well.

In the (a) case, drivers should presumably refuse to bring the interface
up if the radio is disabled?
--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: Network drivers that dont suspend on interface down
    ... to ensure that the interface is downed. ... the driver simply can't do anything about it, because the switch ... is hardwired to the card and either the card's firmware takes care of ...
    (Linux-Kernel)
  • Re: Cant connect to Internet and e-mail.
    ... do you have any further ideas regarding my internet connection ... Would it be wise to run the Windows Wireless Wizard again on all ... Windows "roll back driver" feature but this did not correct the ...
    (microsoft.public.windowsxp.network_web)
  • Re: Cant connect to Internet and e-mail.
    ... When I access the list of available wireless networks I find that the default is "Acquiring network address" but this never succeeds. ... I did choose to have Windows install a driver from Windows Update. ... I did try the Windows "roll back driver" feature but this did not correct the problem. ...
    (microsoft.public.windowsxp.network_web)
  • Re: Network drivers that dont suspend on interface down
    ... to ensure that the interface is downed. ... case - if the switch disables the radio, I guess we then want the driver ... The driver has no say whatsoever ... I think it is correct when the driver does not activate them, but I think the user should be able to configure them, have them stored inside cfg80211/the driver, and have them activated/used when uping the interface, or when the rfkill switch has been deactivated. ...
    (Linux-Kernel)
  • Re: WiFi Fingerprinting
    ... Net at your favorite neighborhood wireless caf, ... card's unique device driver, ... Revealing this technique publicly, ... every NIC driver author is doing it "his way". ...
    (comp.os.linux.networking)