Advertisement
RetroRevo

OpenWRT Local Startup for Linksys WRT devices

Jun 10th, 2022 (edited)
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. # Put your custom commands here that should be executed once
  2. # the system init finished. By default this file does nothing.
  3.  
  4. # turn off A-MSDU frame aggregation
  5.  
  6. echo "0" >> /sys/kernel/debug/ieee80211/phy0/mwlwifi/tx_amsdu
  7. echo "0" >> /sys/kernel/debug/ieee80211/phy1/mwlwifi/tx_amsdu
  8. logger "AMSDU Disabled"
  9.  
  10. # Move mwlwifi to CPU1 (remove if latency issues)
  11.  
  12. # echo "2" >> /proc/irq/81/smp_affinity
  13. # echo "2" >> /proc/irq/82/smp_affinity
  14. # logger "mwlwifi moved to CPU1"
  15.  
  16. # Changing the AQL TX queue limit
  17. # Use the following commands to check if it it applied
  18. # cat /sys/kernel/debug/ieee80211/phy0/aql_txq_limit
  19. # cat /sys/kernel/debug/ieee80211/phy1/aql_txq_limit
  20.  
  21. for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/phy0/aql_txq_limit; done
  22. for ac in 0 1 2 3; do echo $ac 1500 1500 > /sys/kernel/debug/ieee80211/phy1/aql_txq_limit; done
  23. logger "AQL TX queue set to 1500 on both wlans"
  24.  
  25. # End of local.rc
  26.  
  27. exit 0
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement