Intersect capabilities between two entities, such as a client and an AP.
Note: a.intersect(b) is not guaranteed to be the same as b.intersect(b). One such example is the
TX_STBC and RX_STBC fields in HtCapabilityInfo.
Returns the rates specified by the AP that are also supported by the client, with basic bits
following their values in the AP.
Returns Error if intersection fails.
Note: The client MUST support ALL the basic rates specified by the AP or the intersection fails.