Comment # 1
on bug 8358
from david19801118@yahoo.com.tw
Comment on attachment 10054 [details]
svn diff
Sorry, my attach svn_diff is wrong, please refer below svn diff :
@@ -8452,22 +8452,23 @@
cap_item = proto_tree_add_item(tree, hf_ieee80211_ht_cap, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
}
cap_tree = proto_item_add_subtree(cap_item, ett_ht_cap_tree);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_ldpc_coding, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_chan_width, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_sm_pwsave, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_green, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_short20, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_short40, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_tx_stbc, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_ldpc_coding, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_chan_width, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_sm_pwsave, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_green, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_short20, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_short40, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_tx_stbc, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- offset += 1;
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_rx_stbc, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_delayed_block_ack, tvb,
offset, 2, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_max_amsdu, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_dss_cck_40, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_psmp, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_40_mhz_intolerant, tvb,
offset, 2, ENC_LITTLE_ENDIAN);
+ proto_tree_add_item(cap_tree, hf_ieee80211_ht_l_sig, tvb, offset, 2,
ENC_LITTLE_ENDIAN);
+ offset += 2;
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_rx_stbc, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_delayed_block_ack, tvb,
offset, 1, ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_max_amsdu, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_dss_cck_40, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_psmp, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_40_mhz_intolerant, tvb,
offset, 1, ENC_LITTLE_ENDIAN);
- proto_tree_add_item(cap_tree, hf_ieee80211_ht_l_sig, tvb, offset, 1,
ENC_LITTLE_ENDIAN);
- offset += 1;
/* 1 byte A-MPDU Parameters */
if(vs)