Searched refs:dhdr (Results 1 – 2 of 2) sorted by relevance
230 static inline u8 wmi_data_hdr_get_up(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_up() argument232 return (dhdr->info >> WMI_DATA_HDR_UP_SHIFT) & WMI_DATA_HDR_UP_MASK; in wmi_data_hdr_get_up()235 static inline void wmi_data_hdr_set_up(struct wmi_data_hdr *dhdr, in wmi_data_hdr_set_up() argument238 dhdr->info &= ~(WMI_DATA_HDR_UP_MASK << WMI_DATA_HDR_UP_SHIFT); in wmi_data_hdr_set_up()239 dhdr->info |= usr_pri << WMI_DATA_HDR_UP_SHIFT; in wmi_data_hdr_set_up()242 static inline u8 wmi_data_hdr_get_dot11(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_dot11() argument246 data_type = (dhdr->info >> WMI_DATA_HDR_DATA_TYPE_SHIFT) & in wmi_data_hdr_get_dot11()251 static inline u16 wmi_data_hdr_get_seqno(struct wmi_data_hdr *dhdr) in wmi_data_hdr_get_seqno() argument253 return (le16_to_cpu(dhdr->info2) >> WMI_DATA_HDR_SEQNO_SHIFT) & in wmi_data_hdr_get_seqno()257 static inline u8 wmi_data_hdr_is_amsdu(struct wmi_data_hdr *dhdr) in wmi_data_hdr_is_amsdu() argument[all …]
1311 struct wmi_data_hdr *dhdr; in ath6kl_rx() local1387 dhdr = (struct wmi_data_hdr *) skb->data; in ath6kl_rx()1405 (le16_to_cpu(dhdr->info3) >> WMI_DATA_HDR_PAD_BEFORE_DATA_SHIFT) in ath6kl_rx()1410 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx()1412 ps_state = !!((dhdr->info >> WMI_DATA_HDR_PS_SHIFT) & in ath6kl_rx()1416 trig_state = !!(le16_to_cpu(dhdr->info3) & WMI_DATA_HDR_TRIG); in ath6kl_rx()1525 is_amsdu = wmi_data_hdr_is_amsdu(dhdr) ? true : false; in ath6kl_rx()1526 tid = wmi_data_hdr_get_up(dhdr); in ath6kl_rx()1527 seq_no = wmi_data_hdr_get_seqno(dhdr); in ath6kl_rx()1528 meta_type = wmi_data_hdr_get_meta(dhdr); in ath6kl_rx()[all …]