[Bug 255465] Kernel panic with Intel Wireless 4965AGN chip

2021-05-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255465

--- Comment #2 from Radosław Chmielarz  ---
Hi,

Sorry for this, it seems I forgot to add it.

I was looking into the code to figure out where the problem is originating from
and the actual problem turned out to be that I was getting "timeout reading
ROM" error messages at startup, this in turn was causing all the values to be 0
and since the code in ieee80211_get_ratetable() (called from
ieee80211_chan_init()) assumed that the channel value passed in was valid it
was calling panic() to indicate that there is missing implementation for this
device.

I have then drilled down to the code which was reading EEPROM and compared it
with Linux (where the device is working). I had not seen any significant
differences apart from a different timeout handling. After modifying the
timeout the device was successfully initiated.

I own an Intel 4965AGN MM2 with TA: D74676-004 and the measured EEPROM read
time for it with 5 us delay is 60 us and with 1 us delay 25 us. This is larger
than what the current code supports. It's also strange since the code is
already several years old and this particular chip is quite popular (at least
from what I have read). Either this is specific to my hardware setup or the
hardware is not used so often.

I will post a separate email with a patch for adjusted read timeout and timeout
error handling.

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 228787] Intel 7260 bluetooth broken.

2021-05-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228787

--- Comment #24 from Helge Oldach  ---
Works perfectly (stable/13):

ugen0.2:  at usbus0
ubt0 on uhub0
ubt0:  on
usbus0

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"


[Bug 228787] Intel 7260 bluetooth broken.

2021-05-04 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228787

--- Comment #25 from commit-h...@freebsd.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=fe70d7b26d7a98b17e315bc3455bee267c618b4e

commit fe70d7b26d7a98b17e315bc3455bee267c618b4e
Author: Philippe Michaud-Boudreault 
AuthorDate: 2021-05-04 23:48:21 +
Commit: Vladimir Kondratyev 
CommitDate: 2021-05-04 23:50:32 +

iwmbtfw(8): Add support for Intel 7260/7265 bluetooth adapter firmwares

To use it comms/iwmbt-firmware port should be updated to 20210315 version.

Submitted by:   Philippe Michaud-Boudreault 
Tested by:  Helge Oldach 
Reviewed by:wulf
PR: 228787
MFC after:  2 weeks

 usr.sbin/bluetooth/iwmbtfw/iwmbt_fw.c   |  14 ++
 usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.c   | 189 +++-
 usr.sbin/bluetooth/iwmbtfw/iwmbt_hw.h   |   5 +
 usr.sbin/bluetooth/iwmbtfw/iwmbtfw.8|  10 +-
 usr.sbin/bluetooth/iwmbtfw/iwmbtfw.conf |   2 +-
 usr.sbin/bluetooth/iwmbtfw/main.c   | 253 +++-
 6 files changed, 401 insertions(+), 72 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.
___
freebsd-wireless@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-wireless
To unsubscribe, send any mail to "freebsd-wireless-unsubscr...@freebsd.org"