[Realtek sdk-3.4.14b] RTL8197FH-VG+RTL8812FR WiFi黑名单及剔除已连接终端功能实现
sdk说明
** Gateway/AP firmware v3.4.14b – Aug 26, 2019**
Wireless LAN driver changes as:
Refine WiFi Stability and Performance
Add 8812F MU-MIMO
Add 97G/8812F multiple mac-clone
Add 97G 2T3R antenna diversity
Fix 97G/8812F/8814B MP issues
Add CH144 DFS support for JP
Fix PPPOE Dial on dial-on-demand abnormal when dual stack
Fix Ethernet padding info disclosure
Add WPA3 WEB UI
Add RealSON support
Add EasyMesh supports
需求描述
客户要求实现wifi终端拉黑的功能,同时拉黑之后需要已连接到设备的终端离线,而且离线之后无法再次连接和获取IP地址
需求分析
查看Realtek指令操作手册发现有如下参数可以实现
查看aclmode对应的flash参数WLAN0_MACAC_ENABLED和WLAN1_MACAC_ENABLED
WLAN0_MACAC_ENABLED对应5G WiFi
WLAN1_MACAC_ENABLED对应2.4G WiFi
功能实现
使用ebtables拒绝mac地址获取IP