|
@@ -1797,17 +1797,32 @@ static uint16_t hdd_wmm_select_queue(struct net_device *dev,
|
|
|
return queueIndex;
|
|
|
}
|
|
|
|
|
|
-uint16_t hdd_select_queue(struct net_device *dev, struct sk_buff *skb
|
|
|
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0))
|
|
|
- , void *accel_priv
|
|
|
-#endif
|
|
|
-#if (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
|
|
|
- , select_queue_fallback_t fallback
|
|
|
-#endif
|
|
|
-)
|
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(4, 19, 0))
|
|
|
+uint16_t hdd_select_queue(struct net_device *dev, struct sk_buff *skb,
|
|
|
+ struct net_device *sb_dev,
|
|
|
+ select_queue_fallback_t fallback)
|
|
|
+{
|
|
|
+ return hdd_wmm_select_queue(dev, skb);
|
|
|
+}
|
|
|
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 14, 0))
|
|
|
+uint16_t hdd_select_queue(struct net_device *dev, struct sk_buff *skb,
|
|
|
+ void *accel_priv, select_queue_fallback_t fallback)
|
|
|
+{
|
|
|
+ return hdd_wmm_select_queue(dev, skb);
|
|
|
+}
|
|
|
+#elif (LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0))
|
|
|
+uint16_t hdd_select_queue(struct net_device *dev, struct sk_buff *skb,
|
|
|
+ void *accel_priv)
|
|
|
{
|
|
|
return hdd_wmm_select_queue(dev, skb);
|
|
|
}
|
|
|
+#else
|
|
|
+uint16_t hdd_select_queue(struct net_device *dev, struct sk_buff *skb)
|
|
|
+{
|
|
|
+ return hdd_wmm_select_queue(dev, skb);
|
|
|
+}
|
|
|
+#endif
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* hdd_wmm_acquire_access_required() - Function which will determine
|