On Wed, 25 Feb 2015 01:49:02 +0100, Sergei Antonov wrote:
> On 6 February 2015 at 18:29, Jakub Kiciński <moorr...@wp.pl> wrote:
> > Hello everyone!
> >
> > I put together a mac80211 driver for Mediatek MT7601U.  It's partially
> > based on Felix's mt76, but I'm not sure if it will make sense to merge
> > the two together.  MT7601U is a pretty old 1x1 bgn chip for USB dongles
> > and mt76 now only supports the latest and greatest ac APs.
> >
> > I'm testing STA functionality right now and it seems to be working ok.
> > The code is very much a work in progress but if anyone is interested you
> > can get it here:
> >
> > https://github.com/kuba-moo/mt7601u
> 
> Hi, Jakub! I happen to have 7601 dongle, so I tested you driver. There
> were some problems, see "dmesg | grep mt7" output:

OK, let me start with a set of basic questions.

What device do you have (brand + model or picture on ebay please;))?
What's the device ID?
What platform are you working on?
Is this error persistent or a one-time thing?
Does the vendor driver work with your device?
Can you also show content of
/sys/kernel/debug/ieee80211/phy*/mt76/eeprom_param
?

> [    3.174960] mt7601u 3-5:1.0: ASIC revision: 76010001  MAC revision: 
> 76010500
> [    3.181705] mt7601u 3-5:1.0: Firmware Version: 0.1.00 Build: 7640
> Build time: 201302052146____
> [    3.573018] mt7601u 3-5:1.0: Warning: unsupported EEPROM version 0d
> [    3.574853] mt7601u 3-5:1.0: EEPROM ver:0d fae:00
> [    3.816647] usbcore: registered new interface driver mt7601u
> [   10.461251] mt7601u_add_interface idx:0
> [   10.463193] mt7601u_bss_info_changed 0000000e
> [   10.469748] mt7601u_conf_tx 03 <- 0000
> [   10.473738] mt7601u_conf_tx 02 <- 0001
> [   10.477856] mt7601u_conf_tx 01 <- 0002
> [   10.481980] mt7601u_conf_tx 00 <- 0003
> [   10.486849] mt7601u_bss_info_changed 00002000
> [   10.488671] mt7601u_config ffffffff ch:1
> [   10.504305] mt76_configure_filter changed:0 total:80000000
> [   10.508327] mt76_configure_filter changed:0 total:80000000
> [   10.550671] mt76_configure_filter changed:0 total:80000000
> [   10.616870] mt7601u_config 00000100 ch:1
> [   10.619449] mt76_configure_filter changed:10 total:80000010
> [   10.621541] mt7601u_config 00000040 ch:1
> [   10.692407] mt7601u_config 00000040 ch:2
> [   10.992113] mt7601u 3-5:1.0: Warning: mt7601u_mcu_wait_resp retrying
> [   11.291819] mt7601u 3-5:1.0: Warning: mt7601u_mcu_wait_resp retrying
> [   11.591524] mt7601u 3-5:1.0: Warning: mt7601u_mcu_wait_resp retrying
> [   11.891230] mt7601u 3-5:1.0: Warning: mt7601u_mcu_wait_resp retrying
> [   12.190936] mt7601u 3-5:1.0: Warning: mt7601u_mcu_wait_resp retrying
> [   12.192790] mt7601u 3-5:1.0: Error: mt7601u_mcu_wait_resp timed out

Firmware clearly died somewhere between switch to channel 1 and to
channel 2...  I made some changes to the FW loading routine, I will try
to check the traces later today to confirm that I didn't break anything.

> Is it because of "unsupported EEPROM version 0d"?

Don't think so.  It's just for compatibility with vendor driver,
they warn too.  All new devices have EEPROM ver == 0x0d though.  I plan
to ask MediaTek about it in a week or two (Chinese New Year) and
remove the warning.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to