Return-path: Received: from mx1.redhat.com ([209.132.183.28]:13684 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752198AbaAZPuZ (ORCPT ); Sun, 26 Jan 2014 10:50:25 -0500 Message-ID: <52E52E9B.3060305@redhat.com> (sfid-20140126_165035_715744_C45C7A25) Date: Sun, 26 Jan 2014 16:49:47 +0100 From: Hans de Goede MIME-Version: 1.0 To: Arend van Spriel , linux-sunxi@googlegroups.com CC: Julian Calaby , linux-wireless , Olliver Schinagl , benn@cubietech.com Subject: Re: [linux-sunxi] Firmware for Bluetooth (and wifi) References: <52A040CE.5040706@schinagl.nl> <52A09B5B.70800@schinagl.nl> <52B17973.1000608@broadcom.com> <52B19F38.7060503@redhat.com> <52B1CA51.4010202@broadcom.com> <52BD68BA.3080304@broadcom.com> <52CD12D4.5030008@broadcom.com> <52E19A27.7000402@redhat.com> <52E23FB2.7010705@broadcom.com> <52E29607.8040102@redhat.com> <52E4CCFF.1020200@broadcom.com> In-Reply-To: <52E4CCFF.1020200@broadcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Sender: linux-wireless-owner@vger.kernel.org List-ID: Hi, On 01/26/2014 09:53 AM, Arend van Spriel wrote: > On 01/24/2014 05:34 PM, Hans de Goede wrote: >> Hi, >> >> On 01/24/2014 11:25 AM, Arend van Spriel wrote: >>> On 01/23/2014 11:39 PM, Hans de Goede wrote: >>>> 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 :-) One last update, although everything works now, after some more testing I'm also seeing these messages: [ 262.533803] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 262.540078] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5) [ 1059.641594] brcmfmac: brcmf_cfg80211_del_key: invalid key index (4) [ 1059.647872] brcmfmac: brcmf_cfg80211_del_key: invalid key index (5) [ 1061.563182] brcmfmac: brcmf_cfg80211_sched_scan_start: Scanning already: status (1) [ 1068.564755] brcmfmac: brcmf_cfg80211_sched_scan_start: Scanning already: status (1) [ 1075.389881] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) [ 1075.396192] brcmfmac: brcmf_cfg80211_scan: scan error (-11) [ 1078.172085] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) [ 1078.178394] brcmfmac: brcmf_cfg80211_scan: scan error (-11) [ 1079.194131] brcmfmac: brcmf_cfg80211_escan: Connecting: status (3) [ 1079.200428] brcmfmac: brcmf_cfg80211_scan: scan error (-11) etc. Regards, Hans Regards, Hans