mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 21:59:12 -04:00
qcacmn: Add fix to support frame control for MU ctrl frame
frame control for second and subsequent user are zero which overide the master frame control. Added fix to update master frame control from user position zero. Change-Id: Ic0331dd5d486fbffa44d29c74b4f1f15414d0a65
This commit is contained in:
parent
5e8254061e
commit
f1973b22d7
1 changed files with 8 additions and 3 deletions
|
|
@ -3028,15 +3028,20 @@ dp_process_ppdu_stats_sch_cmd_status_tlv(struct dp_pdev *pdev,
|
|||
|
||||
num_users = ppdu_desc->bar_num_users;
|
||||
|
||||
if (ppdu_desc->frame_type == CDP_PPDU_FTYPE_BAR) {
|
||||
for (i = 0; i < num_users; i++) {
|
||||
if (ppdu_desc->user[i].user_pos == 0) {
|
||||
for (i = 0; i < num_users; i++) {
|
||||
if (ppdu_desc->user[i].user_pos == 0) {
|
||||
if (ppdu_desc->frame_type == CDP_PPDU_FTYPE_BAR) {
|
||||
/* update phy mode for bar frame */
|
||||
ppdu_desc->phy_mode =
|
||||
ppdu_desc->user[i].preamble;
|
||||
ppdu_desc->user[0].mcs = ppdu_desc->user[i].mcs;
|
||||
break;
|
||||
}
|
||||
if (ppdu_desc->frame_type == CDP_PPDU_FTYPE_CTRL) {
|
||||
ppdu_desc->frame_ctrl =
|
||||
ppdu_desc->user[i].frame_ctrl;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue