wifi: mac80211: refactor CMAC implementation
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v4 Latest5 patches 0 repliesNew
- v35 patches 6 repliesSuperseded
- v26 patches 2 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 | 6 patches | 6 replies | Superseded |
Changes in v4 from the cover letter
- Simplify error handling in CMAC functions.
- Use the newly defined constants in all available places.
- Unify output handling in ieee80211_aes_cmac().
- Coding style fixes.
- Remove cumbersome words in commit messages.
---
Patches in v4 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | wifi: mac80211: fix CMAC functions not handling errorsnet/ net/ net/ | +61 | 0 replies | |
| 2/5 | wifi: mac80211: add generic MMIE struct definesinclude/ | +13 | 0 replies | |
| 3/5 | wifi: mac80211: utilize the newly defined CMAC constantsnet/ net/ net/ +1 more | +25 | 0 replies | |
| 4/5 | wifi: mac80211: refactor CMAC crypt functionsnet/ net/ net/ | +19 | 0 replies | |
| 5/5 | wifi: mac80211: refactor CMAC packet handlersnet/ net/ net/ +1 more | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.
Cover letter [PATCH v4 0/5] wifi: mac80211: refactor CMAC implementation
This series refactors the CMAC implementation in mac80211 to:
1. Add proper error handling
2. Remove duplication
Every patch in the patchset has been tested with mac80211_hwsim and the result looks good.
---
Changes in v4:
- Simplify error handling in CMAC functions.
- Use the newly defined constants in all available places.
- Unify output handling in ieee80211_aes_cmac().
- Coding style fixes.
- Remove cumbersome words in commit messages.
---
Changes in v3:
- Drop patch 1/6("wifi: mac80211: remove an unnecessary copy").
- Rework patch 2/6("wifi: mac80211: fix CMAC functions not handling errors") and patch 5/6("wifi: mac80211: refactor CMAC crypt functions") accordingly.
---
Changes in v2:
- Remove words in commit messages stating that only compile is tested.
- Remove Fixes line in patch 1/6.
---
Chien Wong (5):
wifi: mac80211: fix CMAC functions not handling errors
wifi: mac80211: add generic MMIE struct defines
wifi: mac80211: utilize the newly defined CMAC constants
wifi: mac80211: refactor CMAC crypt functions
wifi: mac80211: refactor CMAC packet handlers
include/linux/ieee80211.h | 14 +++- net/mac80211/aes_cmac.c | 60 +++++++--------- net/mac80211/aes_cmac.h | 7 +- net/mac80211/aes_gmac.c | 22 +++--- net/mac80211/aes_gmac.h | 1 - net/mac80211/rx.c | 6 +- net/mac80211/tx.c | 6 +- net/mac80211/wpa.c | 148 ++++++++------------------------------ net/mac80211/wpa.h | 10 ++- 9 files changed, 96 insertions(+), 178 deletions(-)
Signature · 1 line
2.51.2