wandboard quad wifi ap mode

This is the place for software discussions not having a dedicated subforum

wandboard quad wifi ap mode

Postby zamek » Sat Oct 19, 2013 9:40 am

Hi All,

I would like to use my wbquad in ap mode (I need to communicating with an Android device). Is it possible with wbq?

When I run iw list commands I get:
Supported interface modes:
* IBSS
* managed

Is it kernel dependent, or is there a hw cause? Do I need any module to support ap mode?

thx
Zamek
zamek
 
Posts: 9
Joined: Mon Oct 07, 2013 6:18 pm

Re: wandboard quad wifi ap mode

Postby Tapani » Mon Oct 21, 2013 3:37 am

First, check with those experimenting with 3.11/3.12 kernels if they have it working.
I'm afraid ap mode would require a different firmware, which the chip manufacturer does not have (we asked).
Tapani
Site Admin
 
Posts: 705
Joined: Tue Aug 27, 2013 8:32 am

Re: wandboard quad wifi ap mode

Postby zamek » Tue Oct 22, 2013 10:23 pm

Hi Mr. Tapani,

I could install a debian distrib based on it:
http://www.eewiki.net/display/linuxonarm/Wandboard

uname: Linux arm 3.12.0-rc6-armv7-x5 #1 SMP Mon Oct 21 22:25:29 CEST 2013 armv7l GNU/Linux
here is the iw list result:
Wiphy phy0
Band 1:
Capabilities: 0x1020
HT20
Static SM Power Save
RX HT20 SGI
No RX STBC
Max AMSDU length: 3839 bytes
DSSS/CCK HT40
Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
Minimum RX AMPDU time spacing: 16 usec (0x07)
HT RX MCS rate indexes supported: 0-7
HT TX MCS rate indexes are undefined
Frequencies:
* 2412 MHz [1] (20.0 dBm)
* 2417 MHz [2] (20.0 dBm)
* 2422 MHz [3] (20.0 dBm)
* 2427 MHz [4] (20.0 dBm)
* 2432 MHz [5] (20.0 dBm)
* 2437 MHz [6] (20.0 dBm)
* 2442 MHz [7] (20.0 dBm)
* 2447 MHz [8] (20.0 dBm)
* 2452 MHz [9] (20.0 dBm)
* 2457 MHz [10] (20.0 dBm)
* 2462 MHz [11] (20.0 dBm)
Bitrates (non-HT):
* 1.0 Mbps
* 2.0 Mbps (short preamble supported)
* 5.5 Mbps (short preamble supported)
* 11.0 Mbps (short preamble supported)
* 6.0 Mbps
* 9.0 Mbps
* 12.0 Mbps
* 18.0 Mbps
* 24.0 Mbps
* 36.0 Mbps
* 48.0 Mbps
* 54.0 Mbps
max # scan SSIDs: 10
max scan IEs length: 2048 bytes
Coverage class: 0 (up to 0m)
Supported Ciphers:
* WEP40 (00-0f-ac:1)
* WEP104 (00-0f-ac:5)
* TKIP (00-0f-ac:2)
* CCMP (00-0f-ac:4)
* CMAC (00-0f-ac:6)
Available Antennas: TX 0 RX 0
Supported interface modes:
* IBSS
* managed
* AP
* P2P-client
* P2P-GO
* Unknown mode (10)
software interface modes (can always be added):
valid interface combinations:
* #{ IBSS, managed, AP } <= 2, #{ P2P-client, P2P-GO } <= 1, #{ Unknown mode (10) } <= 1,
total <= 3, #channels <= 2
Supported commands:
* new_interface
* set_interface
* new_key
* new_beacon
* join_ibss
* set_pmksa
* del_pmksa
* flush_pmksa
* remain_on_channel
* action
* set_channel
* Unknown command (75)
* Unknown command (89)
* connect
* disconnect
Supported TX frame types:
* managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
* Unknown mode (10): 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
Supported RX frame types:
* managed: 0x40 0xd0
* P2P-client: 0x40 0xd0
* P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
* Unknown mode (10): 0x40 0xd0

The suggested firmware (wget -c https://git.kernel.org/cgit/linux/kerne ... ac4329.bin) isn't exists but I found a
brcmfmac4329-sdio.bin at https://git.kernel.org/cgit/linux/kerne ... lain/brcm/

The brcfmac-sdio.txt is:
# bcm4329 NVRAM file for Wandboard Dual
# $Copyright (C) 2008 Broadcom Corporation$
# $id$

sromrev=3
vendid=0x14e4
devid=0x432f
boardtype=0x53e

boardrev=0x41

#boardflags=0x1200
boardflags=0x200

# Specify the xtalfreq if it is otherthan 38.4MHz
xtalfreq=37400

aa2g=3
aa5g=0

ag0=255
#tri2g=0x64

# 11g paparams
pa0b0=5542,5542,5542
pa0b1=64244,64244,64244
pa0b2=65202,65202,65202

pa0itssit=62
pa0maxpwr=74
opo=0
mcs2gpo0=0x6666
mcs2gpo1=0x6666

# 11g rssi params
rssismf2g=0xa,0xa,0xa
rssismc2g=0xb,0xb,0xb
rssisav2g=0x3,0x3,0x3
bxa2g=0

# country code
ccode=ALL
cctl=0x0
cckdigfilttype=0
ofdmdigfilttype=1

rxpo2g=0

boardnum=1
macaddr=00:90:4c:c5:00:34

# xtal pu and pd time control variable
# pu time is driver default (0x1501)
#r13t=0x1501

#######
nocrc=1

#for mfgc
otpimagesize=182

# sdio extra configs
hwhdr=0x05ffff031030031003100000

#This generates empty F1, F2 and F3 tuple chains, and may be used if the host SDIO stack does not require the standard tuples.
#RAW1=80 02 fe ff

#This includes the standard FUNCID and FUNCE tuples in the F1, F2, F3 and common CIS.
RAW1=80 32 fe 21 02 0c 00 22 2a 01 01 00 00 c5 0 e6 00 00 00 00 00 40 00 00 ff ff 80 00 00 00 00 00 00 00 00 00 00 c8 00 00 00 00 00 00 00 00 00
00 00 00 00 ff 20 04 D0 2 29 43 21 02 0c 00 22 04 00 20 00 5A
nvramver=4.218.214.0

When I start wlan0, it can scan but unfortunately cannot makes AP:

[ 162.808830] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[ 162.955169] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[ 162.960605] brcmfmac: brcmf_update_wiphybands: mimo_bw_cap error (-23)
[ 162.981765] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[ 162.987110] brcmfmac: _brcmf_set_multicast_list: Setting BRCMF_C_SET_PROMISC failed, -23


Is this caused a wrong firmware or any other mistake?

Thx
Zamek
zamek
 
Posts: 9
Joined: Mon Oct 07, 2013 6:18 pm

Re: wandboard quad wifi ap mode

Postby Tapani » Wed Oct 23, 2013 3:56 am

To explain some basics: the bcm4329 is a licensed design from Broadcom, and manufactured by many different manufacturers.
Especially the NVRAM.txt can vary a lot between different manufacturers' chips.

So the only advice I can come with is: keep looking for alternative firmwares...
Tapani
Site Admin
 
Posts: 705
Joined: Tue Aug 27, 2013 8:32 am

Re: wandboard quad wifi ap mode

Postby zamek » Thu Oct 24, 2013 5:30 pm

Thank you, for your help.
I sent an ask to Broadcom, I hope I can get a corresponding firmware...

thx
Zamek
zamek
 
Posts: 9
Joined: Mon Oct 07, 2013 6:18 pm

Re: wandboard quad wifi ap mode

Postby Neogenesis » Wed Nov 06, 2013 7:07 pm

Hi,

has anyone solved the mistery?

The newer kernels have host AP support (according to this patch patch from 28.09.2012 ).

@Zamek : Did you get the firmware from Broadcom or is the already available one OK?

Neogenesis
Neogenesis
 
Posts: 2
Joined: Wed Nov 06, 2013 6:42 pm

Re: wandboard quad wifi ap mode

Postby CruX » Thu Nov 21, 2013 9:33 pm

Any new information here? Would be really nice to have a working infrastructure/ap mode...

Best regards
CruX
 
Posts: 68
Joined: Sun Oct 27, 2013 1:29 pm

Re: wandboard quad wifi ap mode

Postby Tapani » Fri Nov 22, 2013 2:28 am

We got a new driver+firmware from the manufacturer of the Wifi chip earlier this week. They say it has AP mode support. After a few emails with them, we finally managed to compile the driver, however we have not verified if AP mode really works. So stay tuned...

Too bad the driver is not the standard open source driver, but some home-brewn thing on top of broadcoms reference driver. :-/
Tapani
Site Admin
 
Posts: 705
Joined: Tue Aug 27, 2013 8:32 am

Re: wandboard quad wifi ap mode

Postby moidinsuzan » Sat Nov 30, 2013 1:00 pm

Hi,

Does the AP mode works in wandboard dual.If so can u share driver source code and corresponding firmware.
Provide the build steps for the same.

Regards,
Suzan
moidinsuzan
 
Posts: 5
Joined: Wed Sep 04, 2013 11:24 am

Re: wandboard quad wifi ap mode

Postby Tapani » Mon Dec 02, 2013 4:45 am

The status is:
- we received a driver + fw from manufacturer
- we cannot get ap mode to work
- the communication to manufacturer is hampered by middle men (distributors etc), who of business reasons, want to be message forwarders

If anybody wants the mess we got now, sure, but I would not expect it to be the solution to your problems.
Tapani
Site Admin
 
Posts: 705
Joined: Tue Aug 27, 2013 8:32 am

Next

Return to Software - General

Who is online

Users browsing this forum: No registered users and 14 guests

cron