File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
drivers/net/wireless/aic8800/aic8800_fdrv Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -337,8 +337,8 @@ struct rwnx_amsdu_stats {
337337struct rwnx_stats {
338338 int cfm_balance [NX_TXQ_CNT ];
339339 unsigned long last_rx , last_tx ; /* jiffies */
340- int ampdus_tx [IEEE80211_MAX_AMPDU_BUF ];
341- int ampdus_rx [IEEE80211_MAX_AMPDU_BUF ];
340+ int ampdus_tx [IEEE80211_MAX_AMPDU_BUF_HE ];
341+ int ampdus_rx [IEEE80211_MAX_AMPDU_BUF_HE ];
342342 int ampdus_rx_map [4 ];
343343 int ampdus_rx_miss ;
344344#ifdef CONFIG_RWNX_SPLIT_TX_BUF
Original file line number Diff line number Diff line change @@ -1432,7 +1432,7 @@ int rwnx_txdatacfm(void *pthis, void *host_id)
14321432 }
14331433
14341434 if (txhdr -> hw_hdr .cfm .ampdu_size &&
1435- txhdr -> hw_hdr .cfm .ampdu_size < IEEE80211_MAX_AMPDU_BUF )
1435+ txhdr -> hw_hdr .cfm .ampdu_size < IEEE80211_MAX_AMPDU_BUF_HE )
14361436 rwnx_hw -> stats .ampdus_tx [txhdr -> hw_hdr .cfm .ampdu_size - 1 ]++ ;
14371437
14381438#ifdef CONFIG_RWNX_AMSDUS_TX
You can’t perform that action at this time.
0 commit comments