diff options
| author | gaolez <gaolez@codeaurora.org> | 2018-07-10 11:17:02 +0800 |
|---|---|---|
| committer | gaolez <gaolez@codeaurora.org> | 2018-07-10 11:35:45 +0800 |
| commit | 68d715d646f637fd5e39ed4a39e1e7edb29e58df (patch) | |
| tree | d6f0b58c572d5a68655703a0396ccf5899c494a3 | |
| parent | a3c3a33fef7bfaa2cc5b55e3698e594dc5c50999 (diff) | |
qcacld-2.0: Set protected bit for ECSA action frame
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
| -rw-r--r-- | CORE/MAC/src/pe/lim/limSendManagementFrames.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/CORE/MAC/src/pe/lim/limSendManagementFrames.c b/CORE/MAC/src/pe/lim/limSendManagementFrames.c index ebba5232da73..d367e1a71be0 100644 --- a/CORE/MAC/src/pe/lim/limSendManagementFrames.c +++ b/CORE/MAC/src/pe/lim/limSendManagementFrames.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2011-2017 The Linux Foundation. All rights reserved. + * Copyright (c) 2011-2018 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -4710,6 +4710,10 @@ lim_send_extended_chan_switch_action_frame(tpAniSirGlobal mac_ctx, return eSIR_FAILURE; } +#ifdef WLAN_FEATURE_11W + limSetProtectedBit(mac_ctx, session_entry, peer, mac_hdr); +#endif + status = dot11fPackext_channel_switch_action_frame( mac_ctx, &frm, frame + sizeof(tSirMacMgmtHdr), n_payload, &n_payload); if (DOT11F_FAILED(status)) { |
