mac80211 sta info and related changes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest8 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | mac80211: clarify use of TX status/RX callbacksinclude/ | +34 | 0 replies | |
| 2/8 | mac80211: safely free beacon in ieee80211_if_reinitnet/ | +5 | 0 replies | |
| 3/8 | mac80211: split ieee80211_key_allocnet/ net/ net/ +1 more | +87 | 0 replies | |
| 4/8 | mac80211: RCU-ify STA info structure accessdrivers/ drivers/ net/ +17 more | +612 | 3 replies | |
| 5/8 | mac80211: split ieee80211_txrx_datanet/ net/ net/ +5 more | +313 | 0 replies | |
| 6/8 | mac80211: split sta_info_addnet/ net/ net/ +2 more | +129 | 0 replies | |
| 7/8 | mac80211: remove STA infos last_ack stuffnet/ net/ net/ +1 more | +0 | 0 replies | |
| 8/8 | mac80211: clean up sta_info and document lockingnet/ net/ | +76 | 0 replies |
Reviews trailers per patch
None of the 8 patches has a Reviewed-by or Acked-by.
| Patch | Reinette Chatre |
|---|---|
| 1/8 | |
| 2/8 | |
| 3/8 | |
| 4/8 | T-b |
| 5/8 | |
| 6/8 | |
| 7/8 | |
| 8/8 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/8] mac80211 sta info and related changes
This patch series contains a few loosely related changes in mac80211 I did over the past few days:
* clarify use of TX status/RX callbacks
as per my previous mail, the irqsafe/non-irq-safe stuff
* safely free beacon in ieee80211_if_reinit
This is necessary for reentrancy reasons with ieee80211_beacon_get()
* split ieee80211_key_alloc
Preparation for RCU-ifying STA info, split key allocation into allocation and insertion
* RCU-ify STA info structure access
Remove STA refcount and instead protect them by RCU
* split ieee80211_txrx_data
Mostly unrelated, split up txrx_data and flags into one struct for TX and one for RX
* split sta_info_add
Split sta_info_add into _alloc and _link to resolve a few races and allow GFP_KERNEL allocations in many cases (which was removed by the RCU-ification patch)
* remove STA info's last_ack stuff
Remove some unused stats members
* clean up sta_info and document locking
Document and clean up the definition of struct sta_info and document the locking (deficiencies)
I'd like to have somebody else look over these but I'm confident that the changes do not, at least, introduce regressions.
johannes