> > > Since those bits are present in the HE Cap as well, we can set the > > capability bits in the Extended Capabilities IE based on what is > > advertised in the HE Cap IE. > > It's not clear to me what this is trying to say, you don't seem to do anything > with the HE capabilities in the patch. > You are right. You can drop this part of the commit log. I guess I wrote that for the AP mode but in the AP mode this is not relevant since the beacon is built by hostapd. For managed mode, the driver will need to check the HE cap along with the extended capabilities to determine whether AP supports TWT or not.