This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### hostapd configuration file, loosely based on http://pisarenko.net/blog/2015/02/01/beginners-guide-to-802-dot-11ac-setup/ | |
### for Realtek RTL8812AU via driver https://github.com/abperiasamy/rtl8812AU_8821AU_linux | |
### and hostap 2.5 | |
### Operates at 135 Mbps in 802.11n/ht mode. iperf measures ~8.00 MBytes/sec 67.1 Mbits/sec | |
### I was not able to get 802.11ac/vht mode with additional side-channels configured with the driver. | |
ctrl_interface=/var/run/hostapd | |
ctrl_interface_group=0 | |
interface=wlan2 | |
driver=nl80211 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /original/VBoxPci-linux.c | |
+++ /patched/VBoxPci-linux.c | |
@@ -89,7 +89,11 @@ | |
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 20) | |
# define PCI_DEV_GET(v,d,p) pci_get_device(v,d,p) | |
# define PCI_DEV_PUT(x) pci_dev_put(x) | |
-# define PCI_DEV_GET_SLOT(bus, devfn) pci_get_bus_and_slot(bus, devfn) | |
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 16, 0) | |
+ # define PCI_DEV_GET_SLOT(bus, devfn) pci_get_domain_bus_and_slot(0, bus, devfn) | |
+#else |