NetSim Source Code Help v14.4
All 13 Components
 
Loading...
Searching...
No Matches
stru_802_22_Super_Frame_Control_Header Struct Reference

#include <802_22.h>

Collaboration diagram for stru_802_22_Super_Frame_Control_Header:

Data Fields

PNETSIM_MACADDRESS sz_BS_Id
 48 bits, Base station mac address
 
unsigned short int n_FrameAllocationMap
 
unsigned int n_SuperframeNumber:8
 
unsigned int n_CP:2
 
unsigned int n_FCH_EncodingFlag:2
 
unsigned int n_Self_coexistence_Capability_Indicator:4
 
unsigned int n_MAC_version:8
 
unsigned int n_Current_Intra_frame_Quiet_Period_Cycle_Length:8
 
unsigned int n_Current_Intra_frame_Quiet_Period_Cycle_Offset:8
 
char sz_Current_Intra_frame_Quiet_period_Cycle_Frame_Bitmap [17]
 
unsigned int n_Current_Intra_frame_Quiet_Period_Duration:8
 
unsigned int n_Claimed_Intra_frame_Quiet_Period_Cycle_Length:8
 
unsigned int n_Claimed_Intra_frame_Quiet_Period_Cycle_Offset:8
 
unsigned int n_Claimed_Intra_frame_Quiet_period_Cycle_Frame_Bitmap:16
 
unsigned int n_Claimed_Intra_frame_Quiet_Period_Duration:8
 
unsigned int n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Rate:8
 
unsigned int n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Duration:8
 
unsigned int n_Inter_frame_Quiet_Period_Duration:4
 
unsigned int n_Inter_frame_Quiet_Period_Offset:12
 
unsigned int n_SCW_Cycle_Length:8
 
unsigned int n_SCW_Cycle_Offset:8
 
unsigned int n_SCW_Cycle_Frame_Bitmap:32
 
unsigned int n_Current_DS_US_Split:6
 
unsigned int n_Claimed_US_DS_Split:6
 
unsigned int n_DS_US_Change_Offset:12
 
unsigned int n_Incumbent_detection_reporting_inhibit_timer:32
 
unsigned int n_HCS:8
 8 bits Header Check Sequence
 
unsigned int n_Padding_bits
 

Detailed Description

Super frame control header structure. Ref: IEEE802.22-2011 Table 1, page 31-34

Definition at line 261 of file 802_22.h.

Field Documentation

◆ n_Claimed_Intra_frame_Quiet_period_Cycle_Frame_Bitmap

unsigned int stru_802_22_Super_Frame_Control_Header::n_Claimed_Intra_frame_Quiet_period_Cycle_Frame_Bitmap

16 bits Valid only if Claimed Intra-frame Quiet Period Cycle Length > 0. Valid for each superframes identified by the Claimed Intra-frame Quiet Period Cycle Length, each bit in the bitmap corresponds to one frame within each specified superframe. If the bit is set to 0, no intra-frame quiet period will be scheduled in the corresponding frame. If the bit is set to 1, an intra-frame quiet period will be scheduled within the corresponding frame for the duration specified by Claimed Intra-frame Quiet period Duration.

Definition at line 364 of file 802_22.h.

◆ n_Claimed_Intra_frame_Quiet_Period_Cycle_Length

unsigned int stru_802_22_Super_Frame_Control_Header::n_Claimed_Intra_frame_Quiet_Period_Cycle_Length

8 bits Specified in number of superframes, it indicates the spacing between the superframes for which the intra-frame quiet period specification claimed by a BS would be valid. For example, if this field is set to 1, the Quiet Period Cycle would repeat every superframe; if it is set to 2, the Quiet Period Cycle would repeat every 2 superframes, etc. If this field is set to 0, no intra-frame quiet period is claimed by the BS.

Definition at line 347 of file 802_22.h.

◆ n_Claimed_Intra_frame_Quiet_Period_Cycle_Offset

unsigned int stru_802_22_Super_Frame_Control_Header::n_Claimed_Intra_frame_Quiet_Period_Cycle_Offset

8 bits Valid only if Claimed Intra-frame Quiet Period Cycle Length > 0. Specified in number of superframes, it indicates the offset from this SCH transmission to the time where the Claimed Quiet Period Cycle resulting from the inter-BS negotiation (see 2H7.21.2) shall become the Current Intraframe Quiet Period Cycle.

