qcacmn: Fix for wrong packet type in monitor mode
In monitor mode, the packet type is wrongly filled radiotap header as 11n when the actual incoming packet is 11b frame. The packet type field is common for all MPDUs and is obtained from PPDU_END_USER_STATS and hence no need to overwrite that value from the MPDU specific TLV in the function hal_rx_mon_hw_desc_get_mpdu_status Change-Id: I97f96e64012636f562f7ac2e4a91b63ffc7553db CRs-Fixed: 2333915
这个提交包含在:
@@ -75,23 +75,6 @@ static void hal_rx_mon_hw_desc_get_mpdu_status_8074(void *hw_desc_addr,
|
||||
reg_value = HAL_RX_GET(rx_msdu_start, RX_MSDU_START_5, SGI);
|
||||
rs->sgi = sgi_hw_to_cdp[reg_value];
|
||||
rs->nr_ant = HAL_RX_GET(rx_msdu_start, RX_MSDU_START_5, NSS);
|
||||
reg_value = HAL_RX_GET(rx_msdu_start, RX_MSDU_START_5, PKT_TYPE);
|
||||
switch (reg_value) {
|
||||
case HAL_RX_PKT_TYPE_11N:
|
||||
rs->ht_flags = 1;
|
||||
break;
|
||||
case HAL_RX_PKT_TYPE_11AC:
|
||||
rs->vht_flags = 1;
|
||||
reg_value = HAL_RX_GET(rx_msdu_start, RX_MSDU_START_5,
|
||||
RECEIVE_BANDWIDTH);
|
||||
rs->vht_flag_values2 = reg_value;
|
||||
break;
|
||||
case HAL_RX_PKT_TYPE_11AX:
|
||||
rs->he_flags = 1;
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
reg_value = HAL_RX_GET(rx_msdu_start, RX_MSDU_START_5, RECEPTION_TYPE);
|
||||
rs->beamformed = (reg_value == HAL_RX_RECEPTION_TYPE_MU_MIMO) ? 1 : 0;
|
||||
/* TODO: rs->beamformed should be set for SU beamforming also */
|
||||
|
在新工单中引用
屏蔽一个用户