staging: wfx: simplify hif_mib_uc_mc_bc_data_frame_condition
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Wed, 15 Jan 2020 13:54:49 +0000 (13:54 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Jan 2020 19:59:49 +0000 (20:59 +0100)
commitf5864a1076d1a5f3c7d297ab79bfabaa69af3e41
tree7e559ada37ed3ddd2a57794d1eee6870504d2fdc
parent46f044b965e62f07a9c1411328487bf8346dbc79
staging: wfx: simplify hif_mib_uc_mc_bc_data_frame_condition

The current API defines bitfields. It is not very convenient. Prefer to
use bitmasks.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20200115135338.14374-33-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_mib.h
drivers/staging/wfx/hif_tx_mib.h
drivers/staging/wfx/sta.c