Definition at line 356 of file 802_22.h.

◆ n_Claimed_Intra_frame_Quiet_Period_Duration

unsigned int stru_802_22_Super_Frame_Control_Header::n_Claimed_Intra_frame_Quiet_Period_Duration

8 bits Valid only if Claimed Intra-frame Quiet Period Cycle Length > 0. If this field is set to a value different from 0 (zero): it indicates the number of symbols starting from the end of the frame during which no transmission will take place.

Definition at line 375 of file 802_22.h.

◆ n_Claimed_US_DS_Split

unsigned int stru_802_22_Super_Frame_Control_Header::n_Claimed_US_DS_Split

6 bits Specified by each BS in the case of BS-to-BS interference (i.e., when SCH and/or CBP burst can be received by a BS directly from another BS) indicating the required DS/US split based in the traffic requirement of the transmitting BS and the negotiation process between the BSs (see 27H7.20.3). This value shall be set to zero if no BS-to-BS interference has been identified.

Definition at line 478 of file 802_22.h.

◆ n_CP

unsigned int stru_802_22_Super_Frame_Control_Header::n_CP
2 bits, Cyclic Prefix Factor
Specifies the size of the cyclic prefix used by the PHY in the frame
transmissions in this superframe. Pre-determined values are
00: 1/4 TFFT
01: 1/8 TFFT
10: 1/16 TFFT
11: 1/32 TFFT

Definition at line 274 of file 802_22.h.

◆ n_Current_DS_US_Split

unsigned int stru_802_22_Super_Frame_Control_Header::n_Current_DS_US_Split

6 bits Effective start time (in OFDM symbols from the start of the frame including all preambles) of the first symbol of the upstream allocation when a BS-to-BS interference situation has been identified by direct reception of this parameter by a BS from a SCH or a CBP burst transmitted by another BS. The Allocation Start Time as provided in the US-MAP (see 25HTable 34) shall be equal to this value if BS-to-BS interference has been identified. This value shall be set to zero if no BSto- BS interference has been identified (i.e., BS has not received this parameter from another BS). In this case, the Allocation Start Time in the US-MAP (see 26HTable 34) can be defined independently on a frame-byframe basis by the respective BSs based on their traffic requirement.

Definition at line 464 of file 802_22.h.

◆ n_Current_Intra_frame_Quiet_Period_Cycle_Length

unsigned int stru_802_22_Super_Frame_Control_Header::n_Current_Intra_frame_Quiet_Period_Cycle_Length

8 bits Specified in number of superframes, it indicates the spacing between the superframes for which the intra-frame quiet period specification is valid. For example, if this field is set to 1, the Quiet Period Cycle repeats every superframe; if it is set to 2, the Quiet Period Cycle repeats every 2 superframes, etc. If this field is set to 0, no intra-frame quiet period is scheduled or the current intra-frame quiet period is cancelled.

Definition at line 312 of file 802_22.h.

◆ n_Current_Intra_frame_Quiet_Period_Cycle_Offset

unsigned int stru_802_22_Super_Frame_Control_Header::n_Current_Intra_frame_Quiet_Period_Cycle_Offset

8 bits Valid only if Current Intra-frame Quiet period Cycle Length > 0. Specified in number of superframes, it indicates the offset from this SCH transmission to the beginning of the first superframe in the Current Intraframe Quiet period Cycle Length.

Definition at line 322 of file 802_22.h.

◆ n_Current_Intra_frame_Quiet_Period_Duration

unsigned int stru_802_22_Super_Frame_Control_Header::n_Current_Intra_frame_Quiet_Period_Duration

8 bits Valid only if Current Intra-frame Quiet Period Cycle Length > 0. If this field is set to a value different from 0 (zero), it indicates the number of symbols starting from the end of the frame during which no transmission shall take place.

Definition at line 340 of file 802_22.h.

◆ n_DS_US_Change_Offset

unsigned int stru_802_22_Super_Frame_Control_Header::n_DS_US_Change_Offset

12 bits It indicates the time span between the transmission of this information and the next scheduled change of the DS/US split where the “Claimed DS/US split” value will become the “Current DS/US split” value. The 8 left most bits (MSB) indicate the superframe number and the 4 right most bits (LSB) indicate the frame number when the next DS/US split change shall take place. The value of this parameter is determined by the negotiation process between concerned BSs (see 28H7.20.3). This value shall be set to zero if no BS-to-BS interference has been identified.

