Lines Matching refs:dhdr
230 static inline u8 wmi_data_hdr_get_up(struct wmi_data_hdr *dhdr)
232 return (dhdr->info >> WMI_DATA_HDR_UP_SHIFT) & WMI_DATA_HDR_UP_MASK;
235 static inline void wmi_data_hdr_set_up(struct wmi_data_hdr *dhdr,
238 dhdr->info &= ~(WMI_DATA_HDR_UP_MASK << WMI_DATA_HDR_UP_SHIFT);
239 dhdr->info |= usr_pri << WMI_DATA_HDR_UP_SHIFT;
242 static inline u8 wmi_data_hdr_get_dot11(struct wmi_data_hdr *dhdr)
246 data_type = (dhdr->info >> WMI_DATA_HDR_DATA_TYPE_SHIFT) &
251 static inline u16 wmi_data_hdr_get_seqno(struct wmi_data_hdr *dhdr)
253 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_SEQNO_SHIFT) &
257 static inline u8 wmi_data_hdr_is_amsdu(struct wmi_data_hdr *dhdr)
259 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_AMSDU_SHIFT) &
263 static inline u8 wmi_data_hdr_get_meta(struct wmi_data_hdr *dhdr)
265 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_META_SHIFT) &
269 static inline u8 wmi_data_hdr_get_if_idx(struct wmi_data_hdr *dhdr)
271 return le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_IF_IDX_MASK;