mix AP and wireless client
Dan Williams
dcbw
Thu Jan 22 10:57:36 PST 2015
On Thu, 2015-01-22 at 09:34 +0100, Harm Verhagen wrote:
> On Wed, Jan 21, 2015 at 9:21 PM, Dan Williams <dcbw at redhat.com> wrote:
>
> > On Wed, 2015-01-21 at 19:51 +0100, Harm Verhagen wrote:
> > > On Wed, Jan 21, 2015 at 6:35 PM, Dan Williams <dcbw at redhat.com> wrote:
> >
> > > > I see you said GWF-3M05 which appears to be a ralink device. Which
> > > > kernel version and which ralink driver are you using? Are you using
> > > > rt2800usb or are you using a vendor driver?
> > > >
> > > >
> > > kernel: 3.1.10
> > > about driver, i'm not really sure. How can I tell ?
> > > Let me check the kernel config tomorrow.
> >
> > dmesg output will usually tell you, eg 'dmesg | grep 2800'. Or post
> > your 'lsmod' output and we can figure it out too.
> >
> > Dan
> >
> >
> Right, so yes I'm using rt2800usb, and yes seems a Ralink device.
>
> $ lsmod -> no modules, all built-in
>
> $dmesg | grep 2800
> [ 4.160068] usbcore: registered new interface driver rt2800usb
> [ 9.676979] Registered led device: rt2800usb-phy0::radio
> [ 9.677263] Registered led device: rt2800usb-phy0::assoc
> [ 9.677539] Registered led device: rt2800usb-phy0::quality
>
> $ dmesg | grep phy0
> [ 9.673829] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
> [ 9.676979] Registered led device: rt2800usb-phy0::radio
> [ 9.677263] Registered led device: rt2800usb-phy0::assoc
> [ 9.677539] Registered led device: rt2800usb-phy0::quality
>
> $ dmesg| grep 3-1.4
> [ 9.085779] usb 3-1.4: new high speed USB device number 4 using
> tegra-ehci
> [ 9.243734] usb 3-1.4: New USB device found, idVendor=148f,
> idProduct=3070
> [ 9.258476] usb 3-1.4: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [ 9.280257] usb 3-1.4: Product: 802.11 n WLAN
> [ 9.291809] usb 3-1.4: Manufacturer: Ralink
> [ 9.303156] usb 3-1.4: SerialNumber: 1.0
> [ 9.406341] usb 3-1.4: reset high speed USB device number 4 using
> tegra-ehci
rt2800 from the 3.1 kernel does not support mixed combinations of STA
and AP interfaces, unfortunately. See
drivers/net/wireless/rt2x00/rt2x00mac.c::rt2x00mac_add_interface():
case NL80211_IFTYPE_AP:
/*
* We don't support mixed combinations of
* sta and ap interfaces.
*/
if (rt2x00dev->intf_sta_count)
return -ENOBUFS;
...
case NL80211_IFTYPE_STATION:
/*
* We don't support mixed combinations of
* sta and ap interfaces.
*/
if (rt2x00dev->intf_ap_count)
return -ENOBUFS;
So that's exactly where you're seeing the "no buffer space available"
errors. It appears you need at least kernel v3.7 or later to support
interface combinations on rt2800 devices.
Dan
More information about the Hostap
mailing list