ILD

一个hostapd进程支持多个BSSID
作者:Yuan Jianpeng 邮箱:yuanjp89@163.com
发布时间:2023-1-31 站点:Inside Linux Development

Multiple BSSID (mBSSID) is a feature where you can have multiple virtual APs on one physical device. Here is an example how you can dynamically create and remove virtual APs.


1

start hostapd

hostapd -g /var/run/hostapd/global -b phy0:ath10k.conf -b phy0:ath10k-1.conf -b phy0:ath10k-2.conf


To remove an interface:

wpa_cli -g /var/run/hostapd/global raw REMOVE wlan0-2


3

To add an interface:

wpa_cli -g /var/run/hostapd/global raw ADD bss_config=phy0:ath10k-2.conf


上面这个是很老的接口了,新的接口:

hostapd -g /var/run/hostapd/global -B -P /var/run/hostapd-global.pid

wpa_cli -g /var/run/hostapd/global raw ADD bss_config=$BACKHAUL_BSS_5G:/var/run/hostapd-$BACKHAUL_BSS_5G.conf


参考

https://wireless.wiki.kernel.org/en/users/drivers/ath10k/configuration


Copyright © linuxdev.cc 2017-2024. Some Rights Reserved.