Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F171260970
D3839.id9220.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D3839.id9220.diff
View Options
Index: sys/dev/usb/wlan/if_urtwn.c
===================================================================
--- sys/dev/usb/wlan/if_urtwn.c
+++ sys/dev/usb/wlan/if_urtwn.c
@@ -723,6 +723,7 @@
tap->wr_rate = 0x80 | (rate - 12);
}
tap->wr_dbm_antsignal = rssi;
+ tap->wr_dbm_antnoise = URTWN_NOISE_FLOOR;
}
*rssi_p = rssi;
Index: sys/dev/usb/wlan/if_urtwnvar.h
===================================================================
--- sys/dev/usb/wlan/if_urtwnvar.h
+++ sys/dev/usb/wlan/if_urtwnvar.h
@@ -40,7 +40,8 @@
uint8_t wr_rate;
uint16_t wr_chan_freq;
uint16_t wr_chan_flags;
- uint8_t wr_dbm_antsignal;
+ int8_t wr_dbm_antsignal;
+ int8_t wr_dbm_antnoise;
} __packed __aligned(8);
#define URTWN_RX_RADIOTAP_PRESENT \
@@ -48,7 +49,8 @@
1 << IEEE80211_RADIOTAP_FLAGS | \
1 << IEEE80211_RADIOTAP_RATE | \
1 << IEEE80211_RADIOTAP_CHANNEL | \
- 1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL)
+ 1 << IEEE80211_RADIOTAP_DBM_ANTSIGNAL | \
+ 1 << IEEE80211_RADIOTAP_DBM_ANTNOISE)
struct urtwn_tx_radiotap_header {
struct ieee80211_radiotap_header wt_ihdr;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Sep 10, 10:38 PM (22 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38671067
Default Alt Text
D3839.id9220.diff (1 KB)
Attached To
Mode
D3839: urtwn(4): add DBM_ANTNOISE radiotap field
Attached
Detach File
Event Timeline
Log In to Comment