WIFI EVM 測試

只此冒泡君 2014-05-17 10:14:13
開始RX 測試,等一分鐘之後 停在receiveing, 并顯示數據包數量,請問一下是顯示這個結構體里的什麽嗎?
typedef struct {	
/* receive stat counters */
uint32 rxframe; /* rx data frames */
uint32 rxbyte; /* rx data bytes */
uint32 rxerror; /* rx data errors (derived: sum of others) */
uint32 rxctl; /* rx management frames */
uint32 rxnobuf; /* rx out of buffers errors */
uint32 rxnondata; /* rx non data frames in the data channel errors */
uint32 rxbadds; /* rx bad DS errors */
uint32 rxbadcm; /* rx bad control or management frames */
uint32 rxfragerr; /* rx fragmentation errors */
uint32 rxrunt; /* rx runt frames */
uint32 rxgiant; /* rx giant frames */
uint32 rxnoscb; /* rx no scb error */
uint32 rxbadproto; /* rx invalid frames */
uint32 rxbadsrcmac; /* rx frames with Invalid Src Mac */
uint32 rxbadda; /* rx frames tossed for invalid da */
uint32 rxfilter; /* rx frames filtered out */

/* receive chip error counters */
uint32 rxoflo; /* rx fifo overflow errors */
uint32 rxuflo[6]; /* rx dma descriptor underflow errors */

uint32 d11cnt_rxcrc_off; /* d11cnt rxcrc value when reset d11cnt */
uint32 dmade; /* tx/rx dma descriptor errors */
uint32 dmada; /* tx/rx dma data errors */
uint32 dmape; /* tx/rx dma descriptor protocol errors */
uint32 tbtt; /* cnts the TBTT int's */
uint32 pkt_callback_reg_fail; /* callbacks register failure */

/* MAC counters: 32-bit version of d11.h's macstat_t */
uint32 rxfrmtoolong; /* Received frame longer than legal limit (2346 bytes) */
uint32 rxfrmtooshrt; /* Received frame did not contain enough bytes for its frame type */
uint32 rxinvmachdr; /* Either the protocol version != 0 or frame type not
* data/control/management
*/
uint32 rxbadfcs; /* number of frames for which the CRC check failed in the MAC */
uint32 rxbadplcp; /* parity check of the PLCP header failed */
uint32 rxcrsglitch; /* PHY was able to correlate the preamble but not the header */
uint32 rxstrt; /* Number of received frames with a good PLCP
* (i.e. passing parity check)
*/
uint32 rxdfrmucastmbss; /* Number of received DATA frames with good FCS and matching RA */
uint32 rxmfrmucastmbss; /* number of received mgmt frames with good FCS and matching RA */
uint32 rxcfrmucast; /* number of received CNTRL frames with good FCS and matching RA */
uint32 rxrtsucast; /* number of unicast RTS addressed to the MAC (good FCS) */
uint32 rxctsucast; /* number of unicast CTS addressed to the MAC (good FCS) */
uint32 rxackucast; /* number of ucast ACKS received (good FCS) */
uint32 rxdfrmocast; /* number of received DATA frames (good FCS and not matching RA) */
uint32 rxmfrmocast; /* number of received MGMT frames (good FCS and not matching RA) */
uint32 rxcfrmocast; /* number of received CNTRL frame (good FCS and not matching RA) */
uint32 rxrtsocast; /* number of received RTS not addressed to the MAC */
uint32 rxctsocast; /* number of received CTS not addressed to the MAC */
uint32 rxdfrmmcast; /* number of RX Data multicast frames received by the MAC */
uint32 rxmfrmmcast; /* number of RX Management multicast frames received by the MAC */
uint32 rxcfrmmcast; /* number of RX Control multicast frames received by the MAC
* (unlikely to see these)
*/
uint32 rxbeaconmbss; /* beacons received from member of BSS */
uint32 rxdfrmucastobss; /* number of unicast frames addressed to the MAC from
* other BSS (WDS FRAME)
*/
uint32 rxbeaconobss; /* beacons received from other BSS */
uint32 rxrsptmout; /* Number of response timeouts for transmitted frames
* expecting a response
*/
uint32 bcntxcancl; /* transmit beacons canceled due to receipt of beacon (IBSS) */
uint32 rxf0ovfl; /* Number of receive fifo 0 overflows */
uint32 rxf1ovfl; /* Number of receive fifo 1 overflows (obsolete) */
uint32 rxf2ovfl; /* Number of receive fifo 2 overflows (obsolete) */
uint32 pmqovfl; /* Number of PMQ overflows */
uint32 rxcgprqfrm; /* Number of received Probe requests that made it into
* the PRQ fifo
*/
uint32 rxcgprsqovfl; /* Rx Probe Request Que overflow in the AP */
uint32 prs_timeout; /* Number of probe requests that were dropped from the PRQ
* fifo because a probe response could not be sent out within
* the time limit defined in M_PRS_MAXTIME
*/
uint32 rxnack; /* obsolete */
uint32 frmscons; /* obsolete */

/* 802.11 MIB counters, pp. 614 of 802.11 reaff doc. */
uint32 rxdup; /* dot11FrameduplicateCount */
uint32 rxfrag; /* dot11ReceivedFragmentCount */
uint32 rxmulti; /* dot11MulticastReceivedFrameCount */
uint32 rxcrc; /* dot11FCSErrorCount */
uint32 rxundec; /* dot11WEPUndecryptableCount */

/* WPA2 counters (see rxundec for DecryptFailureCount) */
uint32 tkipmicfaill; /* TKIPLocalMICFailures */
uint32 tkipcntrmsr; /* TKIPCounterMeasuresInvoked */
uint32 tkipreplay; /* TKIPReplays */
uint32 ccmpfmterr; /* CCMPFormatErrors */
uint32 ccmpreplay; /* CCMPReplays */
uint32 ccmpundec; /* CCMPDecryptErrors */
uint32 fourwayfail; /* FourWayHandshakeFailures */
uint32 wepundec; /* dot11WEPUndecryptableCount */
uint32 wepicverr; /* dot11WEPICVErrorCount */
uint32 decsuccess; /* DecryptSuccessCount */
uint32 tkipicverr; /* TKIPICVErrorCount */
uint32 wepexcluded; /* dot11WEPExcludedCount */
uint32 psmwds; /* Count PSM watchdogs */
uint32 phywatchdog; /* Count Phy watchdogs (triggered by ucode) */

/* MBSS counters, AP only */
uint32 prq_entries_handled; /* PRQ entries read in */
uint32 prq_undirected_entries; /* which were bcast bss & ssid */
uint32 prq_bad_entries; /* which could not be translated to info */
uint32 atim_suppress_count; /* TX suppressions on ATIM fifo */
uint32 bcn_template_not_ready; /* Template marked in use on send bcn ... */
uint32 bcn_template_not_ready_done; /* ...but "DMA done" interrupt rcvd */
uint32 late_tbtt_dpc; /* TBTT DPC did not happen in time */

/* per-rate receive stat counters */
uint32 rx1mbps; /* packets rx at 1Mbps */
uint32 rx2mbps; /* packets rx at 2Mbps */
uint32 rx5mbps5; /* packets rx at 5.5Mbps */
uint32 rx6mbps; /* packets rx at 6Mbps */
uint32 rx9mbps; /* packets rx at 9Mbps */
uint32 rx11mbps; /* packets rx at 11Mbps */
uint32 rx12mbps; /* packets rx at 12Mbps */
uint32 rx18mbps; /* packets rx at 18Mbps */
uint32 rx24mbps; /* packets rx at 24Mbps */
uint32 rx36mbps; /* packets rx at 36Mbps */
uint32 rx48mbps; /* packets rx at 48Mbps */
uint32 rx54mbps; /* packets rx at 54Mbps */
uint32 rx108mbps; /* packets rx at 108mbps */
uint32 rx162mbps; /* packets rx at 162mbps */
uint32 rx216mbps; /* packets rx at 216 mbps */
uint32 rx270mbps; /* packets rx at 270 mbps */
uint32 rx324mbps; /* packets rx at 324 mbps */
uint32 rx378mbps; /* packets rx at 378 mbps */
uint32 rx432mbps; /* packets rx at 432 mbps */
uint32 rx486mbps; /* packets rx at 486 mbps */
uint32 rx540mbps; /* packets rx at 540 mbps */

/* pkteng rx frame stats */
uint32 pktengrxducast; /* unicast frames rxed by the pkteng code */
uint32 pktengrxdmcast; /* multicast frames rxed by the pkteng code */

uint32 rfdisable; /* count of radio disables */
uint32 bphy_rxcrsglitch; /* PHY count of bphy glitches */

uint32 rxmpdu_sgi; /* count for sgi received */
uint32 txmpdu_stbc; /* count for stbc transmit */
uint32 rxmpdu_stbc; /* count for stbc received */

uint32 rxundec_mcst; /* dot11WEPUndecryptableCount */

/* WPA2 counters (see rxundec for DecryptFailureCount) */
uint32 tkipmicfaill_mcst; /* TKIPLocalMICFailures */
uint32 tkipcntrmsr_mcst; /* TKIPCounterMeasuresInvoked */
uint32 tkipreplay_mcst; /* TKIPReplays */
uint32 ccmpfmterr_mcst; /* CCMPFormatErrors */
uint32 ccmpreplay_mcst; /* CCMPReplays */
uint32 ccmpundec_mcst; /* CCMPDecryptErrors */
uint32 fourwayfail_mcst; /* FourWayHandshakeFailures */
uint32 wepundec_mcst; /* dot11WEPUndecryptableCount */
uint32 wepicverr_mcst; /* dot11WEPICVErrorCount */
uint32 decsuccess_mcst; /* DecryptSuccessCount */
uint32 tkipicverr_mcst; /* TKIPICVErrorCount */
uint32 wepexcluded_mcst; /* dot11WEPExcludedCount */

uint32 dma_hang; /* count for dma hang */
uint32 reinit; /* count for reinit */

uint32 pstatxucast; /* count of ucast frames xmitted on all psta assoc */
uint32 pstatxnoassoc; /* count of txnoassoc frames xmitted on all psta assoc */
uint32 pstarxucast; /* count of ucast frames received on all psta assoc */
uint32 pstarxbcmc; /* count of bcmc frames received on all psta */
uint32 pstatxbcmc; /* count of bcmc frames transmitted on all psta */

uint32 cso_passthrough; /* hw cso required but passthrough */
} wl_cnt_t;
還是其他的什麽方法才能顯示出來???

