亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? plugins-wimax-msg_dlmap.c

?? Intel的WIMAX代碼,主要是mac層code
?? C
?? 第 1 頁 / 共 5 頁
字號:
	    XBIT(data, 2, "Num_Beamformed_Streams");
        }
    }

    /* CQICH Control Info */
    if (cqi == 1) {
        CQICH_num = 0;
	XBIT(data, 3, "Period");
	XBIT(data, 3, "Frame Offset");
	XBIT(data, 4, "Duration");
        for (j = 0; j < N_layer; j++) {
	    XBIT(data, 6, "Allocation Index");
        }
	XBIT(CQICH_num, 2, "CQICH_Num");
        for (j = 0; j < CQICH_num; j++) {
	    XBIT(data, 3, "Feedback type");
	    XBIT(data, 6, "Allocation index");
        }
    }

    /* Closed MIMO Control Info */
    if (cmi == 1) {
        if (mci == 1) {
            mimo_mode = matrix;
        } else {
            mimo_mode = STC_Zone_Matrix;
        }
        if (mimo_mode == 0 || mimo_mode == 1) {
	    XBIT(data, 3, "Antenna Grouping Index");
        } else if (mimo_mode == 2) {
	    XBIT(data, 2, "Num_stream");
	    XBIT(data, 3, "Antenna Selection Index");
        } else if (mimo_mode == 3) {
	    XBIT(data, 2, "Num_stream");
	    XBIT(data, 6, "Codebook Precoding Index");
        }
    }

    /* padding to nibble */
    pad = BIT_PADDING(bit,4);
    if(pad){
	proto_tree_add_text(tree, tvb, BITHI(bit,pad), "Padding: %d bits", pad);
	bit += pad;
    }

    return (bit - offset);
}

gint DL_HARQ_Chase_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* 8.4.5.3.21 DL_HARQ_Chase_sub_burst_IE */
    /* offset of IE in nibbles, length is variable */
    gint bit;
    gint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    gint nsub, ddci, dur, sbi, res, diuc, rci, ind, per, ofs;
    gint j;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286m */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 4), "DL_HARQ_Chase_sub_burst_IE");
    tree = proto_item_add_subtree(ti, ett_286m);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 4, "N ACK channel");

    for (j = 0; j < nsub; j++) {
        bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
	XBIT(dur, 10, "Duration");
	XBIT(sbi,  1, "Sub-Burst DIUC Indicator");
	XBIT(res,  1, "Reserved");

        if (sbi == 1) {
	    XBIT(diuc, 4, "DIUC");
	    XBIT(rci, 2, "Repetition Coding Indication");
	    XBIT(res, 2, "Reserved");
        }

	XBIT(data, 4, "ACID");
	XBIT(data, 1, "AI_SN");
	XBIT(data, 1, "ACK disable");
	XBIT(ddci, 2, "Dedicated DL Control Indicator");

        if ((ddci & 1) == 1) {
	    XBIT(dur, 4, "Duration (d)");
            if (dur != 0) {
		XBIT(ind, 6, "Allocation Index");
		XBIT(per, 3, "Period (p)");
		XBIT(ofs, 3, "Frame offset");
            }
        }

        if ((ddci & 2) == 2) {
            bit += Dedicated_DL_Control_IE(tree, bufptr, BIT_TO_NIB(bit), length, tvb) * 4;
        }
    }

    proto_tree_add_text(tree, tvb, BITHI(bit,4), "(DL HARQ Chase sub-burst IE)");
    return (BIT_TO_NIB(bit) - offset);
}

