提交 7b08b3b4 编写于 作者: A Alina Friedrichsen 提交者: John W. Linville

mac80211: Remove TSF atomic requirement from the documentation

The atomic requirement for the TSF callbacks
is outdated. get_tsf() is only called by
ieee80211_rx_bss_info() which is indirectly
called by the work queue ieee80211_sta_work().
In the same context are called several other
non-atomic functions, too.
And the atomic requirement causes problems
for drivers of USB wifi cards.
Signed-off-by: NAlina Friedrichsen <x-alina@gmx.net>
Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
上级 97d97b80
...@@ -1354,11 +1354,11 @@ enum ieee80211_ampdu_mlme_action { ...@@ -1354,11 +1354,11 @@ enum ieee80211_ampdu_mlme_action {
* *
* @get_tsf: Get the current TSF timer value from firmware/hardware. Currently, * @get_tsf: Get the current TSF timer value from firmware/hardware. Currently,
* this is only used for IBSS mode BSSID merging and debugging. Is not a * this is only used for IBSS mode BSSID merging and debugging. Is not a
* required function. Must be atomic. * required function.
* *
* @set_tsf: Set the TSF timer to the specified value in the firmware/hardware. * @set_tsf: Set the TSF timer to the specified value in the firmware/hardware.
* Currently, this is only used for IBSS mode debugging. Is not a * Currently, this is only used for IBSS mode debugging. Is not a
* required function. Must be atomic. * required function.
* *
* @reset_tsf: Reset the TSF timer and allow firmware/hardware to synchronize * @reset_tsf: Reset the TSF timer and allow firmware/hardware to synchronize
* with other STAs in the IBSS. This is only used in IBSS mode. This * with other STAs in the IBSS. This is only used in IBSS mode. This
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册