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/b2dd572dcc71
branches:  trunk
changeset: 363900:b2dd572dcc71
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 73bcb0df4e8f -r b2dd572dcc71 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
@@ -1677,7 +1677,7 @@
                        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 73bcb0df4e8f -r b2dd572dcc71 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
@@ -1954,7 +1954,7 @@
                        break;
                }
 
-               bpf_mtap(ifp, m0, BPF_D_OUT);
+               ieee80211_radiotap_tx(vap, m0);
 
                m0 = ieee80211_encap(vap, ni, m0);
                if (m0 == NULL) {
diff -r 73bcb0df4e8f -r b2dd572dcc71 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 @@
                         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 73bcb0df4e8f -r b2dd572dcc71 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 @@
                    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 73bcb0df4e8f -r b2dd572dcc71 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 @@
                        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