Lines Matching refs:link_id
443 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids()
445 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids()
446 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids()
449 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
453 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; in cw1200_tx_h_calc_link_ids()
456 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
459 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
460 if (!t->txpriv.link_id) in cw1200_tx_h_calc_link_ids()
461 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
462 if (!t->txpriv.link_id) { in cw1200_tx_h_calc_link_ids()
467 t->txpriv.raw_link_id = t->txpriv.link_id; in cw1200_tx_h_calc_link_ids()
473 t->txpriv.link_id = CW1200_LINK_ID_UAPSD; in cw1200_tx_h_calc_link_ids()
690 if (t->txpriv.link_id == CW1200_LINK_ID_AFTER_DTIM && in cw1200_tx_h_pm_state()
743 skb->len, t.queue, t.txpriv.link_id, in cw1200_tx()
812 int link_id = 0; in cw1200_handle_pspoll() local
827 link_id = sta_priv->link_id; in cw1200_handle_pspoll()
828 pspoll_mask = BIT(sta_priv->link_id); in cw1200_handle_pspoll()
831 if (!link_id) in cw1200_handle_pspoll()
854 int link_id, in cw1200_tx_confirm_cb() argument
880 .link_id = link_id, in cw1200_tx_confirm_cb()
882 .multicast = !link_id, in cw1200_tx_confirm_cb()
886 link_id, in cw1200_tx_confirm_cb()
891 if (!link_id) { in cw1200_tx_confirm_cb()
966 struct sk_buff *skb, int link_id, int tid) in cw1200_notify_buffered_tx() argument
973 if (link_id && tid < CW1200_MAX_TID) { in cw1200_notify_buffered_tx()
975 [link_id - 1].buffered; in cw1200_notify_buffered_tx()
1008 int link_id, in cw1200_rx_cb() argument
1028 if (link_id && link_id <= CW1200_MAX_STA_IN_AP_MODE) { in cw1200_rx_cb()
1029 entry = &priv->link_id_db[link_id - 1]; in cw1200_rx_cb()
1045 if (link_id && p2p && in cw1200_rx_cb()
1054 priv->action_linkid = link_id; in cw1200_rx_cb()
1384 .link_id = 0, in cw1200_link_id_gc_work()
1416 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1419 map_link.link_id = i + 1; in cw1200_link_id_gc_work()
1434 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1447 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1454 map_link.link_id = i + 1; in cw1200_link_id_gc_work()
1464 reset.link_id); in cw1200_link_id_gc_work()