mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-19 02:29:40 +00:00
o remove bpf tap call missed in r192468
o correct rssi taken from rx descriptor; need dbm
This commit is contained in:
parent
0bbdea7776
commit
fedda42340
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192541
@ -1274,7 +1274,7 @@ iwi_frame_intr(struct iwi_softc *sc, struct iwi_rx_data *data, int i,
|
||||
|
||||
m_adj(m, sizeof (struct iwi_hdr) + sizeof (struct iwi_frame));
|
||||
|
||||
rssi = frame->signal;
|
||||
rssi = frame->rssi_dbm;
|
||||
nf = -95;
|
||||
if (ieee80211_radiotap_active(ic)) {
|
||||
struct iwi_rx_radiotap_header *tap = &sc->sc_rxtap;
|
||||
@ -1960,8 +1960,6 @@ iwi_start_locked(struct ifnet *ifp)
|
||||
break;
|
||||
}
|
||||
|
||||
BPF_MTAP(ifp, m);
|
||||
|
||||
ni = (struct ieee80211_node *) m->m_pkthdr.rcvif;
|
||||
if (iwi_tx_start(ifp, m, ni, ac) != 0) {
|
||||
ieee80211_free_node(ni);
|
||||
|
Loading…
Reference in New Issue
Block a user