From: Max Filippov <jcmvbkbc@gmail.com>
To: Alexander Wenzel <wenzel@fgan.de>
Cc: linux-wireless@vger.kernel.org
Subject: Re: Problem with p54 driver and ibss mode
Date: Thu, 9 Jul 2009 21:57:20 +0400 [thread overview]
Message-ID: <200907092157.21784.jcmvbkbc@gmail.com> (raw)
In-Reply-To: <4A560E4B.6080209@fgan.de>
В сообщении от Thursday 09 July 2009 Alexander Wenzel написал(a):
> Hi!
> >> I'm trying to get the latest p54 wireless drivers (ad-hoc mode)
> >> to work on a Nokia N810... So far, without any success.
> >> [ 3905.535125] WARNING: at /home/wen/work/NokiaN810/compat-wireless-2009-07-09/net/mac80211/sta_info.c:339 sta_info_insert+0x7c/0x15c [mac80211]()
> > As far as I can see, this is check that incoming STA and your STA have
> > different MAC addresses. If you don't set up MAC manually on both
> > devices and make it unique, chances high that they are equal.
>
> You saved my day :D Finally it works...! Thanks for the hint.
>
> [ 214.478668] wlan0: Selected IBSS BSSID 56:97:1a:24:11:6c based on configured SSID
>
> # iw dev wlan0 station dump
> Station 00:02:ee:c0:ff:ee (on wlan0)
> inactive time: 429 ms
> rx bytes: 8964
> tx bytes: 408
> signal: 55 dBm
> tx bitrate: 1.0 MBit/s
>
> I just checked the other N810 devices and every device has
> the same mac address. And here we go... [p54spi_eeprom.h:39]
> 0x00, 0x02, 0xee, 0xc0, 0xff, 0xee,
>
> The original kernel with default os shows the correct address.
> When booting a different os with the with the original or custom
> kernel it shows the 'coffee' address.
> So is there a way to let the kernel receive and set the
> correct mac address of the wlan device?
> I guess my problem is this line:
> [ 3685.320800] cx3110x spi2.0: loading default eeprom...
You're right. I guess that easiest way to deal with it is to save blob from p54spi_eeprom.h into a file
3826.eeprom in the same directory as 3826.arm and fix MAC address in it, according to comments in p54spi_eeprom.h
These data for sure must reside on /dev/mtdblk1 partition, but they're probably somehow coded/obfuscated.
I couldn't find anything similar to MAC of my own n810 there.
Thanks.
-- Max
next prev parent reply other threads:[~2009-07-09 17:57 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-09 11:59 Problem with p54 driver and ibss mode Alexander Wenzel
2009-07-09 13:20 ` Max Filippov
2009-07-09 15:35 ` Alexander Wenzel
2009-07-09 17:57 ` Max Filippov [this message]
2009-07-09 18:56 ` Christian Lamparter
2009-07-09 19:55 ` Kalle Valo
2009-07-09 21:43 ` Max Filippov
2009-07-09 21:48 ` Johannes Berg
2009-07-10 7:01 ` Kalle Valo
2009-07-10 7:43 ` Max Filippov
2009-07-10 8:10 ` Kalle Valo
2009-07-10 8:36 ` Max Filippov
2009-07-10 10:29 ` Alexander Wenzel
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=200907092157.21784.jcmvbkbc@gmail.com \
--to=jcmvbkbc@gmail.com \
--cc=linux-wireless@vger.kernel.org \
--cc=wenzel@fgan.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).