ソースを参照

qcacmn: Replace IEEE80211_IS_BROADCAST with QDF_IS_ADDR_BROADCAST

Replace IEEE80211_IS_BROADCAST with QDF_IS_ADDR_BROADCAST.

Change-Id: I199797ea402ee68dd0addf6698aa5ccd0ddc8f97
CRs-Fixed: 2396621
Srinivas Girigowda 6 年 前
コミット
7950297868
3 ファイル変更4 行追加4 行削除
  1. 1 1
      dp/wifi3.0/dp_rx.c
  2. 2 2
      dp/wifi3.0/dp_rx_err.c
  3. 1 1
      dp/wifi3.0/dp_tx.c

+ 1 - 1
dp/wifi3.0/dp_rx.c

@@ -1184,7 +1184,7 @@ static void dp_rx_msdu_stats_update(struct dp_soc *soc,
 			 (vdev->rx_decap_type == htt_cmn_pkt_type_ethernet))) {
 		eh = (struct ether_header *)qdf_nbuf_data(nbuf);
 		DP_STATS_INC_PKT(peer, rx.multicast, 1, msdu_len);
-		if (IEEE80211_IS_BROADCAST(eh->ether_dhost)) {
+		if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) {
 			DP_STATS_INC_PKT(peer, rx.bcast, 1, msdu_len);
 
 		}

+ 2 - 2
dp/wifi3.0/dp_rx_err.c

@@ -827,7 +827,7 @@ dp_rx_null_q_desc_handle(struct dp_soc *soc, qdf_nbuf_t nbuf,
 
 				DP_STATS_INC_PKT(peer, rx.multicast, 1,
 						 qdf_nbuf_len(nbuf));
-				if (IEEE80211_IS_BROADCAST(eh->ether_dhost)) {
+				if (QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) {
 					DP_STATS_INC_PKT(peer, rx.bcast, 1,
 							 qdf_nbuf_len(nbuf));
 				}
@@ -959,7 +959,7 @@ process_rx:
 				(vdev->rx_decap_type ==
 				htt_cmn_pkt_type_ethernet))) {
 		eh = (struct ether_header *)qdf_nbuf_data(nbuf);
-		is_broadcast = (IEEE80211_IS_BROADCAST
+		is_broadcast = (QDF_IS_ADDR_BROADCAST
 				(eh->ether_dhost)) ? 1 : 0 ;
 		DP_STATS_INC_PKT(peer, rx.multicast, 1, qdf_nbuf_len(nbuf));
 		if (is_broadcast) {

+ 1 - 1
dp/wifi3.0/dp_tx.c

@@ -3003,7 +3003,7 @@ void dp_tx_comp_process_tx_status(struct dp_tx_desc_s *tx_desc,
 
 			if ((peer->vdev->tx_encap_type ==
 				htt_cmn_pkt_type_ethernet) &&
-				IEEE80211_IS_BROADCAST(eh->ether_dhost)) {
+				QDF_IS_ADDR_BROADCAST(eh->ether_dhost)) {
 				DP_STATS_INC_PKT(peer, tx.bcast, 1, length);
 			}
 		}