<wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
PATCH 1/1 <wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
Certain wireless drivers (like the Broadcom FullMac drivers" expect the regulatory.db and regulatory.db.p7s files to be available to be loadable from /lib/firmware. If not available the driver still loads but runs on a minimal subset of channels.
This newly added option gives possibility to have those files copied to the necessary directory.
--- package/wireless-regdb/wireless-regdb.mk | 4 ++++ 1 file changed, 4 insertions(+)
package/wireless-regdb/wireless-regdb.mk +4 -0
@@ -15,6 +15,10 @@ define WIRELESS_REGDB_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/lib/crda/regulatory.bin $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7s endef $(eval $(generic-package))
Signature · 1 line
2.17.1
PATCH 1/1 <wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
Chris,
Quoted 5 lines · Christoph Engelbert
Certain wireless drivers (like the Broadcom FullMac drivers" expect the regulatory.db and regulatory.db.p7s files to be available to be loadable from
/lib/firmware. If not available the driver still loads but runs on a minimal subset of channels.This newly added option gives possibility to have those files copied to the necessary directory.
This is a good change but I think the commit message needs changing. It's not really certain wireless drivers that is the issue, it's that linux 4.15 added support to load regulatory.db directly without using crda. If the kernel can't load regulatory.db directly it will still try and use crda. So this change should allow you to stop using crda for kernels after 4.15
Thanks
Martin
Quoted 29 lines
Signed-off-by Christoph Engelbert <[email protected]>--- package/wireless-regdb/wireless-regdb.mk | 4 ++++ 1 file changed, 4 insertions(+)package/wireless-regdb/wireless-regdb.mk +4
-1@@ -15,6 +15,10 @@ define WIRELESS_REGDB_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/lib/crda/regulatory.bin $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7s endef $(eval $(generic-package)) --2.17.1
_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 <wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
Hey Martin,
Oh I see, didn?t know it was a general change. Does that mean it would probably make more sense to only install the new files as a new package and deprecate the old one?
Chris
Quoted 52 lines · Martin Bark
Chris,
Quoted 5 lines · Christoph Engelbert
Certain wireless drivers (like the Broadcom FullMac drivers" expect the regulatory.db and regulatory.db.p7s files to be available to be loadable from
/lib/firmware. If not available the driver still loads but runs on a minimal subset of channels.This newly added option gives possibility to have those files copied to the necessary directory.
This is a good change but I think the commit message needs changing. It's not really certain wireless drivers that is the issue, it's that linux 4.15 added support to load regulatory.db directly without using crda. If the kernel can't load regulatory.db directly it will still try and use crda. So this change should allow you to stop using crda for kernels after 4.15
Thanks
Martin
Quoted 29 lines
Signed-off-by Christoph Engelbert <[email protected]>---
package/wireless-regdb/wireless-regdb.mk| 4 ++++1 file changed, 4 insertions(+)package/wireless-regdb/wireless-regdb.mk +4
-0@@ -15,6 +15,10 @@ define WIRELESS_REGDB_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/lib/crda/regulatory.bin $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7sendef
$(eval $(generic-package))
--
2.17.1_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 <wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
Chris,
Quoted 3 lines · Christoph Engelbert
Hey Martin,
Oh I see, didn?t know it was a general change. Does that mean it would probably make more sense to only install the new files as a new package and deprecate the old one?
I think the changes look good, i was just saying to tweak the commit message.
Thanks
Martin
Quoted 57 lines
Chris
Quoted 52 lines · Martin Bark
Chris,
Quoted 5 lines · Christoph Engelbert
Certain wireless drivers (like the Broadcom FullMac drivers" expect the regulatory.db and regulatory.db.p7s files to be available to be loadable from
/lib/firmware. If not available the driver still loads but runs on a minimal subset of channels.This newly added option gives possibility to have those files copied to the necessary directory.
This is a good change but I think the commit message needs changing. It's not really certain wireless drivers that is the issue, it's that linux 4.15 added support to load regulatory.db directly without using crda. If the kernel can't load regulatory.db directly it will still try and use crda. So this change should allow you to stop using crda for kernels after 4.15
Thanks
Martin
Quoted 29 lines
Signed-off-by Christoph Engelbert <[email protected]>---
package/wireless-regdb/wireless-regdb.mk| 4 ++++1 file changed, 4 insertions(+)package/wireless-regdb/wireless-regdb.mk +4
-0@@ -15,6 +15,10 @@ define WIRELESS_REGDB_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/lib/crda/regulatory.bin $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7sendef
$(eval $(generic-package))
--
2.17.1_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
PATCH 1/1 <wireless-regdb>: Adds the option to copy "regulatory.db[.p7s]" to /lib/firmware
Hey Martin,
For some reason the changed mail became a new thread. Sorry about that :(
Chris
Quoted 73 lines · Martin Bark
Chris,
Quoted 3 lines · Christoph Engelbert
Hey Martin,
Oh I see, didn?t know it was a general change. Does that mean it would probably make more sense to only install the new files as a new package and deprecate the old one?
I think the changes look good, i was just saying to tweak the commit message.
Thanks
Martin
Quoted 57 lines
Chris
Quoted 52 lines · Martin Bark
Chris,
Quoted 5 lines · Christoph Engelbert
Certain wireless drivers (like the Broadcom FullMac drivers" expect the regulatory.db and regulatory.db.p7s files to be available to be loadable from
/lib/firmware. If not available the driver still loads but runs on a minimal subset of channels.This newly added option gives possibility to have those files copied to the necessary directory.
This is a good change but I think the commit message needs changing. It's not really certain wireless drivers that is the issue, it's that linux 4.15 added support to load regulatory.db directly without using crda. If the kernel can't load regulatory.db directly it will still try and use crda. So this change should allow you to stop using crda for kernels after 4.15
Thanks
Martin
Quoted 29 lines
Signed-off-by Christoph Engelbert <[email protected]>---
package/wireless-regdb/wireless-regdb.mk| 4 ++++1 file changed, 4 insertions(+)package/wireless-regdb/wireless-regdb.mk +4
-0@@ -15,6 +15,10 @@ define WIRELESS_REGDB_INSTALL_TARGET_CMDS $(TARGET_DIR)/usr/lib/crda/regulatory.bin $(INSTALL) -m 644 -D -T $(@D)/sforshee.key.pub.pem \ $(TARGET_DIR)/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db \ + $(TARGET_DIR)/lib/firmware/regulatory.db + $(INSTALL) -m 644 -D -T $(@D)/regulatory.db.p7s \ + $(TARGET_DIR)/lib/firmware/regulatory.db.p7sendef
$(eval $(generic-package))
--
2.17.1_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot