This can be used to determine the disabled subchannels based on the
puncture bitmap (each bit corresponds to a 20 MHz subchannel).
Signed-off-by: Mohan Raj <quic_mrajraje@quicinc.com>
len += ret;
}
+ if (hapd->iconf->punct_bitmap) {
+ ret = os_snprintf(buf + len, buflen - len,
+ "punct_bitmap=0x%x\n",
+ hapd->iconf->punct_bitmap);
+ if (os_snprintf_error(buflen - len, ret))
+ return len;
+ len += ret;
+ }
+
if (hapd->conf->mld_ap) {
struct hostapd_data *link_bss;