mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
qcacld-3.0: Update ccfs2 in ht operation
Currently driver does not update ccfs2 correctly in ht operation when it caches the connetion info, because of this userspace is not able to get correct bw info for sta big data. To address above issue, update ccfs2 corrrectly in ht operation. Change-Id: I13dc8b674d24be7435a85b91a1ecc43e0c37900b CRs-Fixed: 3183162
This commit is contained in:
parent
40f3168fd1
commit
4d3c4bced3
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,6 @@
|
|||
/*
|
||||
* Copyright (c) 2012-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
|
|
@ -902,6 +903,9 @@ static void hdd_copy_ht_operation(struct hdd_station_ctx *hdd_sta_ctx,
|
|||
hdd_ht_ops->operation_mode |=
|
||||
IEEE80211_HT_OP_MODE_NON_HT_STA_PRSNT;
|
||||
|
||||
if (roam_ht_ops->chan_center_freq_seg2)
|
||||
hdd_ht_ops->operation_mode |=
|
||||
(roam_ht_ops->chan_center_freq_seg2 << IEEE80211_HT_OP_MODE_CCFS2_SHIFT);
|
||||
/* stbc_param */
|
||||
temp_ht_ops = roam_ht_ops->basicSTBCMCS &
|
||||
HT_STBC_PARAM_MCS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue