Message ID | 547B07CF.90501@broadcom.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
30.11.2014 15:04, Arend van Spriel wrote: > Thanks. Did not find what I was looking for, but I started working on > integrating btcoex related functionality. The attached patch will print > some info so I can focus on the required functionality for your device. > It is based on 3.18-rc5. With this patch applied against 3.18-rc5, the machine instantly reboots once brcmsmac module is loaded. I'm still debugging this. Thanks, /mjt -- 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
On 12/02/14 22:40, Michael Tokarev wrote: > 30.11.2014 15:04, Arend van Spriel wrote: > >> Thanks. Did not find what I was looking for, but I started working on >> integrating btcoex related functionality. The attached patch will print >> some info so I can focus on the required functionality for your device. >> It is based on 3.18-rc5. > > With this patch applied against 3.18-rc5, the machine instantly reboots > once brcmsmac module is loaded. I'm still debugging this. Argh. Probably the register access I added end up in limbo land or some other stupid mistake. I will double check my patch. Regards, Arend > Thanks, > > /mjt -- 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
On 12/03/14 13:43, Arend van Spriel wrote: > On 12/02/14 22:40, Michael Tokarev wrote: >> 30.11.2014 15:04, Arend van Spriel wrote: >> >>> Thanks. Did not find what I was looking for, but I started working on >>> integrating btcoex related functionality. The attached patch will print >>> some info so I can focus on the required functionality for your device. >>> It is based on 3.18-rc5. >> >> With this patch applied against 3.18-rc5, the machine instantly reboots >> once brcmsmac module is loaded. I'm still debugging this. Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please remove that call as it causes endless recursion and eventually reboot. Regards, Arend > Argh. Probably the register access I added end up in limbo land or some > other stupid mistake. I will double check my patch. > > Regards, > Arend > >> Thanks, >> >> /mjt > -- 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
16.12.2014 19:51, Arend van Spriel wrote:
> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please remove that call as it causes endless recursion and eventually reboot.
Ok, that was easy. Now it loads, but wifi link still
does not work, stalling as before. What we're looking
at now?
(To have a common base, I applied this bt-coex patch to
3.18.0 kernel. I can also apply the previously mentioned
debugging/stats patch too).
Thanks,
/mjt
--
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
On 12/21/14 10:58, Michael Tokarev wrote: > 16.12.2014 19:51, Arend van Spriel wrote: > >> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please remove that call as it causes endless recursion and eventually reboot. > > Ok, that was easy. Now it loads, but wifi link still > does not work, stalling as before. What we're looking > at now? The patch is just to provide me with extra bt-coex related information in the kernel log. So if you can provide that to me I have to info needed to look in the proprietary code base to determine what is missing. Regards, Arend > (To have a common base, I applied this bt-coex patch to > 3.18.0 kernel. I can also apply the previously mentioned > debugging/stats patch too). > > Thanks, > > /mjt -- 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
On 12/21/14 11:00, Michael Tokarev wrote: > Attaching a picture of the board, too. One of the two similar > boards I have (another has lenovo sticker on it). > > Also available as http://www.corpit.ru/mjt/BRCM94313HMGB.JPG > > (I wonder if broadcom does not have any of these cards anymore... ;) Probably in US, but we are in an office in the Netherlands and do not have every flavor of board available. I will dive into some boxes again with this info. Thanks, Arend -- 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
[Trimming Cc list a bit] 21.12.2014 13:12, Arend van Spriel wrote: > On 12/21/14 10:58, Michael Tokarev wrote: >> 16.12.2014 19:51, Arend van Spriel wrote: >> >>> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please remove that call as it causes endless recursion and eventually reboot. >> >> Ok, that was easy. Now it loads, but wifi link still >> does not work, stalling as before. What we're looking >> at now? > > The patch is just to provide me with extra bt-coex related information in the kernel log. So if you can provide that to me I have to info needed to look in the proprietary code base to determine what is missing. I don't really see any additional info, but it might be just me. Here's the dmesg contents of loading brcmsmac module with debug=1, adding an IP address to the wlan0 interface and running a simple download (which stalls after about 4..6Kb transferred): [73321.062190] cfg80211: Calling CRDA to update world regulatory domain [73326.973828] bcma: bus0: Found chip with id 0x4313, rev 0x01 and package 0x08 [73326.979264] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0) [73326.984760] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0) [73326.990242] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0) [73326.995741] bcma: bus0: Found rev 8 PMU (capabilities 0x084C3008) [73326.995754] bcma: bus0: SPROM offset 0x830 [73326.997645] bcma: bus0: Found SPROM revision 8 [73327.008110] bcma: bus0: GPIO driver not activated [73327.008117] bcma: bus0: Bus registered [73327.016533] Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhwsupport=1 [73327.021981] b43: probe of bcma0:1 failed with error -524 [73327.027507] Broadcom 43xx driver loaded [ Features: PNL ] [73327.028594] brcmsmac bcma0:1: mfg 4bf core 812 rev 24 class 0 irq 19 [73327.028620] ieee80211 phy4: brcms_c_protection_upd: idx 2, val -1 [73327.028623] ieee80211 phy4: brcms_c_protection_upd: idx 1, val 0 [73327.028626] ieee80211 phy4: brcms_c_protection_upd: idx 12, val -1 [73327.028629] ieee80211 phy4: brcms_c_protection_upd: idx 11, val 0 [73327.028632] ieee80211 phy4: brcms_c_protection_upd: idx 14, val -1 [73327.028635] ieee80211 phy4: brcms_c_protection_upd: idx 13, val 0 [73327.028638] ieee80211 phy4: brcms_c_protection_upd: idx 15, val -1 [73327.028641] ieee80211 phy4: brcms_c_protection_upd: idx 4, val 2 [73327.028647] brcmsmac bcma0:1: brcms_b_attach wl0: vendor 0x14e4 device 0x4727 [73327.028660] brcmsmac bcma0:1: brcms_b_corereset wl0: core reset [73327.028667] bcma: bus0: Switched to core: 0x812 [73327.029223] brcmsmac bcma0:1: brcms_b_phy_reset wl0: reset phy [73327.029227] brcmsmac bcma0:1: brcms_b_core_phypll_ctl wl0 [73327.029259] brcmsmac bcma0:1: brcms_b_corereset wl0: core reset [73327.029364] brcmsmac bcma0:1: brcms_b_phy_reset wl0: reset phy [73327.029367] brcmsmac bcma0:1: brcms_b_core_phypll_ctl wl0 [73327.029410] brcmsmac bcma0:1: brcms_b_attach wl0: phy 8/1 radio 2064/1 [73327.029460] brcmsmac bcma0:1: hardware: SECI [73327.029464] brcmsmac bcma0:1: brcms_c_coredisable wl0: disable core [73327.029490] brcmsmac bcma0:1: brcms_b_core_phypll_ctl wl0 [73327.029529] ieee80211 phy4: brcms_c_protection_upd: idx 15, val 0 [73327.029534] ieee80211 phy4: brcms_c_protection_upd: idx 3, val 1 [73327.029537] ieee80211 phy4: brcms_c_protection_upd: idx 10, val 1 [73327.029549] ieee80211 phy4: brcms_c_protection_upd: idx 3, val 1 [73327.029820] ieee80211 phy4: Selected rate control algorithm 'minstrel_ht' [73327.121616] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: false (implement) [73327.121626] brcmsmac bcma0:1: brcms_ops_config: change power-save mode: false (implement) [73327.122195] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready [73328.179594] wlan0: authenticate with 64:70:02:29:d9:30 [73328.183927] wlan0: capabilities/regulatory prevented using AP HT/VHT configuration, downgraded [73328.187684] wlan0: send auth to 64:70:02:29:d9:30 (try 1/3) [73328.193289] wlan0: authenticated [73328.198793] wlan0: associate with 64:70:02:29:d9:30 (try 1/3) [73328.207394] wlan0: RX AssocResp from 64:70:02:29:d9:30 (capab=0x411 status=0 aid=2) [73328.211734] brcmsmac bcma0:1: brcmsmac: brcms_ops_bss_info_changed: associated [73328.215616] brcmsmac bcma0:1: brcms_ops_bss_info_changed: qos enabled: true (implement) [73328.219433] wlan0: associated [73328.223264] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready [73328.282197] ieee80211 phy4: brcms_c_protection_upd: idx 11, val 0 [73328.285855] ieee80211 phy4: brcms_c_protection_upd: idx 13, val 4 [73328.289431] ieee80211 phy4: brcms_c_protection_upd: idx 16, val 0 [73332.121259] net_ratelimit: 36 callbacks suppressed [73332.125201] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73333.125295] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73334.129073] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73335.133022] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73336.137011] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73337.141095] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73338.145078] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73339.148965] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73340.152950] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73341.156936] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73342.161074] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73343.165180] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73344.168951] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73345.172948] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73346.176862] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73347.181006] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73348.185025] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73349.188991] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73350.193073] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73351.196894] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73352.200874] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73353.204712] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73354.208701] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73355.212685] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73356.216671] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73357.220657] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73358.224644] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73359.228630] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73360.232616] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73361.236665] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73362.240808] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73363.244823] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73364.248710] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73365.252750] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73366.256533] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73367.260517] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73368.264505] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73369.268541] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73370.272476] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73371.276467] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73372.280717] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73373.284704] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73374.288692] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73375.292669] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73376.296626] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73377.300630] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73378.304613] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73379.308647] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73380.312571] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73381.316529] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73382.320534] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73383.324516] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73384.328514] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73385.332477] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73386.336434] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73387.340438] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73388.344397] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73389.348401] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73390.352382] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73391.356417] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73392.360340] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73393.364394] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73394.368307] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73395.372293] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73396.376270] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73397.380238] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73398.384330] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73399.388338] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73400.392406] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73401.396274] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73402.400268] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73403.404281] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73404.408146] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73405.412177] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73406.416229] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73407.420182] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73408.424230] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73409.428026] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73410.432095] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73411.436110] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73412.439986] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73413.219752] brcmsmac bcma0:1: brcms_ops_bss_info_changed: arp filtering: 1 addresses (implement) [73413.444021] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73414.448001] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73415.451912] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73416.455863] brcmsmac bcma0:1: brcms_c_watchdog wl0 [73417.460056] brcmsmac bcma0:1: brcms_c_watchdog wl0 I also noticed the following: o Watchdog calls itself wl0 while interface name is wlan0. Might be a good idea to change it. o what does "capabilities/regulatory prevented using AP HT/VHT configuration, downgraded" mean? Thanks, /mjt -- 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
On 12/21/14 11:27, Michael Tokarev wrote:
> [73327.029460] brcmsmac bcma0:1: hardware: SECI
Well,
The piece of info is small, but it is there ;-)
Thanks,
Arend
--
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
On Sunday 21 December 2014 11:12:40 Arend van Spriel wrote: > On 12/21/14 10:58, Michael Tokarev wrote: > > 16.12.2014 19:51, Arend van Spriel wrote: > >> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please > >> remove that call as it causes endless recursion and eventually reboot.> > > Ok, that was easy. Now it loads, but wifi link still > > does not work, stalling as before. What we're looking > > at now? > > The patch is just to provide me with extra bt-coex related information > in the kernel log. So if you can provide that to me I have to info > needed to look in the proprietary code base to determine what is missing. > > Regards, > Arend Hi Arend, here is the output from my card: [ 5167.720041] cfg80211: Calling CRDA to update world regulatory domain [ 5167.737243] bcma: bus0: Found chip with id 0x4313, rev 0x01 and package 0x08 [ 5167.737271] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0) [ 5167.737290] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0) [ 5167.737324] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0) [ 5167.737407] bcma: bus0: Found rev 8 PMU (capabilities 0x084C3008) [ 5167.737417] bcma: bus0: SPROM offset 0x830 [ 5167.739392] bcma: bcmasprom: [ 5167.739396] bcma: [ 5167.739400] bcma: 2801 [ 5167.739402] bcma: 0000 [ 5167.739404] bcma: 0608 [ 5167.739405] bcma: 14E4 [ 5167.739408] bcma: 0070 [ 5167.739409] bcma: EDBE [ 5167.739411] bcma: 0000 [ 5167.739412] bcma: 2BC4 [ 5167.739414] bcma: 2A64 [ 5167.739416] bcma: 2964 [ 5167.739417] bcma: [ 5167.739419] bcma: 2C64 [ 5167.739421] bcma: 3CE7 [ 5167.739422] bcma: 46FF [ 5167.739424] bcma: 47FF [ 5167.739425] bcma: 0C00 [ 5167.739427] bcma: 0820 [ 5167.739429] bcma: 0030 [ 5167.739430] bcma: 1002 [ 5167.739432] bcma: 9F28 [ 5167.739434] bcma: 5D44 [ 5167.739435] bcma: [ 5167.739438] bcma: 8080 [ 5167.739439] bcma: 1D8F [ 5167.739441] bcma: 0032 [ 5167.739442] bcma: 0100 [ 5167.739444] bcma: DF00 [ 5167.739445] bcma: 71F5 [ 5167.739447] bcma: 8400 [ 5167.739448] bcma: 0083 [ 5167.739450] bcma: 8500 [ 5167.739452] bcma: 2010 [ 5167.739453] bcma: [ 5167.739455] bcma: 0001 [ 5167.739457] bcma: 0000 [ 5167.739458] bcma: 0000 [ 5167.739460] bcma: 0000 [ 5167.739461] bcma: 0000 [ 5167.739463] bcma: 0000 [ 5167.739464] bcma: 0000 [ 5167.739466] bcma: 0000 [ 5167.739467] bcma: 0000 [ 5167.739469] bcma: 0000 [ 5167.739470] bcma: [ 5167.739473] bcma: 0000 [ 5167.739474] bcma: 0000 [ 5167.739476] bcma: 1008 [ 5167.739477] bcma: 0305 [ 5167.739479] bcma: 0000 [ 5167.739480] bcma: 0000 [ 5167.739482] bcma: 0000 [ 5167.739484] bcma: 0000 [ 5167.739485] bcma: 4727 [ 5167.739487] bcma: 8000 [ 5167.739488] bcma: [ 5167.739490] bcma: 0002 [ 5167.739492] bcma: 0000 [ 5167.739493] bcma: 1F30 [ 5167.739495] bcma: 1800 [ 5167.739496] bcma: 0000 [ 5167.739498] bcma: 0000 [ 5167.739499] bcma: 0000 [ 5167.739501] bcma: 0000 [ 5167.739502] bcma: 0000 [ 5167.739504] bcma: 0000 [ 5167.739505] bcma: [ 5167.739508] bcma: 0000 [ 5167.739509] bcma: 0000 [ 5167.739511] bcma: 0000 [ 5167.739512] bcma: 0000 [ 5167.739514] bcma: 5372 [ 5167.739515] bcma: 1109 [ 5167.739517] bcma: 2201 [ 5167.739519] bcma: 0040 [ 5167.739520] bcma: 0884 [ 5167.739522] bcma: 0000 [ 5167.739523] bcma: [ 5167.739525] bcma: C014 [ 5167.739526] bcma: 3DC1 [ 5167.739528] bcma: 809D [ 5167.739530] bcma: 5856 [ 5167.739531] bcma: 0001 [ 5167.739533] bcma: FFFF [ 5167.739534] bcma: 83FF [ 5167.739536] bcma: FFFF [ 5167.739537] bcma: 0003 [ 5167.739539] bcma: 0202 [ 5167.739540] bcma: [ 5167.739543] bcma: FFFF [ 5167.739544] bcma: 0011 [ 5167.739546] bcma: 017A [ 5167.739547] bcma: 0000 [ 5167.739549] bcma: 0000 [ 5167.739550] bcma: 0000 [ 5167.739552] bcma: 0000 [ 5167.739553] bcma: 0201 [ 5167.739555] bcma: 0000 [ 5167.739556] bcma: 7800 [ 5167.739558] bcma: [ 5167.739559] bcma: 01FF [ 5167.739561] bcma: E398 [ 5167.739563] bcma: 0008 [ 5167.739564] bcma: 0000 [ 5167.739566] bcma: 0000 [ 5167.739568] bcma: 0000 [ 5167.739569] bcma: 0044 [ 5167.739571] bcma: 2400 [ 5167.739572] bcma: FCF7 [ 5167.739574] bcma: 0089 [ 5167.739575] bcma: [ 5167.739578] bcma: 0000 [ 5167.739579] bcma: 0000 [ 5167.739581] bcma: 0000 [ 5167.739582] bcma: 0000 [ 5167.739584] bcma: 0000 [ 5167.739585] bcma: 0000 [ 5167.739587] bcma: 0000 [ 5167.739588] bcma: 0000 [ 5167.739590] bcma: 0000 [ 5167.739591] bcma: 0000 [ 5167.739593] bcma: [ 5167.739594] bcma: 0000 [ 5167.739596] bcma: 0000 [ 5167.739597] bcma: 0048 [ 5167.739599] bcma: FED2 [ 5167.739600] bcma: 15D9 [ 5167.739602] bcma: FAC6 [ 5167.739604] bcma: 0000 [ 5167.739605] bcma: 0000 [ 5167.739607] bcma: 0000 [ 5167.739608] bcma: 0000 [ 5167.739610] bcma: [ 5167.739612] bcma: 0000 [ 5167.739614] bcma: 0000 [ 5167.739615] bcma: 0000 [ 5167.739617] bcma: 0000 [ 5167.739618] bcma: 0000 [ 5167.739620] bcma: 0000 [ 5167.739622] bcma: 0000 [ 5167.739623] bcma: 0000 [ 5167.739625] bcma: 0000 [ 5167.739626] bcma: 0000 [ 5167.739627] bcma: [ 5167.739629] bcma: 0000 [ 5167.739631] bcma: 0000 [ 5167.739632] bcma: 0000 [ 5167.739634] bcma: 0000 [ 5167.739635] bcma: 0000 [ 5167.739637] bcma: 0000 [ 5167.739638] bcma: 0000 [ 5167.739640] bcma: 0000 [ 5167.739641] bcma: 0000 [ 5167.739643] bcma: 0000 [ 5167.739644] bcma: [ 5167.739647] bcma: 0000 [ 5167.739648] bcma: 0000 [ 5167.739650] bcma: 0000 [ 5167.739651] bcma: 0000 [ 5167.739653] bcma: 0000 [ 5167.739654] bcma: 0000 [ 5167.739656] bcma: 0000 [ 5167.739657] bcma: 0000 [ 5167.739659] bcma: 0000 [ 5167.739660] bcma: 0000 [ 5167.739662] bcma: [ 5167.739663] bcma: 0000 [ 5167.739665] bcma: 0000 [ 5167.739666] bcma: 0000 [ 5167.739668] bcma: 0000 [ 5167.739669] bcma: 0000 [ 5167.739671] bcma: 0000 [ 5167.739672] bcma: 0000 [ 5167.739674] bcma: 0000 [ 5167.739676] bcma: 0000 [ 5167.739677] bcma: 0000 [ 5167.739679] bcma: [ 5167.739681] bcma: 0000 [ 5167.739682] bcma: 1111 [ 5167.739684] bcma: 1111 [ 5167.739686] bcma: 0000 [ 5167.739687] bcma: 0000 [ 5167.739689] bcma: 0000 [ 5167.739690] bcma: 0000 [ 5167.739692] bcma: 0000 [ 5167.739693] bcma: 0000 [ 5167.739695] bcma: 2222 [ 5167.739696] bcma: [ 5167.739698] bcma: 3222 [ 5167.739700] bcma: 0000 [ 5167.739701] bcma: 0000 [ 5167.739703] bcma: 0000 [ 5167.739704] bcma: 0000 [ 5167.739706] bcma: 0000 [ 5167.739707] bcma: 0000 [ 5167.739709] bcma: 0000 [ 5167.739710] bcma: 0000 [ 5167.739712] bcma: 0000 [ 5167.739713] bcma: [ 5167.739716] bcma: 0000 [ 5167.739717] bcma: 0000 [ 5167.739719] bcma: 0000 [ 5167.739720] bcma: 0000 [ 5167.739722] bcma: 0000 [ 5167.739723] bcma: 0000 [ 5167.739725] bcma: 0000 [ 5167.739726] bcma: 0000 [ 5167.739728] bcma: 0000 [ 5167.739729] bcma: 0000 [ 5167.739731] bcma: [ 5167.739732] bcma: 0000 [ 5167.739734] bcma: 0000 [ 5167.739735] bcma: 0000 [ 5167.739737] bcma: 0000 [ 5167.739738] bcma: 0000 [ 5167.739740] bcma: 0000 [ 5167.739741] bcma: 0000 [ 5167.739743] bcma: 0000 [ 5167.739744] bcma: 0000 [ 5167.739746] bcma: 0000 [ 5167.739748] bcma: [ 5167.739750] bcma: 0000 [ 5167.739751] bcma: 0000 [ 5167.739753] bcma: 0000 [ 5167.739755] bcma: 0000 [ 5167.739756] bcma: 0000 [ 5167.739758] bcma: 0000 [ 5167.739759] bcma: 0000 [ 5167.739761] bcma: 0000 [ 5167.739762] bcma: 0000 [ 5167.739764] bcma: 0000 [ 5167.739765] bcma: [ 5167.739767] bcma: 0000 [ 5167.739768] bcma: 0000 [ 5167.739770] bcma: 0000 [ 5167.739772] bcma: 0000 [ 5167.739773] bcma: 0000 [ 5167.739775] bcma: 0000 [ 5167.739776] bcma: 0000 [ 5167.739778] bcma: 0000 [ 5167.739779] bcma: 0000 [ 5167.739782] bcma: bus0: Found SPROM revision 8 [ 5167.752730] bcma: bus0: GPIO driver not activated [ 5167.752738] bcma: bus0: Bus registered [ 5167.765209] brcmsmac bcma0:0: mfg 4bf core 812 rev 24 class 0 irq 17 [ 5167.765319] bcma: bus0: Switched to core: 0x812 [ 5167.766135] brcmsmac bcma0:0: hardware: SECI [ 5167.766559] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' [ 5167.786115] cfg80211: World regulatory domain updated: [ 5167.786128] cfg80211: DFS Master region: unset [ 5167.786131] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 5167.786137] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.786141] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.786144] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.786148] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.786152] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 5167.786155] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) [ 5167.786159] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.786162] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) [ 5167.794806] cfg80211: Calling CRDA for country: DE [ 5167.810110] cfg80211: Regulatory domain changed to country: DE [ 5167.810122] cfg80211: DFS Master region: ETSI [ 5167.810125] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) [ 5167.810131] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.810134] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) [ 5167.810139] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s) [ 5167.810142] cfg80211: (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2698 mBm), (0 s) [ 5167.810146] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) Greetings, Maxi
On 12/21/14 15:08, Maximilian Engelhardt wrote: > On Sunday 21 December 2014 11:12:40 Arend van Spriel wrote: >> On 12/21/14 10:58, Michael Tokarev wrote: >>> 16.12.2014 19:51, Arend van Spriel wrote: >>>> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please >>>> remove that call as it causes endless recursion and eventually reboot.> >>> Ok, that was easy. Now it loads, but wifi link still >>> does not work, stalling as before. What we're looking >>> at now? >> >> The patch is just to provide me with extra bt-coex related information >> in the kernel log. So if you can provide that to me I have to info >> needed to look in the proprietary code base to determine what is missing. >> >> Regards, >> Arend > > Hi Arend, > > here is the output from my card: Thanks. It shows you have have the same bt-coex version as Michael. I am not familiar with bluetooth side of things. Are you both using bluetooth on 4313? Regards, Arend > [ 5167.720041] cfg80211: Calling CRDA to update world regulatory domain > [ 5167.737243] bcma: bus0: Found chip with id 0x4313, rev 0x01 and package 0x08 > [ 5167.737271] bcma: bus0: Core 0 found: ChipCommon (manuf 0x4BF, id 0x800, rev 0x24, class 0x0) > [ 5167.737290] bcma: bus0: Core 1 found: IEEE 802.11 (manuf 0x4BF, id 0x812, rev 0x18, class 0x0) > [ 5167.737324] bcma: bus0: Core 2 found: PCIe (manuf 0x4BF, id 0x820, rev 0x11, class 0x0) > [ 5167.737407] bcma: bus0: Found rev 8 PMU (capabilities 0x084C3008) > [ 5167.737417] bcma: bus0: SPROM offset 0x830 > [ 5167.739392] bcma: bcmasprom: > [ 5167.739396] bcma: > > [ 5167.739400] bcma: 2801 > [ 5167.739402] bcma: 0000 > [ 5167.739404] bcma: 0608 > [ 5167.739405] bcma: 14E4 > [ 5167.739408] bcma: 0070 > [ 5167.739409] bcma: EDBE > [ 5167.739411] bcma: 0000 > [ 5167.739412] bcma: 2BC4 > [ 5167.739414] bcma: 2A64 > [ 5167.739416] bcma: 2964 > [ 5167.739417] bcma: > > [ 5167.739419] bcma: 2C64 > [ 5167.739421] bcma: 3CE7 > [ 5167.739422] bcma: 46FF > [ 5167.739424] bcma: 47FF > [ 5167.739425] bcma: 0C00 > [ 5167.739427] bcma: 0820 > [ 5167.739429] bcma: 0030 > [ 5167.739430] bcma: 1002 > [ 5167.739432] bcma: 9F28 > [ 5167.739434] bcma: 5D44 > [ 5167.739435] bcma: > > [ 5167.739438] bcma: 8080 > [ 5167.739439] bcma: 1D8F > [ 5167.739441] bcma: 0032 > [ 5167.739442] bcma: 0100 > [ 5167.739444] bcma: DF00 > [ 5167.739445] bcma: 71F5 > [ 5167.739447] bcma: 8400 > [ 5167.739448] bcma: 0083 > [ 5167.739450] bcma: 8500 > [ 5167.739452] bcma: 2010 > [ 5167.739453] bcma: > > [ 5167.739455] bcma: 0001 > [ 5167.739457] bcma: 0000 > [ 5167.739458] bcma: 0000 > [ 5167.739460] bcma: 0000 > [ 5167.739461] bcma: 0000 > [ 5167.739463] bcma: 0000 > [ 5167.739464] bcma: 0000 > [ 5167.739466] bcma: 0000 > [ 5167.739467] bcma: 0000 > [ 5167.739469] bcma: 0000 > [ 5167.739470] bcma: > > [ 5167.739473] bcma: 0000 > [ 5167.739474] bcma: 0000 > [ 5167.739476] bcma: 1008 > [ 5167.739477] bcma: 0305 > [ 5167.739479] bcma: 0000 > [ 5167.739480] bcma: 0000 > [ 5167.739482] bcma: 0000 > [ 5167.739484] bcma: 0000 > [ 5167.739485] bcma: 4727 > [ 5167.739487] bcma: 8000 > [ 5167.739488] bcma: > > [ 5167.739490] bcma: 0002 > [ 5167.739492] bcma: 0000 > [ 5167.739493] bcma: 1F30 > [ 5167.739495] bcma: 1800 > [ 5167.739496] bcma: 0000 > [ 5167.739498] bcma: 0000 > [ 5167.739499] bcma: 0000 > [ 5167.739501] bcma: 0000 > [ 5167.739502] bcma: 0000 > [ 5167.739504] bcma: 0000 > [ 5167.739505] bcma: > > [ 5167.739508] bcma: 0000 > [ 5167.739509] bcma: 0000 > [ 5167.739511] bcma: 0000 > [ 5167.739512] bcma: 0000 > [ 5167.739514] bcma: 5372 > [ 5167.739515] bcma: 1109 > [ 5167.739517] bcma: 2201 > [ 5167.739519] bcma: 0040 > [ 5167.739520] bcma: 0884 > [ 5167.739522] bcma: 0000 > [ 5167.739523] bcma: > > [ 5167.739525] bcma: C014 > [ 5167.739526] bcma: 3DC1 > [ 5167.739528] bcma: 809D > [ 5167.739530] bcma: 5856 > [ 5167.739531] bcma: 0001 > [ 5167.739533] bcma: FFFF > [ 5167.739534] bcma: 83FF > [ 5167.739536] bcma: FFFF > [ 5167.739537] bcma: 0003 > [ 5167.739539] bcma: 0202 > [ 5167.739540] bcma: > > [ 5167.739543] bcma: FFFF > [ 5167.739544] bcma: 0011 > [ 5167.739546] bcma: 017A > [ 5167.739547] bcma: 0000 > [ 5167.739549] bcma: 0000 > [ 5167.739550] bcma: 0000 > [ 5167.739552] bcma: 0000 > [ 5167.739553] bcma: 0201 > [ 5167.739555] bcma: 0000 > [ 5167.739556] bcma: 7800 > [ 5167.739558] bcma: > > [ 5167.739559] bcma: 01FF > [ 5167.739561] bcma: E398 > [ 5167.739563] bcma: 0008 > [ 5167.739564] bcma: 0000 > [ 5167.739566] bcma: 0000 > [ 5167.739568] bcma: 0000 > [ 5167.739569] bcma: 0044 > [ 5167.739571] bcma: 2400 > [ 5167.739572] bcma: FCF7 > [ 5167.739574] bcma: 0089 > [ 5167.739575] bcma: > > [ 5167.739578] bcma: 0000 > [ 5167.739579] bcma: 0000 > [ 5167.739581] bcma: 0000 > [ 5167.739582] bcma: 0000 > [ 5167.739584] bcma: 0000 > [ 5167.739585] bcma: 0000 > [ 5167.739587] bcma: 0000 > [ 5167.739588] bcma: 0000 > [ 5167.739590] bcma: 0000 > [ 5167.739591] bcma: 0000 > [ 5167.739593] bcma: > > [ 5167.739594] bcma: 0000 > [ 5167.739596] bcma: 0000 > [ 5167.739597] bcma: 0048 > [ 5167.739599] bcma: FED2 > [ 5167.739600] bcma: 15D9 > [ 5167.739602] bcma: FAC6 > [ 5167.739604] bcma: 0000 > [ 5167.739605] bcma: 0000 > [ 5167.739607] bcma: 0000 > [ 5167.739608] bcma: 0000 > [ 5167.739610] bcma: > > [ 5167.739612] bcma: 0000 > [ 5167.739614] bcma: 0000 > [ 5167.739615] bcma: 0000 > [ 5167.739617] bcma: 0000 > [ 5167.739618] bcma: 0000 > [ 5167.739620] bcma: 0000 > [ 5167.739622] bcma: 0000 > [ 5167.739623] bcma: 0000 > [ 5167.739625] bcma: 0000 > [ 5167.739626] bcma: 0000 > [ 5167.739627] bcma: > > [ 5167.739629] bcma: 0000 > [ 5167.739631] bcma: 0000 > [ 5167.739632] bcma: 0000 > [ 5167.739634] bcma: 0000 > [ 5167.739635] bcma: 0000 > [ 5167.739637] bcma: 0000 > [ 5167.739638] bcma: 0000 > [ 5167.739640] bcma: 0000 > [ 5167.739641] bcma: 0000 > [ 5167.739643] bcma: 0000 > [ 5167.739644] bcma: > > [ 5167.739647] bcma: 0000 > [ 5167.739648] bcma: 0000 > [ 5167.739650] bcma: 0000 > [ 5167.739651] bcma: 0000 > [ 5167.739653] bcma: 0000 > [ 5167.739654] bcma: 0000 > [ 5167.739656] bcma: 0000 > [ 5167.739657] bcma: 0000 > [ 5167.739659] bcma: 0000 > [ 5167.739660] bcma: 0000 > [ 5167.739662] bcma: > > [ 5167.739663] bcma: 0000 > [ 5167.739665] bcma: 0000 > [ 5167.739666] bcma: 0000 > [ 5167.739668] bcma: 0000 > [ 5167.739669] bcma: 0000 > [ 5167.739671] bcma: 0000 > [ 5167.739672] bcma: 0000 > [ 5167.739674] bcma: 0000 > [ 5167.739676] bcma: 0000 > [ 5167.739677] bcma: 0000 > [ 5167.739679] bcma: > > [ 5167.739681] bcma: 0000 > [ 5167.739682] bcma: 1111 > [ 5167.739684] bcma: 1111 > [ 5167.739686] bcma: 0000 > [ 5167.739687] bcma: 0000 > [ 5167.739689] bcma: 0000 > [ 5167.739690] bcma: 0000 > [ 5167.739692] bcma: 0000 > [ 5167.739693] bcma: 0000 > [ 5167.739695] bcma: 2222 > [ 5167.739696] bcma: > > [ 5167.739698] bcma: 3222 > [ 5167.739700] bcma: 0000 > [ 5167.739701] bcma: 0000 > [ 5167.739703] bcma: 0000 > [ 5167.739704] bcma: 0000 > [ 5167.739706] bcma: 0000 > [ 5167.739707] bcma: 0000 > [ 5167.739709] bcma: 0000 > [ 5167.739710] bcma: 0000 > [ 5167.739712] bcma: 0000 > [ 5167.739713] bcma: > > [ 5167.739716] bcma: 0000 > [ 5167.739717] bcma: 0000 > [ 5167.739719] bcma: 0000 > [ 5167.739720] bcma: 0000 > [ 5167.739722] bcma: 0000 > [ 5167.739723] bcma: 0000 > [ 5167.739725] bcma: 0000 > [ 5167.739726] bcma: 0000 > [ 5167.739728] bcma: 0000 > [ 5167.739729] bcma: 0000 > [ 5167.739731] bcma: > > [ 5167.739732] bcma: 0000 > [ 5167.739734] bcma: 0000 > [ 5167.739735] bcma: 0000 > [ 5167.739737] bcma: 0000 > [ 5167.739738] bcma: 0000 > [ 5167.739740] bcma: 0000 > [ 5167.739741] bcma: 0000 > [ 5167.739743] bcma: 0000 > [ 5167.739744] bcma: 0000 > [ 5167.739746] bcma: 0000 > [ 5167.739748] bcma: > > [ 5167.739750] bcma: 0000 > [ 5167.739751] bcma: 0000 > [ 5167.739753] bcma: 0000 > [ 5167.739755] bcma: 0000 > [ 5167.739756] bcma: 0000 > [ 5167.739758] bcma: 0000 > [ 5167.739759] bcma: 0000 > [ 5167.739761] bcma: 0000 > [ 5167.739762] bcma: 0000 > [ 5167.739764] bcma: 0000 > [ 5167.739765] bcma: > > [ 5167.739767] bcma: 0000 > [ 5167.739768] bcma: 0000 > [ 5167.739770] bcma: 0000 > [ 5167.739772] bcma: 0000 > [ 5167.739773] bcma: 0000 > [ 5167.739775] bcma: 0000 > [ 5167.739776] bcma: 0000 > [ 5167.739778] bcma: 0000 > [ 5167.739779] bcma: 0000 > [ 5167.739782] bcma: bus0: Found SPROM revision 8 > [ 5167.752730] bcma: bus0: GPIO driver not activated > [ 5167.752738] bcma: bus0: Bus registered > [ 5167.765209] brcmsmac bcma0:0: mfg 4bf core 812 rev 24 class 0 irq 17 > [ 5167.765319] bcma: bus0: Switched to core: 0x812 > [ 5167.766135] brcmsmac bcma0:0: hardware: SECI > [ 5167.766559] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht' > [ 5167.786115] cfg80211: World regulatory domain updated: > [ 5167.786128] cfg80211: DFS Master region: unset > [ 5167.786131] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) > [ 5167.786137] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.786141] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.786144] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.786148] cfg80211: (5170000 KHz - 5250000 KHz @ 160000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.786152] cfg80211: (5250000 KHz - 5330000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) > [ 5167.786155] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s) > [ 5167.786159] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.786162] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A) > [ 5167.794806] cfg80211: Calling CRDA for country: DE > [ 5167.810110] cfg80211: Regulatory domain changed to country: DE > [ 5167.810122] cfg80211: DFS Master region: ETSI > [ 5167.810125] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time) > [ 5167.810131] cfg80211: (2400000 KHz - 2483500 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.810134] cfg80211: (5150000 KHz - 5250000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A) > [ 5167.810139] cfg80211: (5250000 KHz - 5350000 KHz @ 80000 KHz), (N/A, 2000 mBm), (0 s) > [ 5167.810142] cfg80211: (5470000 KHz - 5725000 KHz @ 80000 KHz), (N/A, 2698 mBm), (0 s) > [ 5167.810146] cfg80211: (57240000 KHz - 65880000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A) > > > Greetings, > Maxi -- 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
On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: > On 12/21/14 15:08, Maximilian Engelhardt wrote: > > On Sunday 21 December 2014 11:12:40 Arend van Spriel wrote: > >> On 12/21/14 10:58, Michael Tokarev wrote: > >>> 16.12.2014 19:51, Arend van Spriel wrote: > >>>> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please > >>>> remove that call as it causes endless recursion and eventually reboot.> > >>> > >>> Ok, that was easy. Now it loads, but wifi link still > >>> does not work, stalling as before. What we're looking > >>> at now? > >> > >> The patch is just to provide me with extra bt-coex related information > >> in the kernel log. So if you can provide that to me I have to info > >> needed to look in the proprietary code base to determine what is missing. > >> > >> Regards, > >> Arend > > > > Hi Arend, > > > here is the output from my card: > Thanks. It shows you have have the same bt-coex version as Michael. I am > not familiar with bluetooth side of things. Are you both using bluetooth > on 4313? > > Regards, > Arend I don't know. I think I have Bluetooth somehow enabled but I'm not really using it. I definitely don't have any Bluetooth devices connected. I could try to unload/disable Bluetooth it to see if it makes any difference. Greetings, Maxi
On 12/21/14 15:24, Maximilian Engelhardt wrote: > On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: >> On 12/21/14 15:08, Maximilian Engelhardt wrote: >>> On Sunday 21 December 2014 11:12:40 Arend van Spriel wrote: >>>> On 12/21/14 10:58, Michael Tokarev wrote: >>>>> 16.12.2014 19:51, Arend van Spriel wrote: >>>>>> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please >>>>>> remove that call as it causes endless recursion and eventually reboot.> >>>>> >>>>> Ok, that was easy. Now it loads, but wifi link still >>>>> does not work, stalling as before. What we're looking >>>>> at now? >>>> >>>> The patch is just to provide me with extra bt-coex related information >>>> in the kernel log. So if you can provide that to me I have to info >>>> needed to look in the proprietary code base to determine what is missing. >>>> >>>> Regards, >>>> Arend >>> >>> Hi Arend, >> >>> here is the output from my card: >> Thanks. It shows you have have the same bt-coex version as Michael. I am >> not familiar with bluetooth side of things. Are you both using bluetooth >> on 4313? >> >> Regards, >> Arend > > I don't know. I think I have Bluetooth somehow enabled but I'm not really > using it. I definitely don't have any Bluetooth devices connected. I could try > to unload/disable Bluetooth it to see if it makes any difference. That would be useful to know. Thanks, Arend > Greetings, > Maxi > -- 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
On Sunday 21 December 2014 16:03:17 Arend van Spriel wrote: > On 12/21/14 15:24, Maximilian Engelhardt wrote: > > On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: > >> On 12/21/14 15:08, Maximilian Engelhardt wrote: > >>> On Sunday 21 December 2014 11:12:40 Arend van Spriel wrote: > >>>> On 12/21/14 10:58, Michael Tokarev wrote: > >>>>> 16.12.2014 19:51, Arend van Spriel wrote: > >>>>>> Hmm. The function brcms_btc_ecicoex_enab() is calling itself. Please > >>>>>> remove that call as it causes endless recursion and eventually > >>>>>> reboot.> > >>>>> > >>>>> Ok, that was easy. Now it loads, but wifi link still > >>>>> does not work, stalling as before. What we're looking > >>>>> at now? > >>>> > >>>> The patch is just to provide me with extra bt-coex related information > >>>> in the kernel log. So if you can provide that to me I have to info > >>>> needed to look in the proprietary code base to determine what is > >>>> missing. > >>>> > >>>> Regards, > >>>> Arend > >>> > >>> Hi Arend, > >> > >>> here is the output from my card: > >> Thanks. It shows you have have the same bt-coex version as Michael. I am > >> not familiar with bluetooth side of things. Are you both using bluetooth > >> on 4313? > >> > >> Regards, > >> Arend > > > > I don't know. I think I have Bluetooth somehow enabled but I'm not really > > using it. I definitely don't have any Bluetooth devices connected. I could > > try to unload/disable Bluetooth it to see if it makes any difference. > > That would be useful to know. > I did a test with all Bluetooth modules unloaded that I could find but throughput was still very low (about 4 Mbit/s with brcmsmac, my atheros USB stick archived about 110 Mbit/s). Greetings, Maxi
Hi Arend, On Sun, Dec 21, 2014 at 06:34:24PM +0100, Maximilian Engelhardt wrote: > On Sunday 21 December 2014 16:03:17 Arend van Spriel wrote: > > On 12/21/14 15:24, Maximilian Engelhardt wrote: > > > On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: > > >> Thanks. It shows you have have the same bt-coex version as Michael. I am > > >> not familiar with bluetooth side of things. Are you both using bluetooth > > >> on 4313? > > >> > > >> Regards, > > >> Arend > > > > > > I don't know. I think I have Bluetooth somehow enabled but I'm not really > > > using it. I definitely don't have any Bluetooth devices connected. I could > > > try to unload/disable Bluetooth it to see if it makes any difference. > > > > That would be useful to know. > > > > I did a test with all Bluetooth modules unloaded that I could find but > throughput was still very low (about 4 Mbit/s with brcmsmac, my atheros USB > stick archived about 110 Mbit/s). any update on this issue? One of my relatives would like to get rid of that Ralink wifi stick she has been carrying around for 1.5 years now since the internal wifi in her Thinkpad E130 suffers from this problem. Best regards, Daniel -- 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
On 03/09/15 21:54, Daniel Glöckner wrote: > Hi Arend, > > On Sun, Dec 21, 2014 at 06:34:24PM +0100, Maximilian Engelhardt wrote: >> On Sunday 21 December 2014 16:03:17 Arend van Spriel wrote: >>> On 12/21/14 15:24, Maximilian Engelhardt wrote: >>>> On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: >>>>> Thanks. It shows you have have the same bt-coex version as Michael. I am >>>>> not familiar with bluetooth side of things. Are you both using bluetooth >>>>> on 4313? >>>>> >>>>> Regards, >>>>> Arend >>>> >>>> I don't know. I think I have Bluetooth somehow enabled but I'm not really >>>> using it. I definitely don't have any Bluetooth devices connected. I could >>>> try to unload/disable Bluetooth it to see if it makes any difference. >>> >>> That would be useful to know. >>> >> >> I did a test with all Bluetooth modules unloaded that I could find but >> throughput was still very low (about 4 Mbit/s with brcmsmac, my atheros USB >> stick archived about 110 Mbit/s). > > any update on this issue? > One of my relatives would like to get rid of that Ralink wifi stick she > has been carrying around for 1.5 years now since the internal wifi in her > Thinkpad E130 suffers from this problem. I did get my hands on same device as Michael has/had and it now sits in my developement laptop. Just need to find some time to give it a spin. Regards, Arend > Best regards, > > Daniel -- 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
Happy new year! On Tue, Mar 10, 2015 at 10:27:18PM +0100, Arend van Spriel wrote: > On 03/09/15 21:54, Daniel Glöckner wrote: > >On Sun, Dec 21, 2014 at 06:34:24PM +0100, Maximilian Engelhardt wrote: > >>On Sunday 21 December 2014 16:03:17 Arend van Spriel wrote: > >>>On 12/21/14 15:24, Maximilian Engelhardt wrote: > >>>>On Sunday 21 December 2014 15:13:50 Arend van Spriel wrote: > >>>>>Thanks. It shows you have have the same bt-coex version as Michael. I am > >>>>>not familiar with bluetooth side of things. Are you both using bluetooth > >>>>>on 4313? > >>>>> > >>>>>Regards, > >>>>>Arend > >>>> > >>>>I don't know. I think I have Bluetooth somehow enabled but I'm not really > >>>>using it. I definitely don't have any Bluetooth devices connected. I could > >>>>try to unload/disable Bluetooth it to see if it makes any difference. > >>> > >>>That would be useful to know. > >>> > >> > >>I did a test with all Bluetooth modules unloaded that I could find but > >>throughput was still very low (about 4 Mbit/s with brcmsmac, my atheros USB > >>stick archived about 110 Mbit/s). > > > >any update on this issue? > >One of my relatives would like to get rid of that Ralink wifi stick she > >has been carrying around for 1.5 years now since the internal wifi in her > >Thinkpad E130 suffers from this problem. > > I did get my hands on same device as Michael has/had and it now sits > in my developement laptop. Just need to find some time to give it a > spin. Is there any hope for this device? The Thinkpad is still in use. Best regards, Daniel -- 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
From 1389fc3ce6787af145d0851ba5a4931bd8d72b23 Mon Sep 17 00:00:00 2001 From: Arend van Spriel <arend@broadcom.com> Date: Sat, 29 Nov 2014 16:31:44 +0100 Subject: [PATCH] brcmsmac: obtain more btcoex related details Added initial btcoex module for supporting bcm4313 combo chips. For now it just detects the btcoex support and flavours. Signed-off-by: Arend van Spriel <arend@broadcom.com> --- drivers/net/wireless/brcm80211/brcmsmac/Makefile | 1 + drivers/net/wireless/brcm80211/brcmsmac/btcoex.c | 114 +++++++++++++++++++++ drivers/net/wireless/brcm80211/brcmsmac/btcoex.h | 25 +++++ drivers/net/wireless/brcm80211/brcmsmac/d11.h | 2 +- drivers/net/wireless/brcm80211/brcmsmac/main.c | 5 + drivers/net/wireless/brcm80211/brcmsmac/main.h | 1 + drivers/net/wireless/brcm80211/brcmsmac/types.h | 3 +- .../net/wireless/brcm80211/include/chipcommon.h | 2 + 8 files changed, 151 insertions(+), 2 deletions(-) create mode 100644 drivers/net/wireless/brcm80211/brcmsmac/btcoex.c create mode 100644 drivers/net/wireless/brcm80211/brcmsmac/btcoex.h diff --git a/drivers/net/wireless/brcm80211/brcmsmac/Makefile b/drivers/net/wireless/brcm80211/brcmsmac/Makefile index 32464ac..aa341bb 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/Makefile +++ b/drivers/net/wireless/brcm80211/brcmsmac/Makefile @@ -26,6 +26,7 @@ brcmsmac-y := \ ucode_loader.o \ ampdu.o \ antsel.o \ + btcoex.o \ channel.o \ main.o \ phy_shim.o \ diff --git a/drivers/net/wireless/brcm80211/brcmsmac/btcoex.c b/drivers/net/wireless/brcm80211/brcmsmac/btcoex.c new file mode 100644 index 0000000..01cd10d --- /dev/null +++ b/drivers/net/wireless/brcm80211/brcmsmac/btcoex.c @@ -0,0 +1,114 @@ +/* + * Copyright (c) 2014 Broadcom Corporation + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#include <linux/types.h> +#include <net/mac80211.h> + +#include <chipcommon.h> +#include "types.h" +#include "debug.h" +#include "btcoex.h" +#include "main.h" + +struct brcms_btcoex { + struct brcms_hardware *hw; +}; + +static bool brcms_btc_ecicoex_enab(struct brcms_hardware *wlc_hw) +{ + struct bcma_bus *bus; + bool enab; + + enab = brcms_btc_ecicoex_enab(wlc_hw); + if (!enab) + return false; + + bus = wlc_hw->d11core->bus; + enab = D11REV_GE(wlc_hw->corerev, 15) && + (bus->drv_cc.capabilities & CC_CAP_ECI) && + (wlc_hw->machwcap & MCAP_BTCX) && + (wlc_hw->boardflags & BFL_BTCOEX) && + (wlc_hw->boardflags2 & BFL2_LEGACY) && + !(bus->drv_cc.capabilities_ext & CC_CAP2_SECI); + + return enab; +} + +static bool brcms_btc_secicoex_enab(struct brcms_hardware *wlc_hw) +{ + struct bcma_bus *bus; + bool enab; + + bus = wlc_hw->d11core->bus; + enab = (wlc_hw->boardflags & BFL_BTCOEX) && + (wlc_hw->boardflags2 & BFL2_LEGACY) && + (bus->drv_cc.capabilities_ext & CC_CAP2_SECI) && + (wlc_hw->machwcap & MCAP_BTCX); + + return enab; +} + +static bool brcms_btc_gcicoex_enab(struct brcms_hardware *wlc_hw) +{ + struct bcma_bus *bus; + bool enab; + + bus = wlc_hw->d11core->bus; + enab = (wlc_hw->boardflags & BFL_BTCOEX) && + (wlc_hw->boardflags2 & BFL2_LEGACY) && + (bus->drv_cc.capabilities_ext & CC_CAP_EXT_GCI_PRESENT) && + (wlc_hw->machwcap & MCAP_BTCX); + + return enab; +} + +static bool brcms_btc_coex_enab(struct brcms_hardware *wlc_hw) +{ + bool enab; + + enab = brcms_btc_ecicoex_enab(wlc_hw) || + brcms_btc_secicoex_enab(wlc_hw) || + brcms_btc_gcicoex_enab(wlc_hw); + + return enab; +} + +struct brcms_btcoex *brcms_btcoex_attach(struct brcms_hardware *wlc_hw) +{ + struct brcms_btcoex *btc; + + if (!brcms_btc_coex_enab(wlc_hw)) { + brcms_err(wlc_hw->d11core, "no btcoex supported\n"); + return NULL; + } + btc = kzalloc(sizeof(*btc), GFP_KERNEL); + if (!btc) + return NULL; + + btc->hw = wlc_hw; + + brcms_err(wlc_hw->d11core, "hardware:%s%s%s\n", + brcms_btc_ecicoex_enab(wlc_hw) ? " ECI" : "", + brcms_btc_secicoex_enab(wlc_hw) ? " SECI" : "", + brcms_btc_gcicoex_enab(wlc_hw) ? " GCI" : ""); + + return btc; +} + +void brcms_btcoex_detach(struct brcms_btcoex *btc) +{ + kfree(btc); +} diff --git a/drivers/net/wireless/brcm80211/brcmsmac/btcoex.h b/drivers/net/wireless/brcm80211/brcmsmac/btcoex.h new file mode 100644 index 0000000..92032d8 --- /dev/null +++ b/drivers/net/wireless/brcm80211/brcmsmac/btcoex.h @@ -0,0 +1,25 @@ +/* + * Copyright (c) 2014 Broadcom Corporation + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ +#ifndef _BRCMS_BTCOEX_H_ +#define _BRCMS_BTCOEX_H_ + +struct brcms_btcoex; + +struct brcms_btcoex *brcms_btcoex_attach(struct brcms_hardware *wlc_hw); +void brcms_btcoex_detach(struct brcms_btcoex *btc); + +#endif /* _BRCMS_BTCOEX_H_ */ + diff --git a/drivers/net/wireless/brcm80211/brcmsmac/d11.h b/drivers/net/wireless/brcm80211/brcmsmac/d11.h index 9035cc4..a4754f8 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/d11.h +++ b/drivers/net/wireless/brcm80211/brcmsmac/d11.h @@ -548,7 +548,7 @@ struct d11regs { /* Mac capabilities registers */ /*== machwcap ==*/ #define MCAP_TKIPMIC 0x80000000 /* TKIP MIC hardware present */ - +#define MCAP_BTCX 0x20000000 /* BT coex hardware present */ /*== pmqhost data ==*/ /* data entry of head pmq entry */ #define PMQH_DATA_MASK 0xffff0000 diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.c b/drivers/net/wireless/brcm80211/brcmsmac/main.c index bc9be78..fbb8b83 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.c +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.c @@ -33,6 +33,7 @@ #include "ampdu.h" #include "mac80211_if.h" #include "ucode_loader.h" +#include "btcoex.h" #include "main.h" #include "soc.h" #include "dma.h" @@ -4665,6 +4666,8 @@ static int brcms_b_attach(struct brcms_c_info *wlc, struct bcma_device *core, } } + wlc_hw->btc = brcms_btcoex_attach(wlc_hw); + /* disable core to match driver "down" state */ brcms_c_coredisable(wlc_hw); @@ -4856,6 +4859,8 @@ static void brcms_b_detach(struct brcms_c_info *wlc) wlc_phy_shim_detach(wlc_hw->physhim); + brcms_btcoex_detach(wlc_hw->btc); + if (wlc_hw->sih) { ai_detach(wlc_hw->sih); wlc_hw->sih = NULL; diff --git a/drivers/net/wireless/brcm80211/brcmsmac/main.h b/drivers/net/wireless/brcm80211/brcmsmac/main.h index c4d135c..1089264 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/main.h +++ b/drivers/net/wireless/brcm80211/brcmsmac/main.h @@ -376,6 +376,7 @@ struct brcms_hardware { * put struct antsel_info here if more info is * needed */ + struct brcms_btcoex *btc; }; /* diff --git a/drivers/net/wireless/brcm80211/brcmsmac/types.h b/drivers/net/wireless/brcm80211/brcmsmac/types.h index ae1f3ad..ac8e3df 100644 --- a/drivers/net/wireless/brcm80211/brcmsmac/types.h +++ b/drivers/net/wireless/brcm80211/brcmsmac/types.h @@ -26,7 +26,8 @@ #define WL_CHAN_FREQ_RANGE_5GH 3 /* boardflags */ - +/* Board supports BTCOEX */ +#define BFL_BTCOEX 0x00000001 /* Board has gpio 9 controlling the PA */ #define BFL_PACTRL 0x00000002 /* Not ok to power down the chip pll and oscillator */ diff --git a/drivers/net/wireless/brcm80211/include/chipcommon.h b/drivers/net/wireless/brcm80211/include/chipcommon.h index d242333..d2d424c 100644 --- a/drivers/net/wireless/brcm80211/include/chipcommon.h +++ b/drivers/net/wireless/brcm80211/include/chipcommon.h @@ -254,6 +254,7 @@ struct chipcregs { #define CC_CAP_ROM 0x00800000 /* Internal boot rom active */ #define CC_CAP_BKPLN64 0x08000000 /* 64-bit backplane */ #define CC_CAP_PMU 0x10000000 /* PMU Present, rev >= 20 */ +#define CC_CAP_ECI 0x20000000 /* ECI Present, rev >= 21 */ #define CC_CAP_SROM 0x40000000 /* Srom Present, rev >= 32 */ /* Nand flash present, rev >= 35 */ #define CC_CAP_NFLASH 0x80000000 @@ -261,6 +262,7 @@ struct chipcregs { #define CC_CAP2_SECI 0x00000001 /* SECI Present, rev >= 36 */ /* GSIO (spi/i2c) present, rev >= 37 */ #define CC_CAP2_GSIO 0x00000002 +#define CC_CAP_EXT_GCI_PRESENT 0x00000004 /* GCI present */ /* pmucapabilities */ #define PCAP_REV_MASK 0x000000ff -- 1.9.1