diff options
author | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-16 20:17:57 +0200 |
---|---|---|
committer | Ludovic Pouzenc <ludovic@pouzenc.fr> | 2018-09-16 20:17:57 +0200 |
commit | 85bdc5b94c8a1730d3077f361297028cfd8b9b78 (patch) | |
tree | a6835c355fde8ce9f36c808dbb9b50809d3c77f4 /package/base-files | |
parent | 6e0004f572f23810c21d5fb4477d8b9347dffdbb (diff) | |
download | mtk-20170518-mtk-20170518.zip mtk-20170518-mtk-20170518.tar.gz mtk-20170518-mtk-20170518.tar.bz2 |
MTK mt76 hwnat implementationHEADmtk-20170518
Diffstat (limited to 'package/base-files')
4 files changed, 16 insertions, 0 deletions
diff --git a/package/base-files/files/usr/sbin/7621_15d_hwnat_disable.sh b/package/base-files/files/usr/sbin/7621_15d_hwnat_disable.sh new file mode 100755 index 0000000..3837e88 --- /dev/null +++ b/package/base-files/files/usr/sbin/7621_15d_hwnat_disable.sh @@ -0,0 +1,4 @@ +iwpriv ra0 set hw_nat_register=0 +iwpriv rax0 set hw_nat_register=0 +rmmod hw_nat.ko + diff --git a/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh b/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh new file mode 100755 index 0000000..c0fd623 --- /dev/null +++ b/package/base-files/files/usr/sbin/7621_15d_hwnat_enable.sh @@ -0,0 +1,4 @@ +insmod /lib/modules/ralink/hw_nat.ko +iwpriv ra0 set hw_nat_register=1 +iwpriv rax0 set hw_nat_register=1 + diff --git a/package/base-files/files/usr/sbin/hwnat-disable.sh b/package/base-files/files/usr/sbin/hwnat-disable.sh new file mode 100755 index 0000000..3837e88 --- /dev/null +++ b/package/base-files/files/usr/sbin/hwnat-disable.sh @@ -0,0 +1,4 @@ +iwpriv ra0 set hw_nat_register=0 +iwpriv rax0 set hw_nat_register=0 +rmmod hw_nat.ko + diff --git a/package/base-files/files/usr/sbin/hwnat-enable.sh b/package/base-files/files/usr/sbin/hwnat-enable.sh new file mode 100755 index 0000000..c0fd623 --- /dev/null +++ b/package/base-files/files/usr/sbin/hwnat-enable.sh @@ -0,0 +1,4 @@ +insmod /lib/modules/ralink/hw_nat.ko +iwpriv ra0 set hw_nat_register=1 +iwpriv rax0 set hw_nat_register=1 + |