Thread (34 messages) 34 messages, 5 authors, 2014-01-26

Re: [linux-sunxi] Firmware for Bluetooth (and wifi)

From: Arend van Spriel <hidden>
Date: 2014-01-26 08:53:37

On 01/24/2014 05:34 PM, Hans de Goede wrote:
Hi,

On 01/24/2014 11:25 AM, Arend van Spriel wrote:
quoted
On 01/23/2014 11:39 PM, Hans de Goede wrote:
quoted
Hi,

I've been working on updating sunxi-devel to include more
recent versions if your gmac patches, as well as adding support
for the wifi + bluetooth found on the cubietruck.

Here is my current work on this:

https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-devel

It is close to working, but unfortunately it does not work,
here is what I get in dmesg when I modprove the module:

[   99.700889] brcmfmac_sdio mmc1:0001:1: device tree node not found
[  100.020984] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0:
Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d
[  100.260948] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[  100.281260] brcmfmac: brcmf_fil_cmd_data: Failed err=-23
[  100.322508] usbcore: registered new interface driver brcmfmac
[  160.445215] brcmfmac: brcmf_cfg80211_sched_scan_start: Scanning
already: status (1)
[  203.445404] brcmfmac: brcmf_cfg80211_sched_scan_start: Scanning
already: status (1)
[  256.445140] brcmfmac: brcmf_cfg80211_sched_scan_start: Scanning
already: status (1)
Can you enable debug logging in brcmfmac, ie. debug=0xd416 so I can have
a look.
I've captured a log with these flags until the first "Scanning already"
message, you can find it here:
Bedankt, Hans

Looking at the log it looks more or less ok. wpa_supplicant (assume you
use that) first does three regular scans which end with no APs found.
Not sure why that happens unless you are in a shielded room :-) After
those scans wpa_supplicant tries to tell the device to do a so-called
scheduled scan. Basically, it is a scan offload. However, the driver
still thinks there is a regular scan ongoing. This needs to be
investigated more. I tried to get your repo from github, but got:

error: The requested URL returned error: 403 Forbidden while accessing
https://github.com/jwrdegoede/linux-sunxi/commits/sunxi-devel/info/refs
fatal: HTTP request failed

Gr. AvS
http://people.fedoraproject.org/~jwrdegoede/log2

Thanks for looking into this.

Regards,

Hans
-- 
To unsubscribe from this list: send the line "unsubscribe
linux-wireless" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help