Page MenuHomeFreeBSD

iwmbtfw(8): Improve 7260 adaptors handling
ClosedPublic

Authored by wulf on May 29 2021, 1:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 3:31 PM
Unknown Object (File)
Sun, Dec 1, 9:05 AM
Unknown Object (File)
Sat, Nov 16, 6:00 PM
Unknown Object (File)
Sat, Nov 16, 5:17 PM
Unknown Object (File)
Sat, Nov 16, 4:10 PM
Unknown Object (File)
Sep 29 2024, 8:34 AM
Unknown Object (File)
Sep 27 2024, 3:52 AM
Unknown Object (File)
Sep 27 2024, 3:52 AM

Details

Summary
  • 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

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wulf requested review of this revision.May 29 2021, 1:16 PM
wulf added a reviewer: pitwuu_gmail.com.
		/*
		 * 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.