Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 25 of 29) sorted by relevance

12

/net/mac80211/
Dagg-tx.c62 const u8 *da, u16 tid, in ieee80211_send_addba_request() argument
100 capab |= (u16)(tid << 2); /* bit 5:2 TID number */ in ieee80211_send_addba_request()
109 ieee80211_tx_skb_tid(sdata, skb, tid); in ieee80211_send_addba_request()
112 void ieee80211_send_bar(struct ieee80211_vif *vif, u8 *ra, u16 tid, u16 ssn) in ieee80211_send_bar() argument
132 bar_control |= (u16)(tid << IEEE80211_BAR_CTRL_TID_INFO_SHIFT); in ieee80211_send_bar()
138 ieee80211_tx_skb_tid(sdata, skb, tid); in ieee80211_send_bar()
142 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid, in ieee80211_assign_tid_tx() argument
147 rcu_assign_pointer(sta->ampdu_mlme.tid_tx[tid], tid_tx); in ieee80211_assign_tid_tx()
162 ieee80211_stop_queue_agg(struct ieee80211_sub_if_data *sdata, int tid) in __acquires()
164 int queue = sdata->vif.hw_queue[ieee80211_ac_from_tid(tid)]; in __acquires()
[all …]
Dagg-rx.c58 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in ___ieee80211_stop_rx_ba_session() argument
66 .tid = tid, in ___ieee80211_stop_rx_ba_session()
74 tid_rx = rcu_dereference_protected(sta->ampdu_mlme.tid_rx[tid], in ___ieee80211_stop_rx_ba_session()
77 if (!test_bit(tid, sta->ampdu_mlme.agg_session_valid)) in ___ieee80211_stop_rx_ba_session()
80 RCU_INIT_POINTER(sta->ampdu_mlme.tid_rx[tid], NULL); in ___ieee80211_stop_rx_ba_session()
81 __clear_bit(tid, sta->ampdu_mlme.agg_session_valid); in ___ieee80211_stop_rx_ba_session()
85 sta->sta.addr, tid, in ___ieee80211_stop_rx_ba_session()
92 sta->sta.addr, tid); in ___ieee80211_stop_rx_ba_session()
97 tid, WLAN_BACK_RECIPIENT, reason); in ___ieee80211_stop_rx_ba_session()
117 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid, in __ieee80211_stop_rx_ba_session() argument
[all …]
Dht.c345 int tid; in ieee80211_ba_session_work() local
351 for (tid = 0; tid < IEEE80211_NUM_TIDS; tid++) { in ieee80211_ba_session_work()
352 if (test_and_clear_bit(tid, sta->ampdu_mlme.tid_rx_timer_expired)) in ieee80211_ba_session_work()
354 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
357 if (test_and_clear_bit(tid, in ieee80211_ba_session_work()
360 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
364 test_and_clear_bit(tid, in ieee80211_ba_session_work()
366 ___ieee80211_start_rx_ba_session(sta, 0, 0, 0, 1, tid, in ieee80211_ba_session_work()
370 if (test_and_clear_bit(tid + IEEE80211_NUM_TIDS, in ieee80211_ba_session_work()
373 sta, tid, WLAN_BACK_RECIPIENT, in ieee80211_ba_session_work()
[all …]
Dkey.c1146 int tid, struct ieee80211_key_seq *seq) in ieee80211_get_key_rx_seq() argument
1155 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
1157 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq()
1158 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq()
1162 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
1164 if (tid < 0) in ieee80211_get_key_rx_seq()
1167 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq()
1172 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
1179 if (WARN_ON(tid != 0)) in ieee80211_get_key_rx_seq()
1186 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq()
[all …]
Dtrace.h104 __field(u16, tid) \
111 __entry->tid = params->tid; \
118 #define AMPDU_ACTION_PR_ARG STA_PR_ARG, __entry->tid, __entry->ssn, \
1959 TP_PROTO(struct ieee80211_sta *sta, u16 tid),
1961 TP_ARGS(sta, tid),
1965 __field(u16, tid)
1970 __entry->tid = tid;
1975 STA_PR_ARG, __entry->tid
1980 TP_PROTO(struct ieee80211_sub_if_data *sdata, const u8 *ra, u16 tid),
1982 TP_ARGS(sdata, ra, tid),
[all …]
Dmichael.c30 u8 *da, *sa, tid; in michael_mic_hdr() local
35 tid = ieee80211_get_tid(hdr); in michael_mic_hdr()
37 tid = 0; in michael_mic_hdr()
50 michael_block(mctx, tid); in michael_mic_hdr()
Dsta_info.c1390 static void ieee80211_send_null_response(struct sta_info *sta, int tid, in ieee80211_send_null_response() argument
1429 skb->priority = tid; in ieee80211_send_null_response()
1430 skb_set_queue_mapping(skb, ieee802_1d_to_ac[tid]); in ieee80211_send_null_response()
1432 nullfunc->qos_ctrl = cpu_to_le16(tid); in ieee80211_send_null_response()
1458 drv_allow_buffered_frames(local, sta, BIT(tid), 1, in ieee80211_send_null_response()
1602 int tid, ac; in ieee80211_sta_ps_deliver_response() local
1623 tid = 7 - 2 * ac; in ieee80211_sta_ps_deliver_response()
1625 ieee80211_send_null_response(sta, tid, reason, true, false); in ieee80211_sta_ps_deliver_response()
1730 int tid; in ieee80211_sta_ps_deliver_response() local
1758 for (tid = 0; tid < ARRAY_SIZE(sta->sta.txq); tid++) { in ieee80211_sta_ps_deliver_response()
[all …]
Dwme.c59 static inline u8 ieee80211_fix_reserved_tid(u8 tid) in ieee80211_fix_reserved_tid() argument
61 switch (tid) { in ieee80211_fix_reserved_tid()
245 u8 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK; in ieee80211_set_qos_hdr() local
264 sdata->noack_map & BIT(tid)) { in ieee80211_set_qos_hdr()
269 *p = flags | tid; in ieee80211_set_qos_hdr()
Dstatus.c88 int tid = *p & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_handle_filtered_frame() local
97 ac = ieee80211_ac_from_tid(tid); in ieee80211_handle_filtered_frame()
171 static void ieee80211_check_pending_bar(struct sta_info *sta, u8 *addr, u8 tid) in ieee80211_check_pending_bar() argument
175 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_check_pending_bar()
180 ieee80211_send_bar(&sta->sdata->vif, addr, tid, tid_tx->failed_bar_ssn); in ieee80211_check_pending_bar()
192 u16 tid = qc[0] & 0xf; in ieee80211_frame_acked() local
194 ieee80211_check_pending_bar(sta, hdr->addr1, tid); in ieee80211_frame_acked()
234 static void ieee80211_set_bar_pending(struct sta_info *sta, u8 tid, u16 ssn) in ieee80211_set_bar_pending() argument
238 tid_tx = rcu_dereference(sta->ampdu_mlme.tid_tx[tid]); in ieee80211_set_bar_pending()
897 int tid = IEEE80211_NUM_TIDS; in __ieee80211_tx_status() local
[all …]
Drx.c868 int tid, seqno_idx, security_idx; in ieee80211_parse_qos() local
874 tid = *qc & IEEE80211_QOS_CTL_TID_MASK; in ieee80211_parse_qos()
878 seqno_idx = tid; in ieee80211_parse_qos()
879 security_idx = tid; in ieee80211_parse_qos()
896 tid = 0; in ieee80211_parse_qos()
903 rx->skb->priority = (tid > 7) ? 0 : tid; in ieee80211_parse_qos()
1356 u8 tid, ack_policy; in ieee80211_rx_reorder_ampdu() local
1372 tid = ieee80211_get_tid(hdr); in ieee80211_rx_reorder_ampdu()
1374 tid_agg_rx = rcu_dereference(sta->ampdu_mlme.tid_rx[tid]); in ieee80211_rx_reorder_ampdu()
1377 !test_bit(tid, rx->sta->ampdu_mlme.agg_session_valid) && in ieee80211_rx_reorder_ampdu()
[all …]
Dtx.c798 static __le16 ieee80211_tx_next_seq(struct sta_info *sta, int tid) in ieee80211_tx_next_seq() argument
800 u16 *seq = &sta->tid_seq[tid]; in ieee80211_tx_next_seq()
814 int tid; in ieee80211_tx_h_sequence() local
863 tid = ieee80211_get_tid(hdr); in ieee80211_tx_h_sequence()
864 tx->sta->tx_stats.msdu[tid]++; in ieee80211_tx_h_sequence()
866 hdr->seq_ctrl = ieee80211_tx_next_seq(tx->sta, tid); in ieee80211_tx_h_sequence()
1092 int tid) in ieee80211_tx_prep_agg() argument
1106 } else if (!tx->sta->sta.txq[tid]) { in ieee80211_tx_prep_agg()
1126 tid_tx = rcu_dereference_protected_tid_tx(tx->sta, tid); in ieee80211_tx_prep_agg()
1174 int tid; in ieee80211_tx_prepare() local
[all …]
Dieee80211_i.h1852 const u8 *da, u16 tid,
1862 void ___ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
1864 void __ieee80211_stop_rx_ba_session(struct sta_info *sta, u16 tid,
1868 u16 start_seq_num, u16 ba_policy, u16 tid,
1885 int __ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1887 int ___ieee80211_stop_tx_ba_session(struct sta_info *sta, u16 tid,
1889 void ieee80211_start_tx_ba_cb(struct sta_info *sta, int tid,
1891 void ieee80211_stop_tx_ba_cb(struct sta_info *sta, int tid,
1894 void ieee80211_tx_ba_session_handle_start(struct sta_info *sta, int tid);
1895 void ieee80211_release_reorder_timeout(struct sta_info *sta, int tid);
[all …]
Dsta_info.h198 u8 tid; member
249 u8 tid; member
741 void ieee80211_assign_tid_tx(struct sta_info *sta, int tid,
745 rcu_dereference_protected_tid_tx(struct sta_info *sta, int tid) in rcu_dereference_protected_tid_tx() argument
747 return rcu_dereference_protected(sta->ampdu_mlme.tid_tx[tid], in rcu_dereference_protected_tid_tx()
Ddebugfs_sta.c170 txqi->txq.tid, in sta_aqm_read()
363 unsigned long tid; in sta_agg_status_write() local
408 ret = kstrtoul(buf, 0, &tid); in sta_agg_status_write()
409 if (ret || tid >= IEEE80211_NUM_TIDS) in sta_agg_status_write()
414 ret = ieee80211_start_tx_ba_session(&sta->sta, tid, in sta_agg_status_write()
417 ret = ieee80211_stop_tx_ba_session(&sta->sta, tid); in sta_agg_status_write()
419 __ieee80211_stop_rx_ba_session(sta, tid, WLAN_BACK_RECIPIENT, in sta_agg_status_write()
Drc80211_minstrel_ht.c867 u16 tid; in minstrel_aggr_check() local
878 tid = ieee80211_get_tid(hdr); in minstrel_aggr_check()
879 if (likely(sta->ampdu_mlme.tid_tx[tid])) in minstrel_aggr_check()
882 ieee80211_start_tx_ba_session(pubsta, tid, 0); in minstrel_aggr_check()
/net/ceph/
Dmon_client.c508 DEFINE_RB_FUNCS(generic_request, struct ceph_mon_generic_request, tid, node) in DEFINE_RB_FUNCS() argument
560 WARN_ON(req->tid); in register_generic_request()
563 req->tid = ++monc->last_tid; in register_generic_request()
570 WARN_ON(!req->tid); in send_generic_request()
572 dout("%s greq %p tid %llu\n", __func__, req, req->tid); in send_generic_request()
573 req->request->hdr.tid = cpu_to_le64(req->tid); in send_generic_request()
581 dout("%s greq %p tid %llu\n", __func__, req, req->tid); in __finish_generic_request()
608 dout("%s greq %p tid %llu\n", __func__, req, req->tid); in cancel_generic_request()
612 req->tid); in cancel_generic_request()
625 dout("%s greq %p tid %llu\n", __func__, req, req->tid); in wait_generic_request()
[all …]
Ddebugfs.c165 seq_printf(s, "%llu statfs\n", req->tid); in monc_show()
167 seq_printf(s, "%llu mon_get_version", req->tid); in monc_show()
169 seq_printf(s, "%llu unknown\n", req->tid); in monc_show()
Dosd_client.c2244 le64_to_cpu(msg->hdr.tid), le32_to_cpu(msg->hdr.front_len), in encode_request_finish()
2289 req->r_request->hdr.tid = cpu_to_le64(req->r_tid); in send_request()
2648 u64 tid = greq->private_data; in map_check_cb() local
2653 req = lookup_request_mc(&osdc->map_checks, tid); in map_check_cb()
2655 dout("%s tid %llu dne\n", __func__, tid); in map_check_cb()
3684 u64 tid = le64_to_cpu(msg->hdr.tid); in handle_reply() local
3689 dout("%s msg %p tid %llu\n", __func__, msg, tid); in handle_reply()
3699 req = lookup_request(&osd->o_requests, tid); in handle_reply()
3701 dout("%s osd%d tid %llu unknown\n", __func__, osd->o_osd, tid); in handle_reply()
5400 u64 tid = le64_to_cpu(hdr->tid); in get_reply() local
[all …]
/net/netfilter/
Dxt_l2tp.c38 u32 tid; member
60 (info->tid != data->tid)) in l2tp_match()
117 data.tid = ntohl(lh->val32); in l2tp_udp_mt()
126 data.tid = (u32) ntohs(lh->val16[0]); in l2tp_udp_mt()
159 data.tid = ntohl(lh->val32); in l2tp_ip_mt()
242 (info->tid > 0xffff)) { in l2tp_mt_check()
244 info->tid); in l2tp_mt_check()
/net/l2tp/
Dtrace.h57 __field(u32, tid)
65 __entry->tid = tunnel->tunnel_id;
75 __entry->tid,
95 __field(u32, tid)
103 __entry->tid = session->tunnel ? session->tunnel->tunnel_id : 0;
/net/nfc/
Dllcp_commands.c106 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap) in nfc_llcp_build_sdres_tlv() argument
115 value[0] = tid; in nfc_llcp_build_sdres_tlv()
125 sdres->tid = tid; in nfc_llcp_build_sdres_tlv()
133 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, const char *uri, in nfc_llcp_build_sdreq_tlv() argument
161 sdreq->tlv[2] = tid; in nfc_llcp_build_sdreq_tlv()
163 sdreq->tid = tid; in nfc_llcp_build_sdreq_tlv()
605 pr_debug("tid %d for %s\n", sdreq->tid, sdreq->uri); in nfc_llcp_send_snl_sdreq()
Dllcp.h43 u8 tid; member
230 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdres_tlv(u8 tid, u8 sap);
231 struct nfc_llcp_sdp_tlv *nfc_llcp_build_sdreq_tlv(u8 tid, const char *uri,
Dllcp_core.c1280 u8 dsap, ssap, type, length, tid, sap; in nfc_llcp_recv_snl() local
1311 tid = tlv[2]; in nfc_llcp_recv_snl()
1366 sdp = nfc_llcp_build_sdres_tlv(tid, sap); in nfc_llcp_recv_snl()
1380 if (sdp->tid != tlv[2]) in nfc_llcp_recv_snl()
/net/bridge/
Dbr_vlan_options.c14 __be32 tid = tunnel_id_to_key32(v->tinfo.tunnel_id); in __vlan_tun_put() local
23 if (nla_put_u32(skb, BRIDGE_VLANDB_TINFO_ID, be32_to_cpu(tid))) { in __vlan_tun_put()
Dbr_netlink_tunnel.c93 __be32 tid = tunnel_id_to_key32(tunnel_id); in br_fill_vlan_tinfo() local
100 be32_to_cpu(tid))) in br_fill_vlan_tinfo()

12