Browse Source

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
gaolez 6 years ago
parent
commit
4b62a9e6cf
1 changed files with 2 additions and 0 deletions
  1. 2 0
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 2 - 0
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)) {