update 2026-08-10 20:55:22

This commit is contained in:
action
2026-08-10 20:55:22 +08:00
parent caee61cc80
commit ea41c17f86
1966 changed files with 1523197 additions and 454 deletions
+49
View File
@@ -0,0 +1,49 @@
mtkiappd - user space daemon supported 802.11f protocol
for RTxxxx a/b/g/n SoftAP driver, Ralink Technology, Corp.
=================================================================
This is the README file for the 802.11f/802.11r/802.11k daemon - mtkiappd,
which comes with RTxxxx SoftAP driver.
I. Introduction
=================================================================
mtkiappd is an optional user space component for RTxxxx SoftAP driver.
II. 802.11f features in mtkiappd
=================================================================
IEEE Std 802.11F-2003 is a standard for inter-access point protocol(IAPP).
It can handle issues on multi-verder access point interoperability.
There are three major topics which 802.11f supported,
1. ADD-notify
2. MOVE-notify
3. CACHE-notify
mtkiappd only supports ADD-notify in current phase due to lack of support from radius server
There are three major topics which 802.11r supported,
1. Key Distribution Protocol
There are three major topics which 802.11k supported,
1. Neighbor Report
Some ethernet card needs special configuration to support multicasting.
Make sure your ethernet card support multicasting
III. How to start mtkiappd
=================================================================
Note: the broadcast/netmask address of all AP must be the same.
1. If you want to debug mtkiappd, add CFLAGS with DBG.
2. If you want to extend wifi control interface,
modify "MAX_WIFI_COUNT" in rtmpiapp.h. (default setting is 2)
3. First we need to compile the source code using 'make' command
4. Load RTxxxx SoftAP driver - ex: rt2860ap.ko
5. Manually start mtkiappd, type $mtkiappd
6. For wifi multi-interface, type $mtkiappd -wi ra0 -wi rai0
IV. Reference
IEEE Std 802.11F-2003, IEEE802.11r, IEEE802.11k
+2
View File
@@ -0,0 +1,2 @@
-A INPUT -i br-lan -p tcp --dport 3517 -j ACCEPT
-A INPUT -i br-lan -p udp --dport 3517 -j ACCEPT
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
uci -q batch <<-EOT
delete firewall.mtkiappd
set firewall.mtkiappd=include
set firewall.mtkiappd.type=restore
set firewall.mtkiappd.path=/usr/share/mtkiappd/firewall.include
set firewall.mtkiappd.reload=1
commit firewall
EOT
exit 0
+20
View File
@@ -0,0 +1,20 @@
#!/bin/sh /etc/rc.common
START=99
STOP=01
USE_PROCD=1
start_service() {
procd_open_instance mtkiappd
procd_set_param command /usr/sbin/mtkiappd -e br-lan WIRELESS_IOCTL_PARAM
procd_set_param respawn
procd_set_param netdev br-lan
procd_set_param netdev ra0
procd_close_instance
}
reload_service() {
stop
start
}