gint DL_HARQ_IR_CTC_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* offset of IE in nibbles, length is variable */
    gint bit;
    guint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    proto_item *generic_item = NULL;
    gint nsub, ddci, dur, ind, per, ofs;
    gint j;
    guint32	   calculated_crc;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286n */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 4), "DL HARQ IR CTC sub-burst IE");
    tree = proto_item_add_subtree(ti, ett_286n);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 4, "N ACK channel");

    nsub += 1;
    for (j = 0; j < nsub; j++) {
        bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);

	XBIT(data, 4, "N(EP)");
	XBIT(data, 4, "N(SCH)");
	XBIT(data, 2, "SPID");
	XBIT(data, 4, "ACID");
	XBIT(data, 1, "AI_SN");
	XBIT(data, 1, "ACK disable");
	XBIT(data, 2, "Reserved");
	XBIT(ddci, 2, "Dedicated DL Control Indicator");

        if ((ddci & 1) == 1) {
	    XBIT(dur, 4, "Duration (d)");

            if (dur != 0) {
		XBIT(ind, 6, "Allocation Index");
		XBIT(per, 3, "Period (p)");
		XBIT(ofs, 3, "Frame offset");
            }
        }
        if ((ddci & 2) == 2) {
            bit += Dedicated_DL_Control_IE(tree, bufptr, BIT_TO_NIB(bit), length, tvb);
        }
    }

    if (include_cor2_changes)
    {
	/* CRC-16 is always appended */
	data = BIT_BITS(bit, bufptr, 16);
	generic_item = proto_tree_add_text(tree, tvb, BITHI(bit,16), "CRC-16: 0x%04x",data);
	/* calculate the CRC */
	calculated_crc = wimax_mac_calc_crc16((guint8 *)tvb_get_ptr(tvb, 0, BIT_TO_BYTE(bit)), BIT_TO_BYTE(bit));
	if (data != calculated_crc)
	{
		proto_item_append_text(generic_item, " - incorrect! (should be: 0x%x)", calculated_crc);
	}
	bit += 16;
    }

    return (BIT_TO_NIB(bit) - offset);
}

gint DL_HARQ_IR_CC_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* offset of IE in nibbles, length is variable */
    gint bit;
    gint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    proto_item *generic_item = NULL;
    gint nsub, sbdi, ddci, dur, ind, per, ofs;
    gint j;
    guint16 calculated_crc;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286o */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 4), "DL HARQ IR CC sub-burst IE");
    tree = proto_item_add_subtree(ti, ett_286o);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 4, "N ACK channel");

    nsub += 1;
    for (j = 0; j < nsub; j++) {
        bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type) / 4;

	XBIT(data, 10, "Duration");
	XBIT(sbdi,  1, "Sub-Burst DIUC Indicator");
	XBIT(data,  1, "Reserved");

        if (sbdi) {
	    XBIT(data, 4, "DIUC");
	    XBIT(data, 2, "Repetition Coding Indication");
	    XBIT(data, 2, "Reserved");
        }

	XBIT(data, 4, "ACID");
	XBIT(data, 1, "AI_SN");
	XBIT(data, 2, "SPID");
	XBIT(data, 1, "ACK disable");
	XBIT(ddci, 2, "Dedicated DL Control Indicator");
	XBIT(data, 2, "Reserved");

        if (ddci & 1) {
	    XBIT(dur, 4, "Duration (d)");

            if (dur != 0) {
		XBIT(ind, 6, "Allocation Index");
		XBIT(per, 3, "Period (p)");
		XBIT(ofs, 3, "Frame offset");
            }
        }
        if ((ddci & 2) == 2) {
            bit += Dedicated_DL_Control_IE(tree, bufptr, BIT_TO_NIB(bit), length, tvb);
        }
    }

    if (include_cor2_changes)
    {
	/* CRC-16 is always appended */
	data = BIT_BITS(bit, bufptr, 16);
	generic_item = proto_tree_add_text(tree, tvb, BITHI(bit,16), "CRC-16: 0x%04x",data);
	/* calculate the CRC */
	calculated_crc = wimax_mac_calc_crc16((guint8 *)tvb_get_ptr(tvb, 0, BIT_TO_BYTE(bit)), BIT_TO_BYTE(bit));
	if (data != calculated_crc)
	{
		proto_item_append_text(generic_item, " - incorrect! (should be: 0x%x)", calculated_crc);
	}
	bit += 16;
    }

    return (BIT_TO_NIB(bit) - offset);
}

