mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
qcacmn: Fix flags field in radiotap for HT
Set short GI known to true in flags field for HT case. Change-Id: I4259dee7b10ebf23cf9cbaa647aa8951f3dbe633 CRs-fixed: 2189918
This commit is contained in:
parent
9d9cbb6762
commit
710c252550
1 changed files with 3 additions and 0 deletions
|
|
@ -110,6 +110,8 @@
|
|||
#define HE_GI_1_6 1
|
||||
#define HE_GI_3_2 2
|
||||
|
||||
#define HT_SGI_PRESENT 0x80
|
||||
|
||||
#define HE_LTF_1_X 0
|
||||
#define HE_LTF_2_X 1
|
||||
#define HE_LTF_4_X 2
|
||||
|
|
@ -569,6 +571,7 @@ hal_rx_status_get_tlv_info(void *rx_tlv, struct hal_rx_ppdu_info *ppdu_info)
|
|||
switch (ppdu_info->rx_status.preamble_type) {
|
||||
case HAL_RX_PKT_TYPE_11N:
|
||||
ppdu_info->rx_status.ht_flags = 1;
|
||||
ppdu_info->rx_status.rtap_flags |= HT_SGI_PRESENT;
|
||||
break;
|
||||
case HAL_RX_PKT_TYPE_11AC:
|
||||
ppdu_info->rx_status.vht_flags = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue