Re: Cannot put ath9k interface to different namespace?

From: Johannes Berg
Date: Sat Feb 18 2012 - 17:53:44 EST


You have to put the entire wiphy into the netns with iw, not just one virtual interface.

Michael Leun <lkml20120218@xxxxxxxxxxxxxxx> wrote:

>Hi,
>
>tried to put ath9k_htc interface to namespace, does not work:
>
>jill:/home/ml # ip link set netns 4001 dev wlan3
>RTNETLINK answers: Invalid argument
>
>Also does not work with ath9k, but does work with other wlan devices
>(tried zd1201, r8712u, thats what I've here at the moment).
>
>When trying, device was down.
>
>Is there some trick to do it or is there some support from driver for
>that missing?
>
>Any plans to fix that? Would that be big effort?
>
>Thanks.
>
>--
>MfG,
>
>Michael Leun
>
>--
>To unsubscribe from this list: send the line "unsubscribe
>linux-wireless" in
>the body of a message to majordomo@xxxxxxxxxxxxxxx
>More majordomo info at http://vger.kernel.org/majordomo-info.html

--
Sent from my tablet. Please excuse my brevity.
--
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/