From 4b62a9e6cf28fe1164eecf5fbb68cca14a4314ae Mon Sep 17 00:00:00 2001 From: gaolez Date: Thu, 16 Aug 2018 15:57:50 +0800 Subject: [PATCH] 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 --- core/mac/src/pe/lim/lim_send_management_frames.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/mac/src/pe/lim/lim_send_management_frames.c b/core/mac/src/pe/lim/lim_send_management_frames.c index 030cf4bddba0..a38fcbb9ade6 100644 --- a/core/mac/src/pe/lim/lim_send_management_frames.c +++ b/core/mac/src/pe/lim/lim_send_management_frames.c @@ -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)) {