tx_context 177 drivers/net/can/usb/gs_usb.c struct gs_tx_context tx_context[GS_MAX_TX_URBS]; tx_context 202 drivers/net/can/usb/gs_usb.c if (dev->tx_context[i].echo_id == GS_MAX_TX_URBS) { tx_context 203 drivers/net/can/usb/gs_usb.c dev->tx_context[i].echo_id = i; tx_context 205 drivers/net/can/usb/gs_usb.c return &dev->tx_context[i]; tx_context 229 drivers/net/can/usb/gs_usb.c if (dev->tx_context[id].echo_id == id) { tx_context 231 drivers/net/can/usb/gs_usb.c return &dev->tx_context[id]; tx_context 711 drivers/net/can/usb/gs_usb.c dev->tx_context[rc].dev = dev; tx_context 712 drivers/net/can/usb/gs_usb.c dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; tx_context 851 drivers/net/can/usb/gs_usb.c dev->tx_context[rc].dev = dev; tx_context 852 drivers/net/can/usb/gs_usb.c dev->tx_context[rc].echo_id = GS_MAX_TX_URBS; tx_context 75 drivers/net/can/usb/mcba_usb.c struct mcba_usb_ctx tx_context[MCBA_MAX_TX_URBS]; tx_context 167 drivers/net/can/usb/mcba_usb.c priv->tx_context[i].ndx = MCBA_CTX_FREE; tx_context 168 drivers/net/can/usb/mcba_usb.c priv->tx_context[i].priv = priv; tx_context 171 drivers/net/can/usb/mcba_usb.c atomic_set(&priv->free_ctx_cnt, ARRAY_SIZE(priv->tx_context)); tx_context 181 drivers/net/can/usb/mcba_usb.c if (priv->tx_context[i].ndx == MCBA_CTX_FREE) { tx_context 182 drivers/net/can/usb/mcba_usb.c ctx = &priv->tx_context[i]; tx_context 286 drivers/staging/vt6656/device.h struct vnt_usb_send_context *tx_context[CB_MAX_TX_DESC]; tx_context 69 drivers/staging/vt6656/int.c context = priv->tx_context[pkt_no]; tx_context 390 drivers/staging/vt6656/main_usb.c struct vnt_usb_send_context *tx_context; tx_context 394 drivers/staging/vt6656/main_usb.c tx_context = priv->tx_context[ii]; tx_context 395 drivers/staging/vt6656/main_usb.c if (!tx_context) tx_context 399 drivers/staging/vt6656/main_usb.c if (tx_context->urb) { tx_context 400 drivers/staging/vt6656/main_usb.c usb_kill_urb(tx_context->urb); tx_context 401 drivers/staging/vt6656/main_usb.c usb_free_urb(tx_context->urb); tx_context 404 drivers/staging/vt6656/main_usb.c kfree(tx_context); tx_context 440 drivers/staging/vt6656/main_usb.c struct vnt_usb_send_context *tx_context; tx_context 445 drivers/staging/vt6656/main_usb.c tx_context = kmalloc(sizeof(*tx_context), GFP_KERNEL); tx_context 446 drivers/staging/vt6656/main_usb.c if (!tx_context) { tx_context 451 drivers/staging/vt6656/main_usb.c priv->tx_context[ii] = tx_context; tx_context 452 drivers/staging/vt6656/main_usb.c tx_context->priv = priv; tx_context 453 drivers/staging/vt6656/main_usb.c tx_context->pkt_no = ii; tx_context 456 drivers/staging/vt6656/main_usb.c tx_context->urb = usb_alloc_urb(0, GFP_KERNEL); tx_context 457 drivers/staging/vt6656/main_usb.c if (!tx_context->urb) { tx_context 462 drivers/staging/vt6656/main_usb.c tx_context->in_use = false; tx_context 76 drivers/staging/vt6656/rxtx.c if (!priv->tx_context[ii]) tx_context 79 drivers/staging/vt6656/rxtx.c context = priv->tx_context[ii]; tx_context 252 drivers/staging/vt6656/rxtx.c static u16 vnt_mac_hdr_pos(struct vnt_usb_send_context *tx_context, tx_context 255 drivers/staging/vt6656/rxtx.c u8 *head = tx_context->data + offsetof(struct vnt_tx_buffer, fifo_head); tx_context 258 drivers/staging/vt6656/rxtx.c tx_context->hdr = hdr; tx_context 259 drivers/staging/vt6656/rxtx.c if (!tx_context->hdr) tx_context 265 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_datahead_g(struct vnt_usb_send_context *tx_context, tx_context 268 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 270 drivers/staging/vt6656/rxtx.c (struct ieee80211_hdr *)tx_context->skb->data; tx_context 271 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 272 drivers/staging/vt6656/rxtx.c u16 rate = tx_context->tx_rate; tx_context 273 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 276 drivers/staging/vt6656/rxtx.c vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); tx_context 286 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, need_ack); tx_context 295 drivers/staging/vt6656/rxtx.c tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); tx_context 300 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_datahead_g_fb(struct vnt_usb_send_context *tx_context, tx_context 303 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 304 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 305 drivers/staging/vt6656/rxtx.c u16 rate = tx_context->tx_rate; tx_context 306 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 309 drivers/staging/vt6656/rxtx.c vnt_get_phy_field(priv, frame_len, rate, tx_context->pkt_type, &buf->a); tx_context 315 drivers/staging/vt6656/rxtx.c buf->duration_a = vnt_get_duration_le(priv, tx_context->pkt_type, tx_context 319 drivers/staging/vt6656/rxtx.c buf->duration_a_f0 = vnt_get_duration_le(priv, tx_context->pkt_type, tx_context 321 drivers/staging/vt6656/rxtx.c buf->duration_a_f1 = vnt_get_duration_le(priv, tx_context->pkt_type, tx_context 328 drivers/staging/vt6656/rxtx.c tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); tx_context 333 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_datahead_a_fb(struct vnt_usb_send_context *tx_context, tx_context 336 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 337 drivers/staging/vt6656/rxtx.c u16 rate = tx_context->tx_rate; tx_context 338 drivers/staging/vt6656/rxtx.c u8 pkt_type = tx_context->pkt_type; tx_context 339 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 340 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 352 drivers/staging/vt6656/rxtx.c tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); tx_context 357 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_datahead_ab(struct vnt_usb_send_context *tx_context, tx_context 360 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 362 drivers/staging/vt6656/rxtx.c (struct ieee80211_hdr *)tx_context->skb->data; tx_context 363 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 364 drivers/staging/vt6656/rxtx.c u16 rate = tx_context->tx_rate; tx_context 365 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 369 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->ab); tx_context 375 drivers/staging/vt6656/rxtx.c buf->duration = vnt_get_duration_le(priv, tx_context->pkt_type, tx_context 381 drivers/staging/vt6656/rxtx.c tx_context->tx_hdr_size = vnt_mac_hdr_pos(tx_context, &buf->hdr); tx_context 386 drivers/staging/vt6656/rxtx.c static int vnt_fill_ieee80211_rts(struct vnt_usb_send_context *tx_context, tx_context 390 drivers/staging/vt6656/rxtx.c (struct ieee80211_hdr *)tx_context->skb->data; tx_context 402 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_rts_g_head(struct vnt_usb_send_context *tx_context, tx_context 405 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 407 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 412 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->a); tx_context 414 drivers/staging/vt6656/rxtx.c buf->duration_bb = vnt_get_rtscts_duration_le(tx_context, RTSDUR_BB, tx_context 417 drivers/staging/vt6656/rxtx.c buf->duration_aa = vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA, tx_context 418 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 420 drivers/staging/vt6656/rxtx.c buf->duration_ba = vnt_get_rtscts_duration_le(tx_context, RTSDUR_BA, tx_context 421 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 424 drivers/staging/vt6656/rxtx.c vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration_aa); tx_context 426 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_g(tx_context, &buf->data_head); tx_context 429 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_rts_g_fb_head(struct vnt_usb_send_context *tx_context, tx_context 432 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 433 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 439 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->a); tx_context 441 drivers/staging/vt6656/rxtx.c buf->duration_bb = vnt_get_rtscts_duration_le(tx_context, RTSDUR_BB, tx_context 444 drivers/staging/vt6656/rxtx.c buf->duration_aa = vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA, tx_context 445 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 447 drivers/staging/vt6656/rxtx.c buf->duration_ba = vnt_get_rtscts_duration_le(tx_context, RTSDUR_BA, tx_context 448 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 452 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_BA_F0, tx_context 453 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 456 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA_F0, tx_context 457 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 460 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_BA_F1, tx_context 461 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 464 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA_F1, tx_context 465 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 468 drivers/staging/vt6656/rxtx.c vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration_aa); tx_context 470 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_g_fb(tx_context, &buf->data_head); tx_context 473 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_rts_ab_head(struct vnt_usb_send_context *tx_context, tx_context 476 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 477 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 481 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->ab); tx_context 483 drivers/staging/vt6656/rxtx.c buf->duration = vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA, tx_context 484 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 487 drivers/staging/vt6656/rxtx.c vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration); tx_context 489 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_ab(tx_context, &buf->data_head); tx_context 492 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_rts_a_fb_head(struct vnt_usb_send_context *tx_context, tx_context 495 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 496 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 500 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, &buf->a); tx_context 502 drivers/staging/vt6656/rxtx.c buf->duration = vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA, tx_context 503 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 507 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA_F0, tx_context 508 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 512 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, RTSDUR_AA_F1, tx_context 513 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 516 drivers/staging/vt6656/rxtx.c vnt_fill_ieee80211_rts(tx_context, &buf->data, buf->duration); tx_context 518 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_a_fb(tx_context, &buf->data_head); tx_context 521 drivers/staging/vt6656/rxtx.c static u16 vnt_fill_cts_fb_head(struct vnt_usb_send_context *tx_context, tx_context 524 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 527 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 534 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, CTSDUR_BA, tx_context 535 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 539 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, CTSDUR_BA_F0, tx_context 540 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 544 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, CTSDUR_BA_F1, tx_context 545 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 554 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_g_fb(tx_context, &buf->data_head); tx_context 557 drivers/staging/vt6656/rxtx.c static u16 vnt_fill_cts_head(struct vnt_usb_send_context *tx_context, tx_context 560 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 563 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 570 drivers/staging/vt6656/rxtx.c vnt_get_rtscts_duration_le(tx_context, CTSDUR_BA, tx_context 571 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, tx_context 580 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_g(tx_context, &buf->data_head); tx_context 583 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_rts(struct vnt_usb_send_context *tx_context, tx_context 586 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 589 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 590 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 591 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 594 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 596 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 598 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 600 drivers/staging/vt6656/rxtx.c buf->rrv_time_a = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, tx_context 609 drivers/staging/vt6656/rxtx.c if (tx_context->fb_option) tx_context 610 drivers/staging/vt6656/rxtx.c return vnt_rxtx_rts_g_fb_head(tx_context, &head->rts_g_fb); tx_context 612 drivers/staging/vt6656/rxtx.c return vnt_rxtx_rts_g_head(tx_context, &head->rts_g); tx_context 615 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_cts(struct vnt_usb_send_context *tx_context, tx_context 618 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 621 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 622 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 623 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 625 drivers/staging/vt6656/rxtx.c buf->rrv_time_a = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, tx_context 631 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 637 drivers/staging/vt6656/rxtx.c if (tx_context->fb_option) tx_context 638 drivers/staging/vt6656/rxtx.c return vnt_fill_cts_fb_head(tx_context, head); tx_context 640 drivers/staging/vt6656/rxtx.c return vnt_fill_cts_head(tx_context, head); tx_context 643 drivers/staging/vt6656/rxtx.c static u16 vnt_rxtx_ab(struct vnt_usb_send_context *tx_context, tx_context 646 drivers/staging/vt6656/rxtx.c struct vnt_private *priv = tx_context->priv; tx_context 649 drivers/staging/vt6656/rxtx.c u32 frame_len = tx_context->frame_len; tx_context 650 drivers/staging/vt6656/rxtx.c u16 current_rate = tx_context->tx_rate; tx_context 651 drivers/staging/vt6656/rxtx.c u8 need_ack = tx_context->need_ack; tx_context 653 drivers/staging/vt6656/rxtx.c buf->rrv_time = vnt_rxtx_rsvtime_le16(priv, tx_context->pkt_type, tx_context 660 drivers/staging/vt6656/rxtx.c if (tx_context->pkt_type == PK_TYPE_11B) tx_context 662 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 665 drivers/staging/vt6656/rxtx.c tx_context->pkt_type, frame_len, current_rate); tx_context 667 drivers/staging/vt6656/rxtx.c if (tx_context->fb_option && tx_context 668 drivers/staging/vt6656/rxtx.c tx_context->pkt_type == PK_TYPE_11A) tx_context 669 drivers/staging/vt6656/rxtx.c return vnt_rxtx_rts_a_fb_head(tx_context, tx_context 672 drivers/staging/vt6656/rxtx.c return vnt_rxtx_rts_ab_head(tx_context, &head->rts_ab); tx_context 675 drivers/staging/vt6656/rxtx.c if (tx_context->pkt_type == PK_TYPE_11A) tx_context 676 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_a_fb(tx_context, tx_context 679 drivers/staging/vt6656/rxtx.c return vnt_rxtx_datahead_ab(tx_context, &head->data_head_ab); tx_context 682 drivers/staging/vt6656/rxtx.c static u16 vnt_generate_tx_parameter(struct vnt_usb_send_context *tx_context, tx_context 687 drivers/staging/vt6656/rxtx.c if (tx_context->pkt_type == PK_TYPE_11GB || tx_context 688 drivers/staging/vt6656/rxtx.c tx_context->pkt_type == PK_TYPE_11GA) { tx_context 694 drivers/staging/vt6656/rxtx.c return vnt_rxtx_rts(tx_context, &tx_buffer->tx_head, tx_context 701 drivers/staging/vt6656/rxtx.c return vnt_rxtx_cts(tx_context, &tx_buffer->tx_head, need_mic); tx_context 707 drivers/staging/vt6656/rxtx.c return vnt_rxtx_ab(tx_context, &tx_buffer->tx_head, need_rts, need_mic); tx_context 710 drivers/staging/vt6656/rxtx.c static void vnt_fill_txkey(struct vnt_usb_send_context *tx_context, tx_context 715 drivers/staging/vt6656/rxtx.c struct ieee80211_hdr *hdr = tx_context->hdr; tx_context 792 drivers/staging/vt6656/rxtx.c struct vnt_usb_send_context *tx_context; tx_context 829 drivers/staging/vt6656/rxtx.c tx_context = vnt_get_free_context(priv); tx_context 830 drivers/staging/vt6656/rxtx.c if (!tx_context) { tx_context 836 drivers/staging/vt6656/rxtx.c tx_context->skb = skb; tx_context 837 drivers/staging/vt6656/rxtx.c tx_context->pkt_type = pkt_type; tx_context 838 drivers/staging/vt6656/rxtx.c tx_context->need_ack = false; tx_context 839 drivers/staging/vt6656/rxtx.c tx_context->frame_len = skb->len + 4; tx_context 840 drivers/staging/vt6656/rxtx.c tx_context->tx_rate = current_rate; tx_context 844 drivers/staging/vt6656/rxtx.c tx_buffer = (struct vnt_tx_buffer *)tx_context->data; tx_context 872 drivers/staging/vt6656/rxtx.c tx_context->need_ack = true; tx_context 910 drivers/staging/vt6656/rxtx.c tx_context->frame_len += tx_key->icv_len; tx_context 940 drivers/staging/vt6656/rxtx.c tx_context->fb_option = fb_option; tx_context 942 drivers/staging/vt6656/rxtx.c duration_id = vnt_generate_tx_parameter(tx_context, tx_buffer, &mic_hdr, tx_context 945 drivers/staging/vt6656/rxtx.c tx_header_size = tx_context->tx_hdr_size; tx_context 947 drivers/staging/vt6656/rxtx.c tx_context->in_use = false; tx_context 955 drivers/staging/vt6656/rxtx.c memcpy(tx_context->hdr, skb->data, tx_body_size); tx_context 962 drivers/staging/vt6656/rxtx.c vnt_fill_txkey(tx_context, tx_buffer_head->tx_key, tx_context 970 drivers/staging/vt6656/rxtx.c tx_buffer->pkt_no = tx_context->pkt_no; tx_context 975 drivers/staging/vt6656/rxtx.c tx_context->type = CONTEXT_DATA_PACKET; tx_context 976 drivers/staging/vt6656/rxtx.c tx_context->buf_len = tx_bytes; tx_context 980 drivers/staging/vt6656/rxtx.c if (vnt_tx_context(priv, tx_context) != STATUS_PENDING) {