diff options
author | Preston Hunt <me@prestonhunt.com> | 2021-05-05 13:02:37 -0700 |
---|---|---|
committer | Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org> | 2021-05-05 20:49:17 +0000 |
commit | c00aa5e9671512dc5ee085297b112c1cd4a826bd (patch) | |
tree | 739599476de414576ec2f4528170950bd060605c /epan/dissectors/packet-ieee80211.c | |
parent | 438ace8f26e1336a2b65f6185ae232c351b0e61a (diff) |
IEEE 802.11: fix spelling for TBTT
TBTT is incorrectly spelled as TBBT in several places.
Diffstat (limited to 'epan/dissectors/packet-ieee80211.c')
-rw-r--r-- | epan/dissectors/packet-ieee80211.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/epan/dissectors/packet-ieee80211.c b/epan/dissectors/packet-ieee80211.c index 01c02b097b..ccbbd4ec9a 100644 --- a/epan/dissectors/packet-ieee80211.c +++ b/epan/dissectors/packet-ieee80211.c @@ -19654,7 +19654,7 @@ static int dissect_reduced_neighbor_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void* data _U_) { int offset = 0, count; - guint8 tbbt_length, tbtt_count; + guint8 tbtt_length, tbtt_count; static int * const ieee80211_rnr_tbtt_information_header[] = { &hf_ieee80211_rnr_tbtt_information_field_type, &hf_ieee80211_rnr_tbtt_information_filtered_neighbor_ap, @@ -19682,7 +19682,7 @@ dissect_reduced_neighbor_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tre ett_rnr_tbtt_information_tree, ieee80211_rnr_tbtt_information_header, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); tbtt_count = tvb_get_guint8(tvb, offset) >> 4; - tbbt_length = tvb_get_guint8(tvb, offset+1); + tbtt_length = tvb_get_guint8(tvb, offset+1); offset += 2; proto_tree_add_item(tree, hf_ieee80211_rnr_operating_class, tvb, offset, 1, ENC_LITTLE_ENDIAN); @@ -19693,25 +19693,25 @@ dissect_reduced_neighbor_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tre count = tbtt_count; while (count >= 0) { - tbtt_subtree = proto_tree_add_subtree_format(tree, tvb, offset, tbbt_length, ett_tag_rnr_tbtt_tree, NULL, "TBTT %d:", tbtt_count - count); + tbtt_subtree = proto_tree_add_subtree_format(tree, tvb, offset, tbtt_length, ett_tag_rnr_tbtt_tree, NULL, "TBTT %d:", tbtt_count - count); proto_tree_add_item(tbtt_subtree, hf_ieee80211_rnr_neighbor_ap_tbtt_offset, tvb, offset, 1, ENC_LITTLE_ENDIAN); offset += 1; /* BSSID */ - if(tbbt_length == 7 || tbbt_length == 8 || tbbt_length >= 11){ + if(tbtt_length == 7 || tbtt_length == 8 || tbtt_length >= 11){ proto_tree_add_item(tbtt_subtree, hf_ieee80211_rnr_bssid, tvb, offset, 6, ENC_NA); offset += 6; } /* Short SSID */ - if(tbbt_length == 5 || tbbt_length == 6 || tbbt_length >= 11){ + if(tbtt_length == 5 || tbtt_length == 6 || tbtt_length >= 11){ proto_tree_add_item(tbtt_subtree, hf_ieee80211_rnr_short_ssid, tvb, offset, 4, ENC_NA); offset += 4; } /* BSS Parameters */ - if(tbbt_length == 2 || tbbt_length == 6 || tbbt_length == 8 || tbbt_length >= 12){ + if(tbtt_length == 2 || tbtt_length == 6 || tbtt_length == 8 || tbtt_length >= 12){ proto_tree_add_bitmask_with_flags(tbtt_subtree, tvb, offset, hf_ieee80211_rnr_bss_parameters, ett_rnr_bss_parameters, ieee80211_rnr_bss_parameters, ENC_LITTLE_ENDIAN, BMT_NO_APPEND); @@ -19719,7 +19719,7 @@ dissect_reduced_neighbor_report(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tre } /* 20 MHz PSD */ - if(tbbt_length == 9 || tbbt_length == 13){ + if(tbtt_length == 9 || tbtt_length == 13){ proto_tree_add_item(tbtt_subtree, hf_ieee80211_rnr_20_mhz_psd, tvb, offset, 1, ENC_NA); offset += 1; } @@ -41641,12 +41641,12 @@ proto_register_ieee80211(void) "Indicate that the Rx NSS subfield carries the maximum number of spatial streams that the STA can receive", HFILL }}, {&hf_ieee80211_rnr_tbtt_information_field_header, - {"TBBT Information Field Header", "wlan.rnr.tbbt_information.field_header", + {"TBTT Information Field Header", "wlan.rnr.tbtt_information.field_header", FT_UINT16, BASE_HEX, NULL, 0x0, NULL, HFILL }}, {&hf_ieee80211_rnr_tbtt_information_field_type, - {"TBBT Information Field type", "wlan.rnr.tbtt_information.field_type", + {"TBTT Information Field type", "wlan.rnr.tbtt_information.field_type", FT_UINT16, BASE_DEC, NULL, 0x0003, NULL, HFILL }}, @@ -41656,17 +41656,17 @@ proto_register_ieee80211(void) NULL, HFILL }}, {&hf_ieee80211_rnr_tbtt_information_reserved, - {"Reserved", "wlan.rnr.tbbt_information.reserved", + {"Reserved", "wlan.rnr.tbtt_information.reserved", FT_UINT16, BASE_HEX, NULL, 0x0008, NULL, HFILL }}, {&hf_ieee80211_rnr_tbtt_information_count, - {"TBBT Information Count", "wlan.rnr.tbtt_information.count", + {"TBTT Information Count", "wlan.rnr.tbtt_information.count", FT_UINT16, BASE_DEC, NULL, 0x00F0, NULL, HFILL }}, {&hf_ieee80211_rnr_tbtt_information_length, - {"TBBT Information Length", "wlan.rnr.tbtt_information.length", + {"TBTT Information Length", "wlan.rnr.tbtt_information.length", FT_UINT16, BASE_DEC, NULL, 0xFF00, NULL, HFILL }}, @@ -41681,7 +41681,7 @@ proto_register_ieee80211(void) NULL, HFILL }}, {&hf_ieee80211_rnr_neighbor_ap_tbtt_offset, - {"Neighbor AP TTBT Offset", "wlan.rnr.neighbor_ap_tbtt_offset", + {"Neighbor AP TBTT Offset", "wlan.rnr.neighbor_ap_tbtt_offset", FT_UINT8, BASE_HEX, NULL, 0x0, NULL, HFILL }}, |