|
@@ -209,6 +209,10 @@ static void hostapd_ext_capab_byte(struct hostapd_data *hapd, u8 *pos, int idx)
|
|
|
if (hapd->conf->hs20)
|
|
|
*pos |= 0x40;
|
|
|
#endif
|
|
|
+#ifdef CONFIG_MBO
|
|
|
+ if (hapd->conf->mbo_enabled)
|
|
|
+ *pos |= 0x40;
|
|
|
+#endif
|
|
|
break;
|
|
|
case 6:
|
|
|
if (hapd->conf->ssid.utf8_ssid)
|
|
@@ -241,6 +245,10 @@ u8 * hostapd_eid_ext_capab(struct hostapd_data *hapd, u8 *eid)
|
|
|
if (hapd->conf->hs20 && len < 6)
|
|
|
len = 6;
|
|
|
#endif
|
|
|
+#ifdef CONFIG_MBO
|
|
|
+ if (hapd->conf->mbo_enabled && len < 6)
|
|
|
+ len = 6;
|
|
|
+#endif
|
|
|
if (len < hapd->iface->extended_capa_len)
|
|
|
len = hapd->iface->extended_capa_len;
|
|
|
if (len == 0)
|