gint MIMO_DL_Chase_HARQ_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* offset of IE in nibbles, length is variable */
    gint bit;
    gint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    proto_item *generic_item = NULL;
    gint nsub, mui, dci, akd;
    gint i, j;
    guint16 calculated_crc;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286p */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 1), "MIMO DL Chase HARQ sub-burst IE");
    tree = proto_item_add_subtree(ti, ett_286p);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 6, "N ACK channel");

    nsub += 1;
    for (j = 0; j < nsub; j++) {
	XBIT(mui, 1, "MU Indicator");
	XBIT(dci, 1, "Dedicated MIMO DL Control Indicator");
	XBIT(akd, 1, "ACK Disable");
        if (mui == 0) {
            bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
        }
        if (dci == 1) {
            bit += Dedicated_MIMO_DL_Control_IE(tree, bufptr, bit, length, tvb);
        }
	XBIT(data, 10, "Duration");
        for (i = 0; i < N_layer; i++) {
            if (mui == 1) {
                bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
            }
	    XBIT(data, 4, "DIUC");
	    XBIT(data, 2, "Repetition Coding Indication");
            if (akd == 0) {
		XBIT(data, 4, "ACID");
		XBIT(data, 1, "AI_SN");
            }
        }
    }
    /* Padding to nibble */
    data = BIT_PADDING(bit, 4);
    if (data) {
        proto_tree_add_text(tree, tvb, BITHI(bit,data), "Padding: %d bits", data);
        bit += data;
    }

    if (include_cor2_changes)
    {
	/* CRC-16 is always appended */
	data = BIT_BITS(bit, bufptr, 16);
	generic_item = proto_tree_add_text(tree, tvb, BITHI(bit,16), "CRC-16: 0x%04x",data);
	/* calculate the CRC */
	calculated_crc = wimax_mac_calc_crc16((guint8 *)tvb_get_ptr(tvb, 0, BIT_TO_BYTE(bit)), BIT_TO_BYTE(bit));
	if (data != calculated_crc)
	{
		proto_item_append_text(generic_item, " - incorrect! (should be: 0x%x)", calculated_crc);
	}
	bit += 16;
    }

    return (BIT_TO_NIB(bit) - offset);
}

gint MIMO_DL_IR_HARQ_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* offset of IE in nibbles, length is variable */
    gint bit;
    gint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    proto_item *generic_item = NULL;
    gint nsub, mui, dci, akd;
    gint i, j;
    guint16 calculated_crc;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286q */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 4), "MIMO DL IR HARQ sub-burst IE");
    tree = proto_item_add_subtree(ti, ett_286q);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 6, "N ACK channel");

    nsub += 1;
    for (j = 0; j < nsub; j++) {
	XBIT(mui, 1, "MU Indicator");
	XBIT(dci, 1, "Dedicated MIMO DL Control Indicator");
	XBIT(akd, 1, "ACK Disable");
        if (mui == 0) {
            bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
        }
        if (dci == 1) {
            bit += Dedicated_MIMO_DL_Control_IE(tree, bufptr, bit, length, tvb);
        }
	XBIT(data, 4, "N(SCH)");
        for (i = 0; i < N_layer; i++) {
            if (mui == 1) {
                bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
            }
	    XBIT(data, 4, "N(EP)");
            if (akd) {
		XBIT(data, 2, "SPID");
		XBIT(data, 4, "ACID");
		XBIT(data, 1, "AI_SN");
            }
        }
    }

    if (include_cor2_changes)
    {
	/* CRC-16 is always appended */
	data = BIT_BITS(bit, bufptr, 16);
	generic_item = proto_tree_add_text(tree, tvb, BITHI(bit,16), "CRC-16: 0x%04x",data);
	/* calculate the CRC */
	calculated_crc = wimax_mac_calc_crc16((guint8 *)tvb_get_ptr(tvb, 0, BIT_TO_BYTE(bit)), BIT_TO_BYTE(bit));
	if (data != calculated_crc)
	{
		proto_item_append_text(generic_item, " - incorrect! (should be: 0x%x)", calculated_crc);
	}
	bit += 16;
    }

    return (BIT_TO_NIB(bit) - offset);
}

