Return-path: Received: from mail-io0-f196.google.com ([209.85.223.196]:35526 "EHLO mail-io0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751029AbcDTQ5d convert rfc822-to-8bit (ORCPT ); Wed, 20 Apr 2016 12:57:33 -0400 Received: by mail-io0-f196.google.com with SMTP id u185so7777058iod.2 for ; Wed, 20 Apr 2016 09:57:33 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <74cc66c9d174442a9ca71bcfca2c2231@SC-EXCH04.marvell.com> References: <74cc66c9d174442a9ca71bcfca2c2231@SC-EXCH04.marvell.com> Date: Wed, 20 Apr 2016 11:57:32 -0500 Message-ID: (sfid-20160420_185738_990336_0EF0038B) Subject: Re: ap + adhoc not working with Mwifiex driver for sd8887 From: Luana Borgia To: Amitkumar Karwar Cc: "linux-wireless@vger.kernel.org" , Avinash Patil Content-Type: text/plain; charset=UTF-8 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi Amitkumar, thanks for the quick reply.. That's really sad, I hoped that you came with a way to setup the adhoc in ahdemo, like atheros is doing. :( Do you know if there is any plan to manage this in future? Thanks for all support best regards Luana 2016-04-20 9:18 GMT-05:00 Amitkumar Karwar : > Hi Luana, > >> From: linux-wireless-owner@vger.kernel.org [mailto:linux-wireless- >> owner@vger.kernel.org] On Behalf Of Luana Borgia >> Sent: Wednesday, April 20, 2016 11:14 AM >> To: linux-wireless@vger.kernel.org; Avinash Patil >> Subject: Fwd: ap + adhoc not working with Mwifiex driver for sd8887 >> >> 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 >> < /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=165e6c3d34b0c2a630252907a >> 7ac4daf6e13c9d5;hb=HEAD >> >> and the mwifiex from kernel linux 4.1.1 >> > > I checked with our team. We don’t support simultaneous operations of Adhoc and AP network. > Only one at a time can be used. > > Regards, > Amitkumar