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



On Wed, 20 Dec 2006 12:53:14 +0000, Matthew Garrett wrote:
The situation is more complicated for wireless. Userspace expects to be
able to get scan results from the card even if the interface is down.

User space should get an error when trying to get scan results from the
interface that is down. Some drivers are broken and don't do this but
when they're fixed there is no problem here.

In that case, I'm pretty sure we need a third state rather than just
"up" or "down".

We have that third state, it's IFF_DORMANT. Not supported yet by any
wireless driver/stack, unfortunately.

Thanks,

Jiri

--
Jiri Benc
SUSE Labs
-
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: chelsio driver and Myricom driver
    ... firmware will be automatically be updated when you up an interface on ... I just figured that out a few min ago by accident and the card looks happy now! ... Last clearing of "show interface" counters never ... input packets with dribble condition detected ...
    (freebsd-current)
  • Re: [patch 05/11] syslets: core code
    ... The example you tried to use to show how "simple" the interface iswas ... uses indirection actually has subtle issues. ... And doing wrappers in user space is almost entirely unacceptable, ... And I think a good implementation doesn't need wrapping in user space to ...
    (Linux-Kernel)
  • Re: MCE 2005 Interface flickers
    ... The specs of the card on the nvidia site indicates that it does have turbo ... Do you have any problem when not using the MCE user interface? ...
    (microsoft.public.windows.mediacenter)
  • Re: Design decision for a game
    ... public void addCard(Card card) { ... for (HouseListener lstnr: listeners) { ... if you _do_ want the Rule notifications to include the ... or you need to expand your RuleListener interface so that there are ...
    (comp.lang.java.programmer)