Definition at line 487 of file 802_22.h.

◆ n_FCH_EncodingFlag

unsigned int stru_802_22_Super_Frame_Control_Header::n_FCH_EncodingFlag
Encoding Flag 2 bit
00: FCH packet encoded with PHY mode 5
11: FCH packet encoded with PHY mode 4

Definition at line 286 of file 802_22.h.

◆ n_FrameAllocationMap

unsigned short int stru_802_22_Super_Frame_Control_Header::n_FrameAllocationMap

16 bits, Indicates which frame of current superframe is allocated to BS transmitting SCH

Definition at line 264 of file 802_22.h.

◆ n_HCS

unsigned int stru_802_22_Super_Frame_Control_Header::n_HCS

8 bits Header Check Sequence

Definition at line 509 of file 802_22.h.

◆ n_Incumbent_detection_reporting_inhibit_timer

unsigned int stru_802_22_Super_Frame_Control_Header::n_Incumbent_detection_reporting_inhibit_timer

32 bits In the case where the BS is informed by the database service that it can continue operating on the current channel even though its CPEs are repetitively reporting an incumbent detection situation (i.e., on N or N±1), the BS can use this parameter to inhibit such reporting by the CPEs for a specified period of time. This will avoid the CPEs flooding the upstream subframe with unnecessary incumbent detection reports. Bit 0–4: Signal type (see 29HTable 237) Bit 5–31: Inhibit Period (number of frames)

Definition at line 498 of file 802_22.h.

◆ n_Inter_frame_Quiet_Period_Duration

unsigned int stru_802_22_Super_Frame_Control_Header::n_Inter_frame_Quiet_Period_Duration
4 bits Duration of Quiet Period
It indicates the duration of the next scheduled quiet period in number of
frames.
If this field is set to a value different from 0 (zero), it indicates the
number of frames that shall be used to perform in-band inter-frame
sensing.
If this field is set to 0, no inter-frame quiet period is scheduled or the
current inter-frame quiet period is cancelled.

Definition at line 399 of file 802_22.h.

◆ n_Inter_frame_Quiet_Period_Offset

unsigned int stru_802_22_Super_Frame_Control_Header::n_Inter_frame_Quiet_Period_Offset

It indicates the time span between the transmission of this information and the next scheduled quiet period for in-band inter-frame sensing. The 8 left most bits (MSB) indicate the superframe number and the 4 right most bits (LSB) indicate the frame number when the next scheduled quiet period for inter-frame sensing shall start.

Definition at line 412 of file 802_22.h.

◆ n_MAC_version

unsigned int stru_802_22_Super_Frame_Control_Header::n_MAC_version
8 bits IEEE 802.22 MAC version to which the message originator conforms.
0x01: IEEE Std 802.22
0x02–0xFF: Reserved

Definition at line 304 of file 802_22.h.

◆ n_Padding_bits

unsigned int stru_802_22_Super_Frame_Control_Header::n_Padding_bits

56 bits Padding bits to fill the rest of the 360 bits of the SCH symbol. All bits shall be set to 0.

Definition at line 511 of file 802_22.h.

◆ n_SCW_Cycle_Frame_Bitmap

unsigned int stru_802_22_Super_Frame_Control_Header::n_SCW_Cycle_Frame_Bitmap

32 bits Valid for a unit of superframe, each 2-bit in the bitmap corresponds to one frame within the superframe. If the 2-bit is set to 00, this means that there is no SCW scheduled for this frame. If the 2-bit is set to 11, a reservation-based SCW (reserved by the current WRAN) is scheduled in the corresponding frame. If the 2-bit is set to 10, a reservation-based SCW has been scheduled by a direct-neighbor WRAN cell in the corresponding frame and needs to be avoided by other WRAN cells receiving this SCH. If the 2-bit is set to 01, a contention-based SCW (that could be shared with other WRANs) is scheduled by the current WRAN cell in the corresponding frame. The number of reservation-based SCWs cannot exceed 2 per WRAN cell per SCW Cycle. At least one contention-based SCW shall be scheduled in one SCW Cycle (code 01). The BSs shall start scheduling their contention-based SCWs from the last frame of the superframe, going backward for multiple contention-based SCWs. This bitmap applies only to the superframes scheduled by the SCW Cycle. NOTE—Quiet period scheduling should be done prior to the SCW scheduling so that SCWs avoid frames already reserved for QP. If SCW conflicts with QP, QP overrides the SCW.

