Page MenuHomeFreeBSD

iwmbtfw(8): Improve 7260 adaptors handling

Authored by wulf on May 29 2021, 1:16 PM.
Referenced Files
Unknown Object (File)
Sun, Apr 21, 8:21 PM
Unknown Object (File)
Fri, Apr 19, 10:11 AM
Unknown Object (File)
Sat, Apr 6, 7:49 PM
Unknown Object (File)
Sat, Mar 30, 6:00 PM
Unknown Object (File)
Mar 8 2024, 6:31 AM
Unknown Object (File)
Mar 8 2024, 6:31 AM
Unknown Object (File)
Mar 8 2024, 6:31 AM
Unknown Object (File)
Mar 8 2024, 6:19 AM


  • Allow firmware downloading for hw_variant #8
  • Enter manufacturer mode for setting of event mask
  • Handle multi-event response on HCI commands for 7260 This allows to remove kludge with skipping of 0xfc2f opcode
  • Disable patch and exit manufacturer mode on downloading failure
  • Use default firmware if correct firmware file is not found.
Test Plan

test on intel 7260/7265 bluetooth adaptor

Diff Detail

rG FreeBSD src repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

wulf requested review of this revision.May 29 2021, 1:16 PM
wulf added a reviewer:
		 * Every command has its associated event: data must match
		 * what is recorded in the firmware file. Perform that check
		 * now.
		 * Some commands are mapped to more than one event sequence,
		 * in that case we can drop the non-patch commands, as we
		 * probably don't need them for operation of the card.

This comment could possibly be modified to remove the part about dropping commands.

Tested. It works and is good to go. Intel 7260.
One nit: we have files from iwmbt-firmware located @ /usr/local/share/iwmbt-firmware/
and this present utility looks in /usr/share/firmware/intel.
Maybe we could make it look sequentially in one, then the other. ?

This revision was not accepted when it landed; it landed in state Needs Review.May 31 2021, 7:34 PM
This revision was automatically updated to reflect the committed changes.