gint MIMO_DL_IR_HARQ_for_CC_sub_burst_IE(proto_tree *diuc_tree, const guint8 *bufptr, gint offset, gint length, tvbuff_t *tvb)
{
    /* offset of IE in nibbles, length is variable */
    gint bit;
    gint data;
    proto_item *ti = NULL;
    proto_tree *tree = NULL;
    proto_item *generic_item = NULL;
    gint nsub, mui, dci, akd;
    gint i, j;
    guint16 calculated_crc;

    bit = NIB_TO_BIT(offset);

    /* 8.4.5.3.21 table 286r */
    ti = proto_tree_add_text(diuc_tree, tvb, BITHI(bit, 1), "MIMO DL IR HARQ for CC sub-burst IE");
    tree = proto_item_add_subtree(ti, ett_286r);

    XBIT(nsub, 4, "N sub burst[ISI]");
    XBIT(data, 6, "N ACK channel");

    nsub += 1;
    for (j = 0; j < nsub; j++) {
	XBIT(mui, 1, "MU Indicator");
	XBIT(dci, 1, "Dedicated MIMO DL Control Indicator");
	XBIT(akd, 1, "ACK Disable");
        if (mui == 0) {
            bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
        }
        if (dci == 1) {
            bit += Dedicated_MIMO_DL_Control_IE(tree, bufptr, bit, length, tvb);
        }
	XBIT(data, 10, "Duration");
        for (i = 0; i < N_layer; i++) {
            if (mui == 1) {
                bit += RCID_IE(tree, bufptr, bit, length, tvb, RCID_Type);
            }
	    XBIT(data, 4, "DIUC");
	    XBIT(data, 2, "Repetition Coding Indication");
            if (akd == 0) {
		XBIT(data, 4, "ACID");
		XBIT(data, 1, "AI_SN");
		XBIT(data, 2, "SPID");
            }
        }
    }

    if (include_cor2_changes)
    {
	/* CRC-16 is always appended */
	data = BIT_BITS(bit, bufptr, 16);
	generic_item = proto_tree_add_text(tree, tvb, BITHI(bit,16), "CRC-16: 0x%04x",data);
	/* calculate the CRC */
	calculated_crc = wimax_mac_calc_crc16((guint8 *)tvb_get_ptr(tvb, 0, BIT_TO_BYTE(bit)), BIT_TO_BYTE(bit));
	if (data != calculated_crc)
	{
		proto_item_append_text(generic_item, " - incorrect! (should be: 0x%x)", calculated_crc);
	}
	bit += 16;
    }

    return (BIT_TO_NIB(bit) - offset);

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美日韩成人综合| 寂寞少妇一区二区三区| 欧美在线一二三四区| 亚洲免费观看高清在线观看| eeuss国产一区二区三区| 国产清纯白嫩初高生在线观看91 | 4438x成人网最大色成网站| 亚洲在线中文字幕| 欧美成人vr18sexvr| 成人午夜在线播放| 洋洋av久久久久久久一区| 欧美精品自拍偷拍| 国产在线精品一区二区不卡了| 国产喂奶挤奶一区二区三区| 成人午夜av影视| 同产精品九九九| 国产日韩欧美综合一区| 在线看国产一区| 美国一区二区三区在线播放| 中日韩免费视频中文字幕| 欧美日韩免费不卡视频一区二区三区 | 日韩欧美一区在线| av电影一区二区| 日本在线不卡视频一二三区| 欧美国产精品v| 日韩色在线观看| 91免费看片在线观看| 国内成人免费视频| 日韩av一区二区三区四区| 专区另类欧美日韩| 久久中文字幕电影| 精品久久久久久最新网址| 欧美日韩免费视频| 欧美性一二三区| 色婷婷精品久久二区二区蜜臂av | 亚洲欧美日韩国产综合| 欧美韩国日本综合| 国产女人aaa级久久久级| 日韩美女视频一区二区| 国产精品情趣视频| 国产精品高潮呻吟| 亚洲视频在线一区观看| 中文字幕中文在线不卡住| 亚洲成人免费在线观看| 亚洲国产日韩av| 五月天激情综合| 日本不卡1234视频| 国产乱码精品一区二区三区av | 亚洲一区二区中文在线| 久久99国内精品| 国产高清在线精品| 国产在线精品一区二区三区不卡| 日韩精品免费视频人成| 日韩极品在线观看| 日日夜夜精品视频天天综合网| 亚洲视频免费看| 一区二区高清视频在线观看| 亚洲色欲色欲www| 亚洲欧美偷拍三级| 亚洲综合成人在线| 日韩不卡一区二区三区| 韩国欧美国产1区| av电影天堂一区二区在线| 欧美精品在线一区二区三区| 久久网站最新地址| ㊣最新国产の精品bt伙计久久| 一区二区三区四区在线播放| 午夜精品福利在线| 丁香另类激情小说| 欧美丰满少妇xxxbbb| ●精品国产综合乱码久久久久| 香蕉乱码成人久久天堂爱免费| 国产一区二区三区免费播放| 在线观看亚洲精品视频| 国产精品无人区| 久久国产精品99久久久久久老狼| 免费观看一级特黄欧美大片| 亚洲va在线va天堂| 538在线一区二区精品国产| 免费高清成人在线| 久久精品一区蜜桃臀影院| 日韩成人精品视频| 欧美日本一道本在线视频| 一卡二卡三卡日韩欧美| 欧美最猛黑人xxxxx猛交| 日本一区二区免费在线观看视频 | 国产精品白丝jk黑袜喷水| 欧美日本在线播放| 青青青爽久久午夜综合久久午夜| 日本黄色一区二区| 亚洲曰韩产成在线| 欧美亚洲国产一区在线观看网站| 一区二区三区电影在线播| av亚洲精华国产精华| 国产欧美一区二区精品忘忧草| 国产经典欧美精品| 国产精品久久二区二区| www.久久精品| 日产欧产美韩系列久久99| 91精品国产全国免费观看| 日韩精品一二三四| 99视频精品全部免费在线| 精品国产凹凸成av人网站| 婷婷一区二区三区| 日韩三级视频在线看| 国产一区二区三区四区在线观看| 久久久久久久久99精品| 成人爱爱电影网址| 亚洲与欧洲av电影| 久久精品一二三| 欧美在线你懂得| 国产精品综合一区二区| 亚洲另类中文字| 久久久久亚洲综合| 欧美成人a在线| 欧美性生活久久| 91视频精品在这里| 97久久精品人人澡人人爽| 国产在线一区二区| 亚洲美女视频在线| 欧美成人三级电影在线| 99精品欧美一区二区蜜桃免费| 亚洲国产精品综合小说图片区| 国产亚洲欧美色| 欧美一区二区三区在| 一本久道久久综合中文字幕| 激情综合色综合久久综合| 亚洲影视在线观看| 亚洲欧美综合网| 国产精品素人一区二区| 日韩无一区二区| 欧美日韩国产一级片| 91国产成人在线| av电影在线观看完整版一区二区| 国产+成+人+亚洲欧洲自线| 蜜臀国产一区二区三区在线播放| 亚洲三级在线免费| 中文字幕日韩精品一区| 久久天堂av综合合色蜜桃网| 日韩午夜电影在线观看| 欧美一区二区黄| 欧美一区二区啪啪| 欧美成人在线直播| 久久尤物电影视频在线观看| 久久综合国产精品| 国产精品福利一区| 中文字幕亚洲欧美在线不卡| 亚洲欧洲日韩在线| 亚洲综合色在线| 日本午夜一本久久久综合| 日韩影院在线观看| 国产麻豆成人精品| 99精品欧美一区二区蜜桃免费 | 亚洲视频一区二区在线观看| 成人欧美一区二区三区| 亚洲综合视频网| 日韩高清在线电影| 高清国产一区二区三区| 精品视频一区三区九区| 精品久久国产老人久久综合| 日韩影院免费视频| 成人动漫一区二区在线| 91精品国产乱码久久蜜臀| 久久久久久久av麻豆果冻| 午夜电影网一区| av高清不卡在线| 久久精品人人做| 无吗不卡中文字幕| 大尺度一区二区| 欧美男同性恋视频网站| 成人免费视频在线观看| 久久er99热精品一区二区| 欧美日韩中文一区| 亚洲老妇xxxxxx| 不卡一区在线观看| 日韩欧美在线网站| 亚洲成人激情自拍| 色婷婷激情久久| 国产欧美精品一区aⅴ影院 | 污片在线观看一区二区| 色偷偷久久一区二区三区| 国产精品美女一区二区三区 | 95精品视频在线| 久久久久高清精品| 麻豆91在线看| 精品少妇一区二区三区在线播放 | 欧美猛男男办公室激情| 亚洲一区二区欧美日韩| 在线免费观看日本一区| 亚洲精品大片www| 97精品电影院| 亚洲男人的天堂在线aⅴ视频| 99久久久精品| 亚洲精品videosex极品| 色狠狠综合天天综合综合| 亚洲亚洲人成综合网络| 欧美美女一区二区| 麻豆精品一区二区三区| 久久综合精品国产一区二区三区 | 亚洲男人都懂的|