Merge tag 'staging-5.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh...
[linux-2.6-microblaze.git] / drivers / staging / wfx / hif_api_mib.h
index 1603b30..0c67cd4 100644 (file)
@@ -181,19 +181,13 @@ struct hif_mib_ipv6_addr_data_frame_condition {
        u8    i_pv6_address[HIF_API_IPV6_ADDRESS_SIZE];
 } __packed;
 
-union hif_addr_type {
-       u8 value;
-       struct {
-               u8    type_unicast:1;
-               u8    type_multicast:1;
-               u8    type_broadcast:1;
-               u8    reserved:5;
-       } bits;
-};
+#define HIF_FILTER_UNICAST   0x1
+#define HIF_FILTER_MULTICAST 0x2
+#define HIF_FILTER_BROADCAST 0x4
 
 struct hif_mib_uc_mc_bc_data_frame_condition {
        u8    condition_idx;
-       union hif_addr_type param;
+       u8    allowed_frames;
        u8    reserved[2];
 } __packed;
 
@@ -212,9 +206,11 @@ struct hif_mib_config_data_filter {
 } __packed;
 
 struct hif_mib_set_data_filtering {
-       u8    default_filter;
-       u8    enable;
-       u8    reserved[2];
+       u8    invert_matching:1;
+       u8    reserved1:7;
+       u8    enable:1;
+       u8    reserved2:7;
+       u8    reserved3[2];
 } __packed;
 
 enum hif_arp_ns_frame_treatment {