Commit 7effbf7a authored by Bryan O'Donoghue's avatar Bryan O'Donoghue Committed by Kalle Valo

wcn36xx: Fix beacon filter structure definitions

The beacon filter structures need to be packed. Right now its fine because
we don't yet use these structures so just pack them without marking it for
backporting.
Signed-off-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: default avatarLoic Poulain <loic.poulain@linaro.org>
Signed-off-by: default avatarKalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211214134630.2214840-2-bryan.odonoghue@linaro.org
parent 6ac04bdc
...@@ -3469,7 +3469,7 @@ struct beacon_filter_ie { ...@@ -3469,7 +3469,7 @@ struct beacon_filter_ie {
u8 value; u8 value;
u8 bitmask; u8 bitmask;
u8 ref; u8 ref;
}; } __packed;
struct wcn36xx_hal_add_bcn_filter_req_msg { struct wcn36xx_hal_add_bcn_filter_req_msg {
struct wcn36xx_hal_msg_header header; struct wcn36xx_hal_msg_header header;
...@@ -3480,14 +3480,14 @@ struct wcn36xx_hal_add_bcn_filter_req_msg { ...@@ -3480,14 +3480,14 @@ struct wcn36xx_hal_add_bcn_filter_req_msg {
u16 ie_num; u16 ie_num;
u8 bss_index; u8 bss_index;
u8 reserved; u8 reserved;
}; } __packed;
struct wcn36xx_hal_rem_bcn_filter_req { struct wcn36xx_hal_rem_bcn_filter_req {
struct wcn36xx_hal_msg_header header; struct wcn36xx_hal_msg_header header;
u8 ie_Count; u8 ie_Count;
u8 rem_ie_id[1]; u8 rem_ie_id[1];
}; } __packed;
#define WCN36XX_HAL_IPV4_ARP_REPLY_OFFLOAD 0 #define WCN36XX_HAL_IPV4_ARP_REPLY_OFFLOAD 0
#define WCN36XX_HAL_IPV6_NEIGHBOR_DISCOVERY_OFFLOAD 1 #define WCN36XX_HAL_IPV6_NEIGHBOR_DISCOVERY_OFFLOAD 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment