| 70da94bb | 12-Sep-2024 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: add futher defines to ieee80211.h and nl80211.h
Upstream new defines, enum values, etc. for coming driver updates which are non-conflicting with the current state.
The only notabl
LinuxKPI: 802.11: add futher defines to ieee80211.h and nl80211.h
Upstream new defines, enum values, etc. for coming driver updates which are non-conflicting with the current state.
The only notable change is the rename of the enum ieee80211_ap_reg_power but the enum name had not been used so far by any driver in the tree (only in mac80211.h) but an updated version of ath11k does use it so we need to correct our initial naming.
Sponsored by: The FreeBSD Foundation
(cherry picked from commit c1c989588df67396392edceb0e7e7028abc06c49)
show more ...
|
| 3e0a3138 | 29-Jan-2024 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: extend ieee80211_key_seq and WLAN_KEY_LEN_* defines
For iwlwifi(4) d3.c we need another struct in struct ieee80211_key_seq and related WLAN_KEY_LEN_* defines in.
Reviewed by: cc,
LinuxKPI: 802.11: extend ieee80211_key_seq and WLAN_KEY_LEN_* defines
For iwlwifi(4) d3.c we need another struct in struct ieee80211_key_seq and related WLAN_KEY_LEN_* defines in.
Reviewed by: cc, emaste Differential Revision: https://reviews.freebsd.org/D43646
(cherry picked from commit 2f029bf911e29dc46c32ea142daba4f26a2078f4)
show more ...
|
| 1c7be8ec | 12-Dec-2023 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: more TXQ implementation and locking
Implement ieee80211_handle_wake_tx_queue() and ieee80211_tx_dequeue_ni() while looking at the code. They are needed by various wireless drivers
LinuxKPI: 802.11: more TXQ implementation and locking
Implement ieee80211_handle_wake_tx_queue() and ieee80211_tx_dequeue_ni() while looking at the code. They are needed by various wireless drivers.
Introduce an ltxq lock and protect the skbq by that. This prevents panics due to a race between a driver upcall and the net80211 tx downcall. While the former should be rcu protected we cannot rely on that. It remains questionable if we need to protect further fields there (with a different lock?).
Also introduce a txq_mtx on the lhw which needs to be further deployed but we need to come up with a good strategy to not end up with 7 different locks.
Sponsored by: The FreeBSD Foundation PR: 274178, 275710 Tested by: cc
(cherry picked from commit eac3646fcdd445297cade756630335e23e92ea13)
show more ...
|
| 2336248a | 31-Jan-2023 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: fix ff76cbc81d57ffc4bbc9bc20fd22325b2a8c2028 (pspoll)
Add the lost "inline".
Sponsored by: The FreeBSD Foundation MFC after: 3 days X-MFC with: ff76cbc81d57ffc4bbc9bc20fd22325b2a8
LinuxKPI: 802.11: fix ff76cbc81d57ffc4bbc9bc20fd22325b2a8c2028 (pspoll)
Add the lost "inline".
Sponsored by: The FreeBSD Foundation MFC after: 3 days X-MFC with: ff76cbc81d57ffc4bbc9bc20fd22325b2a8c2028
show more ...
|
| ff76cbc8 | 31-Jan-2023 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: implement ieee80211_is_pspoll()
Implement ieee80211_is_pspoll() and move it up to the set of implemented ieee80211_is_*() functions.
There are no further changes (git diff just lo
LinuxKPI: 802.11: implement ieee80211_is_pspoll()
Implement ieee80211_is_pspoll() and move it up to the set of implemented ieee80211_is_*() functions.
There are no further changes (git diff just looks weird).
Sponsored by: The FreeBSD Foundation MFC after: 3 days
show more ...
|
| 5a9a0d78 | 31-Jan-2023 |
Bjoern A. Zeeb <[email protected]> |
LinuxKPI: 802.11: basic implementation of *queue(s)/*txq*
Very basic implementations of ieee80211_{wake,stop}_queue[s], as well as ieee80211_txq_schedule_start(), ieee80211_next_txq(), and ieee80211
LinuxKPI: 802.11: basic implementation of *queue(s)/*txq*
Very basic implementations of ieee80211_{wake,stop}_queue[s], as well as ieee80211_txq_schedule_start(), ieee80211_next_txq(), and ieee80211_schedule_txq(). Various combinations of these are used by different wireless drivers, incl. iwlwifi.
Sponsored by: The FreeBSD Foundation (parts of this work) MFC after: 3 days
show more ...
|