最近在调试Hostapd,尝试通过配置使能一个支持MLO的AP,不过不知道hostapd conf里面哪些选项开启后可以使能,所以对Hostapd做一个整体解析.
IEEE 802.11be相关配置
ieee80211be
是否启用 IEEE 802.11be (EHT)
disable_11be
布尔值 (0/1) 用于禁用特定 BSS 的 EHT
eht_su_beamformer
EHT 单用户波束形成器支持
eht_su_beamformee
EHT单用户beamformee支持
eht_mu_beamformer
EHT 多用户波束形成器支持
EHT操作通道信息
有关详细信息,请参阅匹配的 he_* 参数。字段eht_oper_centr_freq_seg0_idx字段用于指示40、80和160 MHz带宽操作的中心频率。在 6 GHz 频段中,eht_oper_chwidth 被忽略,信道宽度源自配置的operating classes(IEEE P802.11be/D1.5,附件 E.1 - 国家信息和操作类别)。
WiFi 2.4G/5G/6G信道分布_6g信道划分-优快云博客
Operating class | Nonglobal operating class(es) | Channel starting frequency (GHz) | Channel spacing (MHz) | Channel set | Channel center frequency index | Behavior limits set |
137 | 5.950 | 320 | 31, 63, 95, 127, 159, 191 | |||
1378–179 | Reserved | Reserved | Reserved | Reserved |
eht_default_pe_duration
EHT TB PPDU 中 PE 字段的持续时间.
PE Duration的设置对于网络中的设备能够正确接收和解码数据非常重要。它通常是根据网络环境和需求进行调整的。较短的传输时间可以提高网络的吞吐量和响应速度,但可能会增加干扰和碰撞的可能性。较长的传输时间可以减少干扰和碰撞,但可能会降低网络的吞吐量。
每个HE PPDU(物理层协议数据单元)的传输时间。它用于协调不同设备之间的传输时间,以确保传输的顺序和时机的一致性。
eht_bw320_offset
用于自动信道选择 (ACS),以指示 EHT 模式下的首选 320 MHz 信道化。如果信道确定或者带宽不是320MHz,则该选项没有意义。
禁用的子通道位图
IEEE P802.11be/3.0,图9-1002c (EHT Operation Information字段格式)。每个比特对应一个20mhz的信道,最低的比特对应最低的频率。位设置为1表示通道被穿刺(禁用)。缺省值为0,表示所有通道都激活。
自动信道选择 (ACS) 中的前导码穿孔阈值。
该值指示理想信道平均干扰因子的百分比,高于该百分比时应对信道进行穿孔。默认值为 0,表示 ACS 算法不应击穿任何通道。
AP MLD
此 AP 是否是 AP MLD 的一部分
AP MLD MAC 地址
配置的地址将被设置为接口硬件地址并用作AP MLD MAC 地址。如果不设置,则当前接口硬件地址将用作 AP MLD MAC 地址。
看起来应该启动3个Hostapd,把mac地址设置为同一个。
##### IEEE 802.11be related configuration #####################################
#ieee80211be: Whether IEEE 802.11be (EHT) is enabled
# 0 = disabled (default)
# 1 = enabled
#ieee80211be=1
#disable_11be: Boolean (0/1) to disable EHT for a specific BSS
#disable_11be=0
#eht_su_beamformer: EHT single user beamformer support
# 0 = not supported (default)
# 1 = supported
#eht_su_beamformer=1
#eht_su_beamformee: EHT single user beamformee support
# 0 = not supported (default)
# 1 = supported
#eht_su_beamformee=1
#eht_mu_beamformer: EHT multiple user beamformer support
# 0 = not supported (default)
# 1 = supported
#eht_mu_beamformer=1
# EHT operating channel information; see matching he_* parameters for details.
# The field eht_oper_centr_freq_seg0_idx field is used to indicate center
# frequency of 40, 80, and 160 MHz bandwidth operation.
# In the 6 GHz band, eht_oper_chwidth is ignored and the channel width is
# derived from the configured operating class (IEEE P802.11be/D1.5,
# Annex E.1 - Country information and operating classes).
#eht_oper_chwidth (see vht_oper_chwidth)
#eht_oper_centr_freq_seg0_idx
#eht_default_pe_duration: The duration of PE field in EHT TB PPDU
# 0 = PE field duration is the same as he_default_pe_duration (default)
# 1 = PE field duration is 20 us
#eht_default_pe_duration=0
#eht_bw320_offset: For automatic channel selection (ACS) to indicate a preferred
# 320 MHz channelization in EHT mode.
# If the channel is decided or the bandwidth is not 320 MHz, this option is
# meaningless.
# 0 = auto-detect by hostapd
# 1 = 320 MHz-1 (channel center frequency 31, 95, 159)
# 2 = 320 MHz-2 (channel center frequency 63, 127, 191)
#eht_bw320_offset=0
# Disabled subchannel bitmap (16 bits) as per IEEE P802.11be/3.0,
# Figure 9-1002c (EHT Operation Information field format). Each bit corresponds
# to a 20 MHz channel, the lowest bit corresponds to the lowest frequency. A
# bit set to 1 indicates that the channel is punctured (disabled). The default
# value is 0 indicating that all channels are active.
#punct_bitmap=0
# Preamble puncturing threshold in automatic channel selection (ACS).
# The value indicates the percentage of ideal channel average interference
# factor above which a channel should be punctured.
# Default is 0, indicates that ACS algorithm should not puncture any channel.
#punct_acs_threshold=75
# AP MLD - Whether this AP is a part of an AP MLD
# 0 = no (no MLO)
# 1 = yes (MLO)
#mld_ap=0
# AP MLD MAC address
# The configured address will be set as the interface hardware address and used
# as the AP MLD MAC address. If not set, the current interface hardware address
# will be used as the AP MLD MAC address.
#mld_addr=02:03:04:05:06:07