Page MenuHomeFreeBSD

net80211: add watchdog routines
Needs ReviewPublic

Authored by avos on Oct 31 2015, 10:50 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 2:32 AM
Unknown Object (File)
Dec 16 2023, 11:40 PM
Unknown Object (File)
Jun 3 2023, 5:20 PM
Unknown Object (File)
May 15 2023, 5:46 AM
Unknown Object (File)
Sep 11 2016, 7:10 AM
Unknown Object (File)
Sep 7 2016, 4:11 PM
Unknown Object (File)
Jul 20 2016, 3:13 PM
Unknown Object (File)
Jul 20 2016, 3:12 PM
Subscribers

Details

Reviewers
adrian
Summary

This implementation should replace driver-level watchdog implementations (and, as a result, reduce size of driver-specific code).

The watchdog can be enabled via
ic->ic_flags_ext |= IEEE80211_FEXT_WATCHDOG;
code line before calling ieee80211_ifattach();

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

avos retitled this revision from to net80211: add watchdog routines.
avos updated this object.
avos edited the test plan for this revision. (Show Details)
avos added a reviewer: adrian.
avos set the repository for this revision to rS FreeBSD src repository - subversion.
  • Call ieee80211_tx_watchdog_refresh() before calling ic_transmit() / ic_raw_xmit(); that adds a possibility to call it from the callee error handler.
  • Update watchdog timer only when transmission occurs.
  • Add few more checks.

Fix race between ieee80211_tx_watchdog_stop() and ieee80211_tx_watchdog_refresh().