Lines Matching refs:link_id
440 if (t->sta && t->sta_priv->link_id) in cw1200_tx_h_calc_link_ids()
442 t->txpriv.link_id = in cw1200_tx_h_calc_link_ids()
443 t->sta_priv->link_id; in cw1200_tx_h_calc_link_ids()
446 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
450 t->txpriv.link_id = CW1200_LINK_ID_AFTER_DTIM; in cw1200_tx_h_calc_link_ids()
453 t->txpriv.link_id = 0; in cw1200_tx_h_calc_link_ids()
456 t->txpriv.link_id = cw1200_find_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
457 if (!t->txpriv.link_id) in cw1200_tx_h_calc_link_ids()
458 t->txpriv.link_id = cw1200_alloc_link_id(priv, t->da); in cw1200_tx_h_calc_link_ids()
459 if (!t->txpriv.link_id) { in cw1200_tx_h_calc_link_ids()
464 t->txpriv.raw_link_id = t->txpriv.link_id; in cw1200_tx_h_calc_link_ids()
470 t->txpriv.link_id = CW1200_LINK_ID_UAPSD; in cw1200_tx_h_calc_link_ids()
687 if (t->txpriv.link_id == CW1200_LINK_ID_AFTER_DTIM && in cw1200_tx_h_pm_state()
740 skb->len, t.queue, t.txpriv.link_id, in cw1200_tx()
806 int link_id = 0; in cw1200_handle_pspoll() local
821 link_id = sta_priv->link_id; in cw1200_handle_pspoll()
822 pspoll_mask = BIT(sta_priv->link_id); in cw1200_handle_pspoll()
825 if (!link_id) in cw1200_handle_pspoll()
848 int link_id, in cw1200_tx_confirm_cb() argument
874 .link_id = link_id, in cw1200_tx_confirm_cb()
876 .multicast = !link_id, in cw1200_tx_confirm_cb()
880 link_id, in cw1200_tx_confirm_cb()
885 if (!link_id) { in cw1200_tx_confirm_cb()
960 struct sk_buff *skb, int link_id, int tid) in cw1200_notify_buffered_tx() argument
967 if (link_id && tid < CW1200_MAX_TID) { in cw1200_notify_buffered_tx()
969 [link_id - 1].buffered; in cw1200_notify_buffered_tx()
1002 int link_id, in cw1200_rx_cb() argument
1022 if (link_id && link_id <= CW1200_MAX_STA_IN_AP_MODE) { in cw1200_rx_cb()
1023 entry = &priv->link_id_db[link_id - 1]; in cw1200_rx_cb()
1039 if (link_id && p2p && in cw1200_rx_cb()
1048 priv->action_linkid = link_id; in cw1200_rx_cb()
1377 .link_id = 0, in cw1200_link_id_gc_work()
1409 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1412 map_link.link_id = i + 1; in cw1200_link_id_gc_work()
1427 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1440 reset.link_id = i + 1; in cw1200_link_id_gc_work()
1447 map_link.link_id = i + 1; in cw1200_link_id_gc_work()
1457 reset.link_id); in cw1200_link_id_gc_work()