created | 2022-03-26T16:02:03Z |
---|---|
begin | 2022-03-20T00:00:00Z |
end | 2022-03-21T00:00:00Z |
path | src/sys |
commits | 6 |
date | 2022-03-20T00:01:33Z | |||
---|---|---|---|---|
author | jmatthew | |||
files | src/sys/dev/pci/if_aq_pci.c | log | diff | annotate |
message |
Enable interrupt moderation, targeting around 20k interrupts per second. There are separate timers for rx and tx interrupts, so we can use longer timeouts for tx since that doesn't affect packet processing latency. ok dlg@ |
date | 2022-03-20T07:50:32Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/net80211/ieee80211_input.c | log | diff | annotate |
src/sys/net80211/ieee80211_node.c | log | diff | annotate | |
message |
Make background scans pick up APs on 2GHz channels while in 11ac mode. found by landry@ |
date | 2022-03-20T11:59:39Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/pci/if_iwm.c | log | diff | annotate |
src/sys/dev/pci/if_iwx.c | log | diff | annotate | |
message |
Don't announce VHT caps on 2GHz channels during iwm(4) and iwx(4) scans. VHT capabilities were written into the "common" secion of the firmware probe request frame template. This section is used on 2GHz and 5GHz bands. Announcing VHT capabilities on 2GHz makes no sense. Move them into the 5GHz-only section. ok sthen@ |
date | 2022-03-20T12:01:58Z | |||
---|---|---|---|---|
author | stsp | |||
files | src/sys/dev/ic/bwfm.c | log | diff | annotate |
src/sys/dev/pci/if_iwm.c | log | diff | annotate | |
src/sys/dev/pci/if_iwn.c | log | diff | annotate | |
src/sys/dev/pci/if_iwx.c | log | diff | annotate | |
src/sys/net80211/ieee80211_input.c | log | diff | annotate | |
src/sys/net80211/ieee80211_node.h | log | diff | annotate | |
message |
Introduce an alternative mechanism for wifi drivers to communicate the channel on which a frame was received. ieee80211_inputm() was expecting that ic->ic_bss->ni_chan would correspond to the channel which is currently being scanned. This dates back to older devices which are manually tuned to the next channel by the driver during SCAN->SCAN state transitions. However, this approach is very awkward for drivers which scan across a whole range of channels in firmware. Such drivers had an ugly workaround in place which tweaked ni_chan for each received frame. Introduce a channel number field in the Rx info struct which drivers can use to indicate the channel on which a frame was received. If this field is set, net80211 will use it instead of using the current channel of ic_bss. Use this new mechanism in all affected drivers. Tested by jmc@, sthen@, and myself on iwm(4) and iwx(4). Changes to iwn(4) and bwfm(4) are the same mechanical changes to get rid of the ni_chan tweak, and are therefore expected to work. ok sthen@ dlg@ |
date | 2022-03-20T13:14:02Z | |||
---|---|---|---|---|
author | krw | |||
files | src/sys/dev/softraid.c | log | diff | annotate |
message |
Always check if softraid0 is NULL before dereferencing it. Avoids panic on reboot when softraid has been disabled. Discovered by, diagnosed, first diff from & fix tested by Scott Nicholas. ok bluhm@ |
date | 2022-03-20T19:16:29Z | |||
---|---|---|---|---|
author | bluhm | |||
files | src/sys/netinet/in_pcb.h | log | diff | annotate |
message |
Include sys/mutex.h from netinet/in_pcb.h. Struct mutex will be needed to make inpcb in kernel MP safe. To build sysctl and libkvm based programs, we have to export it to userland. OK claudio@ |