qcacld-3.0: Set protected bit for ECSA action frame

qcacld-2.0 to qcacld-3.0 propagation

If all the STA connected to AP support ecsa, wlan driver will call
lim_send_extended_chan_switch_action_frame to send action frame,
but this function missing limSetProtectedBit when 11w enable,
this violate spec, so generate a fix for this issue.

Change-Id: I80f111f21015c98ee0abdafe76ea42c3e79163ac
CRs-Fixed: 2275626
This commit is contained in:
gaolez 2018-08-16 15:57:50 +08:00 • committed by nshrivas
commit 4b62a9e6cf

View file

@ -3737,6 +3737,8 @@ lim_send_extended_chan_switch_action_frame(tpAniSirGlobal mac_ctx,
(uint8_t *) session_entry->bssId,
sizeof(tSirMacAddr));
lim_set_protected_bit(mac_ctx, session_entry, peer, mac_hdr);
status = dot11f_pack_ext_channel_switch_action_frame(mac_ctx, &frm,
frame + sizeof(tSirMacMgmtHdr), n_payload, &n_payload);
if (DOT11F_FAILED(status)) {