Definition at line 441 of file 802_22.h.

◆ n_SCW_Cycle_Length

unsigned int stru_802_22_Super_Frame_Control_Header::n_SCW_Cycle_Length

8 bits Specified in number of superframes. If this field is set to 0, then no SCW cycle is scheduled. This field has to be 1 or larger to be effective. To limit the number of possibilities, the field shall be one of five following choices {1, 2, 4, 8, 16}. For example, if this field is set to 1, SCW Cycle repeats every superframe, if it is set to 2, SCW Cycle repeats every 2 superframes, etc.

Definition at line 420 of file 802_22.h.

◆ n_SCW_Cycle_Offset

unsigned int stru_802_22_Super_Frame_Control_Header::n_SCW_Cycle_Offset

8 bits Specified in number of superframes, it indicates the offset from this SCH transmission to the superframe where the SCW cycle starts, or repeats (i.e., the superframe contains SCWs and is specified by the SCW Cycle Frame Bitmap). For example, if this field is set to 0, the SCW cycle starts from the current superframe. The value of the field shall be less than SCW Cycle length unless initial countdown. For initial countdown, this field can equal or be larger than SCW Cycle Length. Larger initial countdown gives neighboring WRANs longer time to discover and avoid any potential SCW reservation collision.

Definition at line 429 of file 802_22.h.

◆ n_Self_coexistence_Capability_Indicator

unsigned int stru_802_22_Super_Frame_Control_Header::n_Self_coexistence_Capability_Indicator
4 bits
0000: no self-coexistence capability supported
0001: only Spectrum Etiquette
0010: Spectrum Etiquette and Frame Contention
0011–1111: Reserved

Definition at line 294 of file 802_22.h.

◆ n_SuperframeNumber

unsigned int stru_802_22_Super_Frame_Control_Header::n_SuperframeNumber

8 bits, Positive integer that represents the superframe number (modulo 256). This field shall be incremented by 1 upon every new superframe.

Definition at line 269 of file 802_22.h.

◆ n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Duration

unsigned int stru_802_22_Super_Frame_Control_Header::n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Duration

8 bits Valid only if Claimed Intra-frame Quiet Period Duration > 0. This field is used for the purpose of synchronizing the Claimed Intraframe Quiet Period Durations among overlapping BSs in order to allow dynamic reduction of the Intra-frame Quiet Period Duration (see 24H7.21.2).

Definition at line 392 of file 802_22.h.

◆ n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Rate

unsigned int stru_802_22_Super_Frame_Control_Header::n_Synchronization_Counter_for_Intra_frame_Quiet_Period_Rate

8 bits Valid only if Claimed Intra-frame Quiet Period Cycle Length > 0. This field is used for the purpose of synchronizing the Claimed Intraframe Quiet Period rate among overlapping BSs in order to allow dynamic reduction of the Intra-frame Quiet Period rate. This Quiet Period rate is defined as the number of frames with quiet periods identified by the Cycle Frame Bitmap in the superframes designated by the Cycle Length, divided by this Quiet Period Cycle Length (see 23H7.21.2).

Definition at line 382 of file 802_22.h.

◆ sz_BS_Id

PNETSIM_MACADDRESS stru_802_22_Super_Frame_Control_Header::sz_BS_Id

48 bits, Base station mac address

Definition at line 263 of file 802_22.h.

◆ sz_Current_Intra_frame_Quiet_period_Cycle_Frame_Bitmap

char stru_802_22_Super_Frame_Control_Header::sz_Current_Intra_frame_Quiet_period_Cycle_Frame_Bitmap[17]

16 bits Valid only if Current Intra-frame Quiet Period Cycle Length > 0. Valid for each superframe identified by the Current Intra-frame Quiet Period Cycle Length, each bit in the bitmap corresponds to one frame within the superframe. If the bit is set to 0, no intra-frame quiet period shall be scheduled in the corresponding frame. If the bit is set to 1, an intra-frame quiet period shall be scheduled within the corresponding frame for the duration specified by the Current Intra-frame Quiet period Duration.

Definition at line 329 of file 802_22.h.


The documentation for this struct was generated from the following file: