- Add URTWN_WITHOUT_UCODE option (will disable any firmware specific code when set).
- Do not exclude the driver from build when MK_SOURCELESS_UCODE is set (URTWN_WITHOUT_UCODE will be enforced unconditionally).
- Do not abort initialization when firmware cannot be loaded; behave like the URTWN_WITHOUT_UCODE option was set.
- Drop some unused variables from urtwn_softc structure.
Details
Tested with RTL8188EU and RTL8188CUS in HOSTAP and STA modes.
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
For me, device works fine without firmware (however, firmware commands are not available in that case).
Sorry I don't see the benefits of this change. If you want urtwn(4)
to be similar to the vendor driver as opposed to rewriting from scratch
like damien@ did, I suggest maybe we could implement shim layer in os_dep
directory from the Realtek's vendor source. I've had a patch set but it's
not finished yet.
Heh, I'm just about to pull out urtwn into sys/dev/urtwn/ before I do the RTL8188EE support. We should talk on irc about it and plan things out!
This change will allow to use the driver without external blobs + any error in the firmware download path will be treated as non-critical.