Lines Matching refs:tsid
78 u8 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_add_ts() local
98 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
102 MAC2STR(addr), tsid, admitted_time, ret); in wmm_ac_add_ts()
115 tsid, MAC2STR(addr), admitted_time); in wmm_ac_add_ts()
125 u8 tsid; in wmm_ac_del_ts_idx() local
130 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_del_ts_idx()
131 wpa_printf(MSG_DEBUG, "WMM AC: Del TS ac=%d tsid=%d", ac, tsid); in wmm_ac_del_ts_idx()
135 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
138 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
244 static int wmm_ac_find_tsid(struct wpa_supplicant *wpa_s, u8 tsid, in wmm_ac_find_tsid() argument
253 wmm_ac_get_tsid(wpa_s->tspecs[ac][idx]) == tsid) { in wmm_ac_find_tsid()
296 tspec->ts_info[0] = params->tsid << 1; in wmm_ac_build_addts_req()
332 u8 tsid, u8 ac, u8 dir) in wmm_ac_should_replace_ts() argument
337 cur_ac = wmm_ac_find_tsid(wpa_s, tsid, &idx); in wmm_ac_should_replace_ts()
342 tsid, cur_ac); in wmm_ac_should_replace_ts()
386 if (!PARAM_IN_RANGE(tsid, 0, WMM_AC_MAX_TID) || in wmm_ac_ts_req_is_valid()
412 if (wmm_ac_should_replace_ts(wpa_s, params->tsid, req_ac, in wmm_ac_ts_req_is_valid()
557 int wpas_wmm_ac_delts(struct wpa_supplicant *wpa_s, u8 tsid) in wpas_wmm_ac_delts() argument
569 ac = wmm_ac_find_tsid(wpa_s, tsid, &dir); in wpas_wmm_ac_delts()
618 MAC2STR(wpa_s->bssid), params->tsid, in wpas_wmm_ac_addts()
643 u8 tsid; in wmm_ac_handle_delts() local
646 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_handle_delts()
650 MACSTR, tsid, MAC2STR(sa)); in wmm_ac_handle_delts()
652 ac = wmm_ac_find_tsid(wpa_s, tsid, &idx); in wmm_ac_handle_delts()
663 tsid, MAC2STR(sa)); in wmm_ac_handle_delts()
672 u8 ac, tsid, up, dir; in wmm_ac_handle_addts_resp() local
675 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_handle_addts_resp()
690 tsid != wmm_ac_get_tsid(&req->tspec) || in wmm_ac_handle_addts_resp()
703 status_code, tsid, up, dir); in wmm_ac_handle_addts_resp()
710 replace_tspecs = wmm_ac_should_replace_ts(wpa_s, tsid, ac, dir); in wmm_ac_handle_addts_resp()
723 tsid, MAC2STR(sa), in wmm_ac_handle_addts_resp()
736 tsid); in wmm_ac_handle_addts_resp()
880 u8 dir, tsid; in wpas_wmm_ac_status() local
891 tsid = wmm_ac_get_tsid(tspec); in wpas_wmm_ac_status()
899 tsid, up, in wpas_wmm_ac_status()