All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luana Borgia <luanaborgia1969@gmail.com>
To: linux-wireless@vger.kernel.org, Avinash Patil <patila@marvell.com>
Subject: Fwd: ap + adhoc not working with Mwifiex driver for sd8887
Date: Wed, 20 Apr 2016 00:43:55 -0500	[thread overview]
Message-ID: <CAD3r-iTvJZLM0=tpoKZr8RGFrymdzPBV8xAEsx-qvnFeh6y=5g@mail.gmail.com> (raw)
In-Reply-To: <CAD3r-iRQD5nVBuC1_zYmu_FtmP4CdP2BbHxz1Q579mBPKg5zmQ@mail.gmail.com>

Hi,
I've successfully managed to get this driver working in adhoc with
olsrd on mlan0 interface, now I'm trying to add a uap0 working at the
same time, with all this command:

rfkill unblock wlan
ip link set uap0 down
ip link set mlan0 down
iw dev mlan0 set type ibss
ip link set mlan0 up
iw dev mlan0 ibss join mesh 2437 fe:de:fe:de:fe:de
olsrd-start.sh
cat <<EOF > /etc/hostapd.conf
ssid=PCM_AP_fede
interface=uap0
driver=nl80211
hw_mode=g
channel=6
EOF
iw phy phy0 interface add uap0 type __ap
hostapd /etc/hostapd.conf &
dnsmasq --interface=uap0 --except-interface=lo --bind-interfaces
--dhcp-range=192.168.3.2,192.168.3.10,12h --conf-file=/dev/null
ip addr add 192.168.3.1/24 broadcast 192.168.3.255 dev uap0

but I get this error after run the hostapd command:

[ 4980.201096] IPv6: ADDRCONF(NETDEV_CHANGE): mlan0: link becomes ready
[ 4983.335467] IPv6: ADDRCONF(NETDEV_UP): uap0: link is not ready
[ 4983.358879] mwifiex_sdio mmc0:0001:1: CMD_RESP: cmd 0xb1 error, result=0x1

adhoc is fine, with the above order of command
but if I run before hostapd and than adhoc part than the issue occur
in the adhoc part.

I'm using the firmware
http://git.marvell.com/?p=mwifiex-firmware.git;a=blob;f=mrvl/sd8887_uapsta.bin;h=165e6c3d34b0c2a630252907a7ac4daf6e13c9d5;hb=HEAD

and the mwifiex from kernel linux 4.1.1

thanks in advance for any support
best regards

Luana

       reply	other threads:[~2016-04-20  5:43 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CAD3r-iRQD5nVBuC1_zYmu_FtmP4CdP2BbHxz1Q579mBPKg5zmQ@mail.gmail.com>
2016-04-20  5:43 ` Luana Borgia [this message]
2016-04-20 12:58   ` ap + adhoc not working with Mwifiex driver for sd8887 Amitkumar Karwar
2016-04-20 14:18   ` Amitkumar Karwar
2016-04-20 16:57     ` Luana Borgia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAD3r-iTvJZLM0=tpoKZr8RGFrymdzPBV8xAEsx-qvnFeh6y=5g@mail.gmail.com' \
    --to=luanaborgia1969@gmail.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=patila@marvell.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.