qcacmn: Resolve WIN errors

Resolve WIN errors

Change-Id: I124990d54c5da295bf14d199e297116c56e06d08
这个提交包含在:
Harsh Kumar Bijlani
2022-01-20 00:33:35 +05:30
提交者 Madan Koyyalamudi
父节点 82711507b5
当前提交 1b4de61a20
修改 3 个文件,包含 6 行新增3 行删除

查看文件

@@ -9842,9 +9842,10 @@ static int dp_txrx_get_ratekbps(int preamb, int mcs,
{ {
uint32_t rix; uint32_t rix;
uint16_t ratecode; uint16_t ratecode;
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
return dp_getrateindex((uint32_t)gintval, (uint16_t)mcs, 1, return dp_getrateindex((uint32_t)gintval, (uint16_t)mcs, 1,
(uint8_t)preamb, 1, NO_PUNCTURE, (uint8_t)preamb, 1, punc_mode,
&rix, &ratecode); &rix, &ratecode);
} }
#else #else

查看文件

@@ -2219,6 +2219,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
uint64_t ppdu_tx_rate = 0; uint64_t ppdu_tx_rate = 0;
uint32_t rix; uint32_t rix;
uint16_t ratecode = 0; uint16_t ratecode = 0;
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
if (!peer || !ppdu) if (!peer || !ppdu)
return; return;
@@ -2231,7 +2232,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
ppdu->nss, ppdu->nss,
ppdu->preamble, ppdu->preamble,
ppdu->bw, ppdu->bw,
NO_PUNCTURE, punc_mode,
&rix, &rix,
&ratecode); &ratecode);

查看文件

@@ -686,6 +686,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
uint32_t rix; uint32_t rix;
uint16_t ratecode; uint16_t ratecode;
struct cdp_rx_stats_ppdu_user *ppdu_user = NULL; struct cdp_rx_stats_ppdu_user *ppdu_user = NULL;
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
if (!peer || !ppdu) if (!peer || !ppdu)
return; return;
@@ -712,7 +713,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
nss, nss,
ppdu->u.preamble, ppdu->u.preamble,
ppdu->u.bw, ppdu->u.bw,
NO_PUNCTURE, punc_mode,
&rix, &rix,
&ratecode); &ratecode);