Lines Matching refs:tsid
78 u8 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_add_ts() local
95 ret = wpa_drv_add_ts(wpa_s, tsid, addr, up, admitted_time); in wmm_ac_add_ts()
99 MAC2STR(addr), tsid, admitted_time, ret); in wmm_ac_add_ts()
112 tsid, MAC2STR(addr), admitted_time); in wmm_ac_add_ts()
122 u8 tsid; in wmm_ac_del_ts_idx() local
127 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_del_ts_idx()
128 wpa_printf(MSG_DEBUG, "WMM AC: Del TS ac=%d tsid=%d", ac, tsid); in wmm_ac_del_ts_idx()
132 wpa_drv_del_ts(wpa_s, tsid, wpa_s->bssid); in wmm_ac_del_ts_idx()
135 "tsid=%d addr=" MACSTR, tsid, MAC2STR(wpa_s->bssid)); in wmm_ac_del_ts_idx()
241 static int wmm_ac_find_tsid(struct wpa_supplicant *wpa_s, u8 tsid, in wmm_ac_find_tsid() argument
250 wmm_ac_get_tsid(wpa_s->tspecs[ac][idx]) == tsid) { in wmm_ac_find_tsid()
293 tspec->ts_info[0] = params->tsid << 1; in wmm_ac_build_addts_req()
329 u8 tsid, u8 ac, u8 dir) in wmm_ac_should_replace_ts() argument
334 cur_ac = wmm_ac_find_tsid(wpa_s, tsid, &idx); in wmm_ac_should_replace_ts()
339 tsid, cur_ac); in wmm_ac_should_replace_ts()
383 if (!PARAM_IN_RANGE(tsid, 0, WMM_AC_MAX_TID) || in wmm_ac_ts_req_is_valid()
409 if (wmm_ac_should_replace_ts(wpa_s, params->tsid, req_ac, in wmm_ac_ts_req_is_valid()
549 int wpas_wmm_ac_delts(struct wpa_supplicant *wpa_s, u8 tsid) in wpas_wmm_ac_delts() argument
561 ac = wmm_ac_find_tsid(wpa_s, tsid, &dir); in wpas_wmm_ac_delts()
610 MAC2STR(wpa_s->bssid), params->tsid, in wpas_wmm_ac_addts()
635 u8 tsid; in wmm_ac_handle_delts() local
638 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_handle_delts()
642 MACSTR, tsid, MAC2STR(sa)); in wmm_ac_handle_delts()
644 ac = wmm_ac_find_tsid(wpa_s, tsid, &idx); in wmm_ac_handle_delts()
655 tsid, MAC2STR(sa)); in wmm_ac_handle_delts()
664 u8 ac, tsid, up, dir; in wmm_ac_handle_addts_resp() local
667 tsid = wmm_ac_get_tsid(tspec); in wmm_ac_handle_addts_resp()
682 tsid != wmm_ac_get_tsid(&req->tspec) || in wmm_ac_handle_addts_resp()
695 status_code, tsid, up, dir); in wmm_ac_handle_addts_resp()
702 replace_tspecs = wmm_ac_should_replace_ts(wpa_s, tsid, ac, dir); in wmm_ac_handle_addts_resp()
715 tsid, MAC2STR(sa), in wmm_ac_handle_addts_resp()
728 tsid); in wmm_ac_handle_addts_resp()
872 u8 dir, tsid; in wpas_wmm_ac_status() local
883 tsid = wmm_ac_get_tsid(tspec); in wpas_wmm_ac_status()
891 tsid, up, in wpas_wmm_ac_status()