Lock the two TX MO downcalls into driver/firmware in
lkpi_80211_txq_tx_one() to make sure they cannot happen in the
middle of other (net80211 triggered) updates calling down into
the driver/firmware.
MFC after: 3 days
Differential D43966
LinuxKPI: 802.11: lock MO tx/wake_tx_queue() downcalls bz on Feb 18 2024, 10:03 PM. Authored by Tags None Referenced Files
Details Lock the two TX MO downcalls into driver/firmware in MFC after: 3 days
Diff Detail
Event TimelineComment Actions I think LKPI_80211_LHW_LOCK_ASSERT can help remind us of such LKPI_80211_LHW_LOCK requirement for lkpi_80211_mo_* functions.
Comment Actions @cc Adding LOCK asserts is a very good idea; not all the functions need them if I remember correctly. Should I really add it to this "fix" or should I do a separate full pass on the linux_80211_macops.c file? Comment Actions If you put a separate "full pass of asserts" on a plan, with more scrutiny and tests, then I think we can move forward with this fix. |