Home
last modified time | relevance | path

Searched refs:tspec (Results 1 – 6 of 6) sorted by relevance

/hostap-latest/wpa_supplicant/
Dwmm_ac.c35 static inline u8 wmm_ac_get_tsid(const struct wmm_tspec_element *tspec) in wmm_ac_get_tsid() argument
37 return (tspec->ts_info[0] >> 1) & 0x0f; in wmm_ac_get_tsid()
41 static u8 wmm_ac_get_direction(const struct wmm_tspec_element *tspec) in wmm_ac_get_direction() argument
43 return (tspec->ts_info[0] >> 5) & 0x03; in wmm_ac_get_direction()
47 static u8 wmm_ac_get_user_priority(const struct wmm_tspec_element *tspec) in wmm_ac_get_user_priority() argument
49 return (tspec->ts_info[1] >> 3) & 0x07; in wmm_ac_get_user_priority()
70 const struct wmm_tspec_element *tspec) in wmm_ac_add_ts() argument
74 u16 admitted_time = le_to_host16(tspec->medium_time); in wmm_ac_add_ts()
75 u8 up = wmm_ac_get_user_priority(tspec); in wmm_ac_add_ts()
77 u8 dir = wmm_ac_get_direction(tspec); in wmm_ac_add_ts()
[all …]
Dwmm_ac.h108 struct wmm_tspec_element tspec; member
/hostap-latest/src/ap/
Dwmm.c182 const struct wmm_tspec_element *tspec, in wmm_send_action() argument
204 os_memcpy(t, tspec, sizeof(struct wmm_tspec_element)); in wmm_send_action()
212 int wmm_process_tspec(struct wmm_tspec_element *tspec) in wmm_process_tspec() argument
219 up = (tspec->ts_info[1] >> 3) & 0x07; in wmm_process_tspec()
220 psb = (tspec->ts_info[1] >> 2) & 0x01; in wmm_process_tspec()
221 dir = (tspec->ts_info[0] >> 5) & 0x03; in wmm_process_tspec()
222 tid = (tspec->ts_info[0] >> 1) & 0x0f; in wmm_process_tspec()
225 val = le_to_host16(tspec->nominal_msdu_size); in wmm_process_tspec()
229 le_to_host32(tspec->mean_data_rate)); in wmm_process_tspec()
231 le_to_host32(tspec->minimum_phy_rate)); in wmm_process_tspec()
[all …]
Dwmm.h21 int wmm_process_tspec(struct wmm_tspec_element *tspec);
Dwpa_auth_ft.c2461 struct wmm_tspec_element *tspec; in wpa_ft_process_rdie() local
2463 if (parse.wmm_tspec_len + 2 < (int) sizeof(*tspec)) { in wpa_ft_process_rdie()
2470 if (end - pos < (int) sizeof(*tspec)) { in wpa_ft_process_rdie()
2477 tspec = (struct wmm_tspec_element *) pos; in wpa_ft_process_rdie()
2478 os_memcpy(tspec, parse.wmm_tspec - 2, sizeof(*tspec)); in wpa_ft_process_rdie()
/hostap-latest/tests/hwsim/
Dwpasupplicant.py1018 tspecs = [tuple(map(int, tspec)) for tspec in tspecs]