|
@@ -57,6 +57,7 @@ QDF_STATUS hdd_softap_ipa_start_xmit(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
|
/**
|
|
/**
|
|
* hdd_softap_tx_timeout() - TX timeout handler
|
|
* hdd_softap_tx_timeout() - TX timeout handler
|
|
* @dev: pointer to network device
|
|
* @dev: pointer to network device
|
|
|
|
+ * @txqueue: tx queue
|
|
*
|
|
*
|
|
* Function registered as a net_device .ndo_tx_timeout() method for
|
|
* Function registered as a net_device .ndo_tx_timeout() method for
|
|
* master mode interfaces (SoftAP/P2P GO), called by the OS if the
|
|
* master mode interfaces (SoftAP/P2P GO), called by the OS if the
|
|
@@ -64,8 +65,11 @@ QDF_STATUS hdd_softap_ipa_start_xmit(qdf_nbuf_t nbuf, qdf_netdev_t dev);
|
|
*
|
|
*
|
|
* Return: None
|
|
* Return: None
|
|
*/
|
|
*/
|
|
|
|
+#if (LINUX_VERSION_CODE >= KERNEL_VERSION(5, 6, 0))
|
|
|
|
+void hdd_softap_tx_timeout(struct net_device *dev, unsigned int txqueue);
|
|
|
|
+#else
|
|
void hdd_softap_tx_timeout(struct net_device *dev);
|
|
void hdd_softap_tx_timeout(struct net_device *dev);
|
|
-
|
|
|
|
|
|
+#endif
|
|
/**
|
|
/**
|
|
* hdd_softap_init_tx_rx() - Initialize Tx/Rx module
|
|
* hdd_softap_init_tx_rx() - Initialize Tx/Rx module
|
|
* @adapter: pointer to adapter context
|
|
* @adapter: pointer to adapter context
|