Search Linux Wireless

Fwd: ap + adhoc not working with Mwifiex driver for sd8887

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
--
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



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux