qcacmn: Resolve WIN errors
Resolve WIN errors Change-Id: I124990d54c5da295bf14d199e297116c56e06d08
This commit is contained in:

committed by
Madan Koyyalamudi

parent
82711507b5
commit
1b4de61a20
@@ -9842,9 +9842,10 @@ static int dp_txrx_get_ratekbps(int preamb, int mcs,
|
||||
{
|
||||
uint32_t rix;
|
||||
uint16_t ratecode;
|
||||
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
|
||||
|
||||
return dp_getrateindex((uint32_t)gintval, (uint16_t)mcs, 1,
|
||||
(uint8_t)preamb, 1, NO_PUNCTURE,
|
||||
(uint8_t)preamb, 1, punc_mode,
|
||||
&rix, &ratecode);
|
||||
}
|
||||
#else
|
||||
|
@@ -2219,6 +2219,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
|
||||
uint64_t ppdu_tx_rate = 0;
|
||||
uint32_t rix;
|
||||
uint16_t ratecode = 0;
|
||||
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
|
||||
|
||||
if (!peer || !ppdu)
|
||||
return;
|
||||
@@ -2231,7 +2232,7 @@ dp_tx_rate_stats_update(struct dp_peer *peer,
|
||||
ppdu->nss,
|
||||
ppdu->preamble,
|
||||
ppdu->bw,
|
||||
NO_PUNCTURE,
|
||||
punc_mode,
|
||||
&rix,
|
||||
&ratecode);
|
||||
|
||||
|
@@ -686,6 +686,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
|
||||
uint32_t rix;
|
||||
uint16_t ratecode;
|
||||
struct cdp_rx_stats_ppdu_user *ppdu_user = NULL;
|
||||
enum PUNCTURED_MODES punc_mode = NO_PUNCTURE;
|
||||
|
||||
if (!peer || !ppdu)
|
||||
return;
|
||||
@@ -712,7 +713,7 @@ static inline void dp_rx_rate_stats_update(struct dp_peer *peer,
|
||||
nss,
|
||||
ppdu->u.preamble,
|
||||
ppdu->u.bw,
|
||||
NO_PUNCTURE,
|
||||
punc_mode,
|
||||
&rix,
|
||||
&ratecode);
|
||||
|
||||
|
Reference in New Issue
Block a user