qcacmn: Update Non-TX beacon capabilities

Non-Tx beacon generated in driver contains TX
beacon capabilities instead of capabilities
advertised as part of non-TX profile in MBSSID IE.

Copy the non-TX beacon capabilities from MBSSID IE
profile to driver generated non-TX beacon.

Change-Id: Iecf63b959176bac8d60055e6b77082a6f3ec117c
CRs-Fixed: 2789394
Bu işleme şunda yer alıyor:
Sandeep Puligilla
2020-10-05 01:09:34 -07:00
işlemeyi yapan: snandini
ebeveyn a46ec49881
işleme bc288e05a5

Dosyayı Görüntüle

@@ -1949,6 +1949,9 @@ static QDF_STATUS util_scan_parse_mbssid(struct wlan_objmgr_pdev *pdev,
QDF_MAC_ADDR_SIZE);
qdf_mem_copy(hdr->i_addr3, new_bssid,
QDF_MAC_ADDR_SIZE);
bcn = (struct wlan_bcn_frame *)(new_frame + sizeof(struct wlan_frame_hdr));
/* update the non-tx capability */
qdf_mem_copy(&bcn->capability, subelement + 4, 2);
/* Copy the new ie generated from MBSSID profile*/
qdf_mem_copy(new_frame +
offsetof(struct wlan_bcn_frame, ie) +