qcacld-3.0: Append MBO IE from supplicant to Assoc Request Frame

The MBO IE sent from the supplicant supports multiple TLVs of the
same attribute type to be present. For example, for MBO case 5.2.8,
the supplicant sends 2 non-Preferred channel TLVs in the MBO IE.
However, when the driver unpacks the MBO IE for the Assoc Request
frame using frame parser, it supports only one unique TLV of each
attribute type in the MBO IE. So the second non-Preferred channel
TLV overwrrites the first TLV and the driver sends out Assoc Request
frame with only one non-Preferred Channel TLV in the MBO IE causing
the test case to fail.

Strip the MBO IE in the Additional IEs from supplicant and append
it to the end of the Assoc request frame without parsing it.

Change-Id: I35ede59983ef63268e4648bb38217ebec2454382
CRs-Fixed: 2310297
5 files changed