Do not include interfaces on the same radio in reduced neighbor
report elements (RNR) as multiple BSSID elements from the same
management frame already include these if MBSSID feature is enabled.
Signed-off-by: Aloka Dixit <quic_alokad@quicinc.com>
total_len += hostapd_eid_rnr_colocation_len(
hapd, ¤t_len);
- if (hapd->conf->rnr && hapd->iface->num_bss > 1)
+ if (hapd->conf->rnr && hapd->iface->num_bss > 1 &&
+ !hapd->iconf->mbssid)
total_len += hostapd_eid_rnr_iface_len(hapd, hapd,
¤t_len);
break;
eid = hostapd_eid_rnr_colocation(hapd, eid,
¤t_len);
- if (hapd->conf->rnr && hapd->iface->num_bss > 1)
+ if (hapd->conf->rnr && hapd->iface->num_bss > 1 &&
+ !hapd->iconf->mbssid)
eid = hostapd_eid_rnr_iface(hapd, hapd, eid,
¤t_len);
break;