mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-24 07:46:48 +00:00
mediatek: set 7 MACs per wifi band in board.json on OpenWrt One
Mass production units will get 16 assigned MAC addresses. This allows each phy to spawn up to 7 VAPs which will each have unique MAC without needing the private bit. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
parent
895f30e31a
commit
0d97e775ac
@ -0,0 +1,16 @@
|
||||
. /lib/functions/uci-defaults.sh
|
||||
|
||||
board=$(board_name)
|
||||
|
||||
board_config_update
|
||||
|
||||
case $board in
|
||||
openwrt,one)
|
||||
ucidef_set_wireless_mac_count 2g 7
|
||||
ucidef_set_wireless_mac_count 5g 7
|
||||
;;
|
||||
esac
|
||||
|
||||
board_config_flush
|
||||
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user