wifi: Limit MCS range using Ht/Vht/HeConfiguration classes + trigger capabilitiesChanged callback
HtPhy, VhtPhy, and HePhy classes offer a SetMaxMcsIndexPerSpatialStream
method to add a constraint on the supported MCS range. As suggested by @sderonne in rediet/ns-3-dev!1 (comment 321873630), Ht/Vht/HeConfiguration classes should be updated to support such tuning.
In addition, as also pointed out by @sderonne in !347 (comment 488153423), any change during runtime should trigger a m_capabilitiesChangedCallback
callback to advertise the MAC of PHY changes. Such a callback enables to notify the MAC when some PHY capabilities change (channel width, max spatial streams, ...) and trigger a re-association so that the peer (AP) is informed of such changes.
Edited by Rediet (Orange)