소스 검색

qcacld-3.0: Advertise max BA buffer size in HE mode

The default addba buffer size is set to 64 and HE supports
256 BA bitmap.
Set addba response frame BA buffer size to max BA buffer size
(256) in HE mode.

Change-Id: I74db45874997cb3f3e758c89d7e95d72c27ee13f
CRs-Fixed: 2481484
Kiran Kumar Lokere 5 년 전
부모
커밋
22f05d45b7
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      core/mac/src/pe/lim/lim_send_management_frames.c

+ 4 - 1
core/mac/src/pe/lim/lim_send_management_frames.c

@@ -4736,7 +4736,10 @@ QDF_STATUS lim_send_addba_response_frame(struct mac_context *mac_ctx,
 		pe_err("refused addba req");
 	}
 	frm.addba_param_set.tid = tid;
-	frm.addba_param_set.buff_size = SIR_MAC_BA_DEFAULT_BUFF_SIZE;
+	if (lim_is_session_he_capable(session))
+		frm.addba_param_set.buff_size = MAX_BA_BUFF_SIZE;
+	else
+		frm.addba_param_set.buff_size = SIR_MAC_BA_DEFAULT_BUFF_SIZE;
 	if (mac_ctx->usr_cfg_ba_buff_size)
 		frm.addba_param_set.buff_size = mac_ctx->usr_cfg_ba_buff_size;