Skip to content
Snippets Groups Projects
Select Git revision
  • 471852814df23f47fcffe4b8a5c98fdc0f343628
  • experimental
  • master
  • v2021.1.2-ffs
  • v2021.1.1-ffs
  • nrb/gluon-master-cpe510
  • v2021.1-ffs
  • v2020.2.3-ffs
  • nrbffs/fastd-remove-delay
  • v2020.2.2-ffs
  • v2020.2.1-ffs
  • v2020.2-ffs
  • v2020.2.x
  • v2020.1.3-ffs
  • v2020.1.1-ffs
  • v2020.1-ffs
  • v2019.1.2-ffs
  • v2019.1.1-ffs
  • nrb/test-radv-filter
  • v2019.1-ffs
  • nrbffs/netgear-ex6120
  • v2021.1.2-ffs0.2
  • v2021.1.2-ffs0.1
  • v2021.1.1-ffs0.4
  • v2021.1.1-ffs0.3
  • v2021.1.1-ffs0.2
  • v2021.1.1-ffs0.1
  • v2021.1-ffs0.1
  • v2020.2.3-ffs0.3
  • v2020.2.3-ffs0.2
  • v2020.2.3-ffs0.1
  • v2020.2.2-ffs0.1
  • v2020.2.1-ffs0.1
  • v2020.2-ffs0.1
  • v2020.2
  • v2020.2.x-ffs0.1
  • v2020.1.3-ffs0.1
  • v2020.1.1-ffs0.1
  • v2020.1-ffs0.1
  • v2019.1.2-ffs0.1
  • v2019.1.1-ffs0.1
41 results

0094-mac80211-Allow-switching-of-the-ath-regulatory-domain.patch

Blame
  • Forked from firmware / FFS Gluon
    Source project has a limited visibility.
    • Sven Eckelmann's avatar
      47185281
      mac80211: Allow switching of the ath10k regulatory domain (#1001) · 47185281
      Sven Eckelmann authored
      
      ath10k has to switch the regulatory domain when switching the default
      country when ATH_USER_REGD is enabled. This is for example important when
      switching from country US (FCC) to DE (ETSI). The ath implementation will
      use ath_reg_dyn_country_user_allow to check if this is allowed.
      
      Unfortunately, this function always seems to return false to
      ath_reg_notifier_apply even when ATH_USER_REGD is enabled. But it must
      actually always accept the requests from the user (when ATH_USER_REGD is
      enabled) to correctly set the conformance test limits in the ath10k binary
      blob.
      
      Not doing it will sometimes allow too high transmit powers on edge channels
      for correctly calibrated devices outside their default regulatory domain.
      
      Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@open-mesh.com>
      47185281
      History
      mac80211: Allow switching of the ath10k regulatory domain (#1001)
      Sven Eckelmann authored
      
      ath10k has to switch the regulatory domain when switching the default
      country when ATH_USER_REGD is enabled. This is for example important when
      switching from country US (FCC) to DE (ETSI). The ath implementation will
      use ath_reg_dyn_country_user_allow to check if this is allowed.
      
      Unfortunately, this function always seems to return false to
      ath_reg_notifier_apply even when ATH_USER_REGD is enabled. But it must
      actually always accept the requests from the user (when ATH_USER_REGD is
      enabled) to correctly set the conformance test limits in the ath10k binary
      blob.
      
      Not doing it will sometimes allow too high transmit powers on edge channels
      for correctly calibrated devices outside their default regulatory domain.
      
      Signed-off-by: default avatarSven Eckelmann <sven.eckelmann@open-mesh.com>
    0052-ar71xx-create-profile-and-build-image-for-the-OpenMesh-MR1750-board.patch 2.32 KiB
    From: Sven Eckelmann <sven.eckelmann@open-mesh.com>
    Date: Mon, 14 Sep 2015 20:11:51 +0000
    Subject: ar71xx: create profile and build image for the OpenMesh MR1750 board
    
    Signed-off-by: Sven Eckelmann <sven.eckelmann@open-mesh.com>
    
    Backport of r46932
    
    Forwarded: https://patchwork.ozlabs.org/patch/624179/
    
    diff --git a/target/linux/ar71xx/generic/profiles/openmesh.mk b/target/linux/ar71xx/generic/profiles/openmesh.mk
    index 41b462e..06cf135 100644
    --- a/target/linux/ar71xx/generic/profiles/openmesh.mk
    +++ b/target/linux/ar71xx/generic/profiles/openmesh.mk
    @@ -49,9 +49,20 @@ endef
     
     $(eval $(call Profile,MR900))
     
    +define Profile/MR1750
    +        NAME:=OpenMesh MR1750
    +        PACKAGES:=kmod-ath9k kmod-ath10k ath10k-firmware-qca988x
    +endef
    +
    +define Profile/MR1750/Description
    +        Package set optimized for the OpenMesh MR1750.
    +endef
    +
    +$(eval $(call Profile,MR1750))
    +
     define Profile/OPENMESH
     	NAME:=OpenMesh products
    -	PACKAGES:=kmod-ath9k om-watchdog
    +	PACKAGES:=kmod-ath9k kmod-ath10k om-watchdog
     endef
     
     define Profile/OPENMESH/Description
    diff --git a/target/linux/ar71xx/image/Makefile b/target/linux/ar71xx/image/Makefile
    index 7aee0c8..0ebb7dc 100644
    --- a/target/linux/ar71xx/image/Makefile
    +++ b/target/linux/ar71xx/image/Makefile
    @@ -2045,6 +2045,7 @@ $(eval $(call SingleProfile,OpenMesh,squashfs-only,OM2P,om2p,,,,OM2P))
     $(eval $(call SingleProfile,OpenMesh,squashfs-only,OM5P,om5p,,,,OM5P))
     $(eval $(call SingleProfile,OpenMesh,squashfs-only,MR600,mr600,,,,MR600))
     $(eval $(call SingleProfile,OpenMesh,squashfs-only,MR900,mr900,,,,MR900))
    +$(eval $(call SingleProfile,OpenMesh,squashfs-only,MR1750,mr1750,,,,MR1750))
     
     $(eval $(call SingleProfile,PB4X,128k,ALL0305,all0305,ALL0305,ttyS0,115200))
     $(eval $(call SingleProfile,PB4X,128k,EAP7660D,eap7660d,EAP7660D,ttyS0,115200))
    @@ -2138,7 +2139,7 @@ $(eval $(call MultiProfile,AP121,AP121_2M AP121_4M))
     $(eval $(call MultiProfile,DIR615IX,DIR615I1 DIR615I3))
     $(eval $(call MultiProfile,AP136,AP136_010 AP136_020))
     $(eval $(call MultiProfile,EWDORIN, EWDORINAP EWDORINRT EWDORIN16M))
    -$(eval $(call MultiProfile,OPENMESH,OM2P OM5P MR600 MR900))
    +$(eval $(call MultiProfile,OPENMESH,OM2P OM5P MR600 MR900 MR1750))
     $(eval $(call MultiProfile,TEW652BRP,TEW652BRP_FW TEW652BRP_RECOVERY))
     $(eval $(call MultiProfile,TLMR3220,TLMR3220V1))
     $(eval $(call MultiProfile,TLMR3420,TLMR3420V1))