...全文
747 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
nfme 2014-05-22
  • 打赏
  • 举报
回复
没在结构体里发现完全统计的变量,都是分开了统计(管理帧,数据帖等),俱体统计可以看看驱动代码RX相关流程里有没有。也有可能放在了别的结构里面(比如AP结构体)
只此冒泡君 2014-05-22
  • 打赏
  • 举报
回复
引用 7 楼 ssjmhyvi 的回复:
没在结构体里发现完全统计的变量,都是分开了统计(管理帧,数据帖等),俱体统计可以看看驱动代码RX相关流程里有没有。也有可能放在了别的结构里面(比如AP结构体)
謝謝!
只此冒泡君 2014-05-19
  • 打赏
  • 举报
回复
只此冒泡君 2014-05-19
  • 打赏
  • 举报
回复
引用 3 楼 u010708034 的回复:
代码太长 看不出你的重点在哪儿
我主要是想知道 怎麼顯示rx測試的數據包個數! 或者怎麼統計出它的數量?? 你可以不看我給的那個結構體!
u010708034 2014-05-18
  • 打赏
  • 举报
回复
代码太长 看不出你的重点在哪儿
只此冒泡君 2014-05-17
  • 打赏
  • 举报
回复
我主要是想知道 怎麼顯示rx測試的數據包個數! 或者怎麼統計出它的數量!
只此冒泡君 2014-05-17
  • 打赏
  • 举报
回复
沒有人嗎?????

3,846

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 无线
社区管理员
  • 无线
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