• Home
  • Raw
  • Download

Lines Matching refs:tmf

182         MAC_HEADER *rmf, MAC_HEADER *tmf, __u16 ac_fc);
3187 MAC_HEADER *rmf, MAC_HEADER *tmf, __u16 ac_fc) in smctr_make_8025_hdr() argument
3189 tmf->ac = MSB(ac_fc); /* msb is access control */ in smctr_make_8025_hdr()
3190 tmf->fc = LSB(ac_fc); /* lsb is frame control */ in smctr_make_8025_hdr()
3192 tmf->sa[0] = dev->dev_addr[0]; in smctr_make_8025_hdr()
3193 tmf->sa[1] = dev->dev_addr[1]; in smctr_make_8025_hdr()
3194 tmf->sa[2] = dev->dev_addr[2]; in smctr_make_8025_hdr()
3195 tmf->sa[3] = dev->dev_addr[3]; in smctr_make_8025_hdr()
3196 tmf->sa[4] = dev->dev_addr[4]; in smctr_make_8025_hdr()
3197 tmf->sa[5] = dev->dev_addr[5]; in smctr_make_8025_hdr()
3199 switch(tmf->vc) in smctr_make_8025_hdr()
3203 tmf->da[0] = 0xc0; in smctr_make_8025_hdr()
3204 tmf->da[1] = 0x00; in smctr_make_8025_hdr()
3205 tmf->da[2] = 0x00; in smctr_make_8025_hdr()
3206 tmf->da[3] = 0x00; in smctr_make_8025_hdr()
3207 tmf->da[4] = 0x00; in smctr_make_8025_hdr()
3208 tmf->da[5] = 0x02; in smctr_make_8025_hdr()
3213 tmf->da[0] = 0xc0; in smctr_make_8025_hdr()
3214 tmf->da[1] = 0x00; in smctr_make_8025_hdr()
3215 tmf->da[2] = 0x00; in smctr_make_8025_hdr()
3216 tmf->da[3] = 0x00; in smctr_make_8025_hdr()
3217 tmf->da[4] = 0x00; in smctr_make_8025_hdr()
3218 tmf->da[5] = 0x10; in smctr_make_8025_hdr()
3223 tmf->da[0] = rmf->sa[0]; in smctr_make_8025_hdr()
3224 tmf->da[1] = rmf->sa[1]; in smctr_make_8025_hdr()
3225 tmf->da[2] = rmf->sa[2]; in smctr_make_8025_hdr()
3226 tmf->da[3] = rmf->sa[3]; in smctr_make_8025_hdr()
3227 tmf->da[4] = rmf->sa[4]; in smctr_make_8025_hdr()
3228 tmf->da[5] = rmf->sa[5]; in smctr_make_8025_hdr()
4521 MAC_HEADER *tmf; in smctr_send_dat() local
4534 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_dat()
4535 tmf->ac = MSB(AC_FC_DAT); in smctr_send_dat()
4536 tmf->fc = LSB(AC_FC_DAT); in smctr_send_dat()
4540 tmf->sa[i] = dev->dev_addr[i]; in smctr_send_dat()
4541 tmf->da[i] = dev->dev_addr[i]; in smctr_send_dat()
4545 tmf->vc = DAT; in smctr_send_dat()
4546 tmf->dc_sc = DC_RS | SC_RS; in smctr_send_dat()
4547 tmf->vl = 4; in smctr_send_dat()
4548 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_dat()
4626 MAC_HEADER *tmf; in smctr_send_lobe_media_test() local
4641 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_lobe_media_test()
4642 tmf->ac = MSB(AC_FC_LOBE_MEDIA_TEST); in smctr_send_lobe_media_test()
4643 tmf->fc = LSB(AC_FC_LOBE_MEDIA_TEST); in smctr_send_lobe_media_test()
4647 tmf->da[i] = 0; in smctr_send_lobe_media_test()
4648 tmf->sa[i] = dev->dev_addr[i]; in smctr_send_lobe_media_test()
4651 tmf->vc = LOBE_MEDIA_TEST; in smctr_send_lobe_media_test()
4652 tmf->dc_sc = DC_RS | SC_RS; in smctr_send_lobe_media_test()
4653 tmf->vl = 4; in smctr_send_lobe_media_test()
4655 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_lobe_media_test()
4657 tmf->vl += tsv->svl; in smctr_send_lobe_media_test()
4661 tmf->vl += tsv->svl; in smctr_send_lobe_media_test()
4664 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_lobe_media_test()
4697 MAC_HEADER *tmf; in smctr_send_rpt_addr() local
4709 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rpt_addr()
4710 tmf->vc = RPT_ADDR; in smctr_send_rpt_addr()
4711 tmf->dc_sc = (rmf->dc_sc & SC_MASK) << 4; in smctr_send_rpt_addr()
4712 tmf->vl = 4; in smctr_send_rpt_addr()
4714 smctr_make_8025_hdr(dev, rmf, tmf, AC_FC_RPT_ADDR); in smctr_send_rpt_addr()
4716 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rpt_addr()
4719 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4723 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4727 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4731 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4735 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4739 tmf->vl += tsv->svl; in smctr_send_rpt_addr()
4747 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_rpt_addr()
4755 MAC_HEADER *tmf; in smctr_send_rpt_attch() local
4767 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rpt_attch()
4768 tmf->vc = RPT_ATTCH; in smctr_send_rpt_attch()
4769 tmf->dc_sc = (rmf->dc_sc & SC_MASK) << 4; in smctr_send_rpt_attch()
4770 tmf->vl = 4; in smctr_send_rpt_attch()
4772 smctr_make_8025_hdr(dev, rmf, tmf, AC_FC_RPT_ATTCH); in smctr_send_rpt_attch()
4774 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rpt_attch()
4777 tmf->vl += tsv->svl; in smctr_send_rpt_attch()
4781 tmf->vl += tsv->svl; in smctr_send_rpt_attch()
4785 tmf->vl += tsv->svl; in smctr_send_rpt_attch()
4789 tmf->vl += tsv->svl; in smctr_send_rpt_attch()
4793 tmf->vl += tsv->svl; in smctr_send_rpt_attch()
4801 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_rpt_attch()
4809 MAC_HEADER *tmf; in smctr_send_rpt_state() local
4821 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rpt_state()
4822 tmf->vc = RPT_STATE; in smctr_send_rpt_state()
4823 tmf->dc_sc = (rmf->dc_sc & SC_MASK) << 4; in smctr_send_rpt_state()
4824 tmf->vl = 4; in smctr_send_rpt_state()
4826 smctr_make_8025_hdr(dev, rmf, tmf, AC_FC_RPT_STATE); in smctr_send_rpt_state()
4828 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rpt_state()
4831 tmf->vl += tsv->svl; in smctr_send_rpt_state()
4835 tmf->vl += tsv->svl; in smctr_send_rpt_state()
4839 tmf->vl += tsv->svl; in smctr_send_rpt_state()
4843 tmf->vl += tsv->svl; in smctr_send_rpt_state()
4851 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_rpt_state()
4859 MAC_HEADER *tmf; in smctr_send_rpt_tx_forward() local
4869 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rpt_tx_forward()
4870 tmf->vc = RPT_TX_FORWARD; in smctr_send_rpt_tx_forward()
4871 tmf->dc_sc = (rmf->dc_sc & SC_MASK) << 4; in smctr_send_rpt_tx_forward()
4872 tmf->vl = 4; in smctr_send_rpt_tx_forward()
4874 smctr_make_8025_hdr(dev, rmf, tmf, AC_FC_RPT_TX_FORWARD); in smctr_send_rpt_tx_forward()
4876 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rpt_tx_forward()
4879 tmf->vl += tsv->svl; in smctr_send_rpt_tx_forward()
4887 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_rpt_tx_forward()
4895 MAC_HEADER *tmf; in smctr_send_rsp() local
4905 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rsp()
4906 tmf->vc = RSP; in smctr_send_rsp()
4907 tmf->dc_sc = (rmf->dc_sc & SC_MASK) << 4; in smctr_send_rsp()
4908 tmf->vl = 4; in smctr_send_rsp()
4910 smctr_make_8025_hdr(dev, rmf, tmf, AC_FC_RSP); in smctr_send_rsp()
4912 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rsp()
4921 MAC_HEADER *tmf; in smctr_send_rq_init() local
4937 tmf = (MAC_HEADER *)fcb->bdb_ptr->data_block_ptr; in smctr_send_rq_init()
4938 tmf->vc = RQ_INIT; in smctr_send_rq_init()
4939 tmf->dc_sc = DC_RPS | SC_RS; in smctr_send_rq_init()
4940 tmf->vl = 4; in smctr_send_rq_init()
4942 smctr_make_8025_hdr(dev, NULL, tmf, AC_FC_RQ_INIT); in smctr_send_rq_init()
4944 tsv = (MAC_SUB_VECTOR *)((__u32)tmf + sizeof(MAC_HEADER)); in smctr_send_rq_init()
4947 tmf->vl += tsv->svl; in smctr_send_rq_init()
4951 tmf->vl += tsv->svl; in smctr_send_rq_init()
4955 tmf->vl += tsv->svl; in smctr_send_rq_init()
4959 tmf->vl += tsv->svl; in smctr_send_rq_init()
4967 tmf->vl = SWAP_BYTES(tmf->vl); in smctr_send_rq_init()