Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F115625314
D48161.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
D48161.diff
View Options
diff --git a/sys/compat/linuxkpi/common/src/linux_80211.c b/sys/compat/linuxkpi/common/src/linux_80211.c
--- a/sys/compat/linuxkpi/common/src/linux_80211.c
+++ b/sys/compat/linuxkpi/common/src/linux_80211.c
@@ -3704,7 +3704,16 @@
lsta = ni->ni_drv_data;
LKPI_80211_LSTA_TXQ_LOCK(lsta);
+#if 0
if (!lsta->added_to_drv || !lsta->txq_ready) {
+#else
+ /*
+ * Backout this part of 886653492945f which breaks rtw88 or
+ * in general drivers without (*sta_state)() but only the
+ * legacy fallback to (*sta_add)().
+ */
+ if (!lsta->txq_ready) {
+#endif
LKPI_80211_LSTA_TXQ_UNLOCK(lsta);
/*
* Free the mbuf (do NOT release ni ref for the m_pkthdr.rcvif!
@@ -3952,7 +3961,16 @@
* We also use txq_ready as a semaphore and will drain the txq manually
* if needed on our way towards SCAN/INIT in the state machine.
*/
+#if 0
shall_tx = lsta->added_to_drv && lsta->txq_ready;
+#else
+ /*
+ * Backout this part of 886653492945f which breaks rtw88 or
+ * in general drivers without (*sta_state)() but only the
+ * legacy fallback to (*sta_add)().
+ */
+ shall_tx = lsta->txq_ready;
+#endif
if (__predict_true(shall_tx))
mbufq_concat(&mq, &lsta->txq);
/*
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 27, 4:42 AM (16 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17813419
Default Alt Text
D48161.diff (1 KB)
Attached To
Mode
D48161: LinuxKPI 802.11 / rtw88: make packets flow again
Attached
Detach File
Event Timeline
Log In to Comment