mac80211: use bitfield helpers for BA session action frames
authorJohannes Berg <johannes.berg@intel.com>
Sun, 6 Dec 2020 12:54:46 +0000 (14:54 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Dec 2020 12:20:05 +0000 (13:20 +0100)
commitdb8ebd06ccb87b7bea8e50f3d4ba5dc0142093b8
tree4789bdacbef0bc945c1acdb0f137bab9cab98ab8
parentda3882331a55ba8c8eda0cfc077ad3b88c257e22
mac80211: use bitfield helpers for BA session action frames

Use the appropriate bitfield helpers for encoding and decoding
the capability field in the BA session action frames instead of
open-coding the shifts/masks.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Link: https://lore.kernel.org/r/iwlwifi.20201206145305.0c46e5097cc0.I06e75706770c40b9ba1cabd1f8a78ab7a05c5b73@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/agg-rx.c
net/mac80211/agg-tx.c