WCN3680 support

Jason Mobarak jam at cozybit.com
Tue Dec 10 18:06:33 EST 2013


On Fri, Nov 29, 2013 at 1:41 AM, Pontus Fuchs <pontus.fuchs at gmail.com> wrote:
[..]
> I got it working (scan, connect and ping tested only). The only thing I did
> was to change a few addresses in dxe.h.

Hello Pontus--

I'm trying to test the WCN3680 support.  Can you help me figure out
where I'm going wrong?  So far, when bringing up the interface, it's
reporting an error when attempting to start the chip:

<7>[  169.253212] wcn36xx: hal start type 0
<3>[  169.446581] wcn36xx: ERROR Timeout while waiting SMD response
<3>[  169.446643] wcn36xx: ERROR Sending hal_start failed
<3>[  169.446694] wcn36xx: ERROR Failed to start chip

(Full log here: http://pastebin.com/umhjSWcM)

I'm using master of wcn36xx at bca49af:

bca49af - (upstream/master) wcn36xx: Fix logging macro with
unnecessary semicolon (6 days ago Eugene Krasnikov)
6e9558d - wcn36xx: missing unlocks on error paths (6 days ago Dan Carpenter)
431a67b - Add the missing unlock before return from function
wcn36xx_smd_update_proberesp_tmpl() in the error handling
c634fd9 - Merge pull request #130 from pof2/wcn3680 (6 days ago KrasnikovEugene)
2ac3f83 - wcn36xx: Add support for 3680 (7 days ago Pontus Fuchs)
...

Some basic background on my setup: the phone is a C6903, my backports
is at tag backports-20131113 (af44a4a), and was generated from
next-20131113 (84ea88b) from the wireless testing tree.  The phone is
using build 14.1.G.1.534 [1] of the OS-- which is a 3.4.0 kernel
(which can be obtained from Sony's open source drop).  I modified the
kernel to support mac80211 [2] as a module so that backports would
work.

When testing with the "stock" setup, I see the following messages when
WCNSS initializes:

<3>[   18.858666] wlan: WCNSS WLAN Version 1.5.1.2, Host expected 1.4.1.2
<6>[   18.858766] wlan: WCNSS software version MAAAAANAZW000260
<6>[   18.858786] wlan: WCNSS hardware version WCN v2.0 RadioPhy
vUnknown with 48MHz XO
<3>[   18.864091] wlan: [1023:E :HDD] wlan_hdd_tdls_init TDLS not
enabled (0) or FW doesn't support (1)!
<3>[   18.877571] wlan: [1023:E :HDD] wlan_hdd_tdls_init TDLS not
enabled (0) or FW doesn't support (1)!
<6>[   18.882736] wlan: driver loaded

(Full log here: http://pastebin.com/JymdGaGy)

Thoughts?

Thanks,
-Jason

References:
1 - 14.1.G.1.534 ROM: http://forum.xda-developers.com/showthread.php?t=2469191
2 - Linux .config: http://pastebin.com/Jeaqc3YW



More information about the wcn36xx mailing list