mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-18 07:23:59 +00:00
ath: set phy regulatory domain and max WIFI tr power
This commit is contained in:
parent
e817c4aa98
commit
49f2458eae
@ -11,7 +11,7 @@ include $(INCLUDE_DIR)/kernel.mk
|
||||
PKG_NAME:=mac80211
|
||||
|
||||
PKG_VERSION:=4.19-rc5-1
|
||||
PKG_RELEASE:=1
|
||||
PKG_RELEASE:=2
|
||||
PKG_SOURCE_URL:=@KERNEL/linux/kernel/projects/backports/stable/v4.19-rc5/
|
||||
PKG_HASH:=5b61e64ea79d22bbac9e8612d5d5485974f223de00d4ec250b0faf4b7baf9957
|
||||
|
||||
|
13
package/kernel/mac80211/patches/ath/407-ath_phy_regd.patch
Normal file
13
package/kernel/mac80211/patches/ath/407-ath_phy_regd.patch
Normal file
@ -0,0 +1,13 @@
|
||||
--- a/drivers/net/wireless/ath/regd.c
|
||||
+++ b/drivers/net/wireless/ath/regd.c
|
||||
@@ -511,6 +511,10 @@ static int __ath_reg_dyn_country(struct
|
||||
|
||||
ath_reg_apply_world_flags(wiphy, request->initiator, reg);
|
||||
|
||||
+ // apply regulatory to phy devices
|
||||
+ if (regulatory_hint(wiphy, reg->alpha2))
|
||||
+ printk(KERN_DEBUG "ath: regulatory_hint error!\n");
|
||||
+
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user