Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src-draft/trunk]: src/sys/dev/pci Update for use of ieee80211_radiotap_tx.



details:   https://anonhg.NetBSD.org/src-all/rev/783595611f6d
branches:  trunk
changeset: 375231:783595611f6d
user:      Nathanial Sloss <nat%netbsd.org@localhost>
date:      Thu Mar 10 06:50:42 2022 +1100

description:
Update for use of ieee80211_radiotap_tx.

diffstat:

 sys/dev/pci/if_ipw.c  |  2 +-
 sys/dev/pci/if_iwi.c  |  2 +-
 sys/dev/pci/if_iwm.c  |  2 +-
 sys/dev/pci/if_iwn.c  |  2 +-
 sys/dev/pci/if_rtwn.c |  2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diffs (60 lines):

diff -r aaa3cc6beacd -r 783595611f6d sys/dev/pci/if_ipw.c
--- a/sys/dev/pci/if_ipw.c      Tue Mar 08 05:05:50 2022 +1100
+++ b/sys/dev/pci/if_ipw.c      Thu Mar 10 06:50:42 2022 +1100
@@ -1676,7 +1676,7 @@ ipw_start(struct ipw_softc *sc)
                        continue;
                }
 
-               bpf_mtap(vap->iv_ifp, m0, BPF_D_OUT);
+               ieee80211_radiotap_tx(vap, m0);
 
                m0 = ieee80211_encap(vap, ni, m0);
                if (m0 == NULL) {
diff -r aaa3cc6beacd -r 783595611f6d sys/dev/pci/if_iwi.c
--- a/sys/dev/pci/if_iwi.c      Tue Mar 08 05:05:50 2022 +1100
+++ b/sys/dev/pci/if_iwi.c      Thu Mar 10 06:50:42 2022 +1100
@@ -1949,7 +1949,7 @@ iwi_start(struct ifnet *ifp)
                }
                IFQ_DEQUEUE(&ifp->if_snd, m0);
 
-               bpf_mtap(ifp, m0, BPF_D_OUT);
+               ieee80211_radiotap_tx(vap, m0);
 
                m0 = ieee80211_encap(vap, ni, m0);
                if (m0 == NULL) {
diff -r aaa3cc6beacd -r 783595611f6d sys/dev/pci/if_iwm.c
--- a/sys/dev/pci/if_iwm.c      Tue Mar 08 05:05:50 2022 +1100
+++ b/sys/dev/pci/if_iwm.c      Thu Mar 10 06:50:42 2022 +1100
@@ -6951,7 +6951,7 @@ iwm_start(struct iwm_softc *sc)
                         continue;
                 }
 
-                bpf_mtap(vap->iv_ifp, m, BPF_D_OUT);
+                ieee80211_radiotap_tx(vap, m);
 
                 if ((m = ieee80211_encap(vap, ni, m)) == NULL) {
                         ieee80211_free_node(ni);
diff -r aaa3cc6beacd -r 783595611f6d sys/dev/pci/if_iwn.c
--- a/sys/dev/pci/if_iwn.c      Tue Mar 08 05:05:50 2022 +1100
+++ b/sys/dev/pci/if_iwn.c      Thu Mar 10 06:50:42 2022 +1100
@@ -3718,7 +3718,7 @@ iwn_start(struct ifnet *ifp)
                    M_WME_GETAC(m) : WME_AC_BE;
 
                if (sc->sc_beacon_wait == 0)
-                       bpf_mtap(ifp, m, BPF_D_OUT);
+                       ieee80211_radiotap_tx(vap, m);
                if (sc->sc_beacon_wait)
                        continue;
 
diff -r aaa3cc6beacd -r 783595611f6d sys/dev/pci/if_rtwn.c
--- a/sys/dev/pci/if_rtwn.c     Tue Mar 08 05:05:50 2022 +1100
+++ b/sys/dev/pci/if_rtwn.c     Thu Mar 10 06:50:42 2022 +1100
@@ -2172,7 +2172,7 @@ rtwn_start(struct rtwn_softc *sc)
                        continue;
                }
 
-               bpf_mtap(vap->iv_ifp, m, BPF_D_OUT);
+               ieee80211_radiotap_tx(vap, m);
 
                if (rtwn_raw_xmit(ni, m, NULL) != 0) {
                        ieee80211_tx_complete(ni, m, 1);



Home | Main Index | Thread Index | Old Index