From: "Jakub Kiciński" <moorray3@wp.pl>
To: Sergei Antonov <saproj@gmail.com>
Cc: linux-wireless <linux-wireless@vger.kernel.org>
Subject: mt7601u dies during channel switch (was: MediaTek WiFi hardware support in upstream kernel)
Date: Wed, 25 Feb 2015 10:33:11 +0100 [thread overview]
Message-ID: <20150225103311.436f4321@north> (raw)
In-Reply-To: <CABikg9yw8Py59KyJ1mP6bfCrMPuup7v9xb1J=_JKC4gT_GS4rA@mail.gmail.com>
On Wed, 25 Feb 2015 01:49:02 +0100, Sergei Antonov wrote:
> On 6 February 2015 at 18:29, Jakub Kiciński <moorray3@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.
next prev parent reply other threads:[~2015-02-25 9:33 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-27 3:02 MediaTek WiFi hardware support in upstream kernel Etna
2014-10-27 15:20 ` John W. Linville
2014-10-27 18:19 ` Oleksij Rempel
2014-10-28 13:46 ` John W. Linville
2014-10-28 14:06 ` Arend van Spriel
2014-10-28 14:20 ` Oleksij Rempel
2014-10-29 10:17 ` Felix Fietkau
2014-11-11 11:55 ` Oleksij Rempel
2014-11-12 21:04 ` Felix Fietkau
2014-11-12 21:35 ` Larry Finger
2015-02-06 17:29 ` Jakub Kiciński
2015-02-25 0:49 ` Sergei Antonov
2015-02-25 9:33 ` Jakub Kiciński [this message]
2015-02-25 23:58 ` mt7601u dies during channel switch (was: MediaTek WiFi hardware support in upstream kernel) Sergei Antonov
2015-02-26 16:05 ` Jakub Kiciński
2015-02-26 18:50 ` Sergei Antonov
2015-02-26 19:01 ` Jakub Kiciński
2015-03-02 10:30 ` Sergei Antonov
2015-02-26 13:56 ` MediaTek WiFi hardware support in upstream kernel poma
2015-02-26 14:40 ` Jakub Kiciński
[not found] ` <5520FB36.8050301@openmailbox.org>
2015-04-05 9:12 ` Etna
2015-05-18 0:03 ` poma
2015-05-19 1:03 ` poma
2015-05-20 17:06 ` poma
2015-05-20 17:14 ` Jakub Kiciński
2015-05-21 13:37 ` poma
2015-06-27 20:45 ` poma
2015-12-23 15:05 ` poma
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20150225103311.436f4321@north \
--to=moorray3@wp.pl \
--cc=linux-wireless@vger.kernel.org \
--cc=saproj@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.