Skip to contentSkip to conversation

b43: Allow running without PCM firmware

PATCH New Michael Buesch 1 participant 1 message May 17, 2008 Networking drivers (wireless)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 b43: Allow running without PCM firmware

This patch adds code to allow running the device without PCM firmware loaded. Without PCM firmware we don't have hardware accelerated crypto on devices with a core rev <= 10.

---

John, this is for 2.6.27

drivers/net/wireless/b43/b43.h +4 -0
Index: wireless-testing/drivers/net/wireless/b43/b43.h
===================================================================
@@ -772,12 +772,16 @@ struct b43_firmware {
 	u16 rev;
 	/* Firmware patchlevel */
 	u16 patch;
 
 	/* Set to true, if we are using an opensource firmware. */
 	bool opensource;
+	/* Set to true, if the core needs a PCM firmware, but
+	 * we failed to load one. This is always false for
+	 * core rev > 10, as these don't need PCM firmware. */
+	bool pcm_request_failed;
 };
 
 /* Device (802.11 core) initialization status. */
 enum {
 	B43_STAT_UNINIT = 0,	/* Uninitialized. */
 	B43_STAT_INITIALIZED = 1,	/* Initialized, but not started, yet. */
drivers/net/wireless/b43/main.c +36 -11

147 lines not on this page · raw message