require '_h2ph_pre.ph';

no warnings 'redefine';

unless(defined(&__PGTREG_H__)) {
    eval 'sub __PGTREG_H__ () {1;}' unless defined(&__PGTREG_H__);
    eval 'sub PGT_TX_LIST_CNT () {32;}' unless defined(&PGT_TX_LIST_CNT);
    eval 'sub PGT_RX_LIST_CNT () {8;}' unless defined(&PGT_RX_LIST_CNT);
    eval 'sub PGT_FRAG_SIZE () {1536;}' unless defined(&PGT_FRAG_SIZE);
    eval 'sub PGT_DIRECT_MEMORY_OFFSET () {0x1000;}' unless defined(&PGT_DIRECT_MEMORY_OFFSET);
    eval 'sub PGT_DIRECT_MEMORY_SIZE () {0x1000;}' unless defined(&PGT_DIRECT_MEMORY_SIZE);
    eval 'sub PGT_FIRMWARE_INTERNAL_OFFSET () {0x20000;}' unless defined(&PGT_FIRMWARE_INTERNAL_OFFSET);
    eval 'sub PGT_WRITEIO_DELAY () {10;}' unless defined(&PGT_WRITEIO_DELAY);
    eval 'sub PGT_RESET_DELAY () {50000;}' unless defined(&PGT_RESET_DELAY);
    eval 'sub PGT_REG_DEV_INT () {0x;}' unless defined(&PGT_REG_DEV_INT);
    eval 'sub PGT_DEV_INT_RESET () {0x1;}' unless defined(&PGT_DEV_INT_RESET);
    eval 'sub PGT_DEV_INT_UPDATE () {0x2;}' unless defined(&PGT_DEV_INT_UPDATE);
    eval 'sub PGT_DEV_INT_WAKEUP () {0x8;}' unless defined(&PGT_DEV_INT_WAKEUP);
    eval 'sub PGT_DEV_INT_SLEEP () {0x10;}' unless defined(&PGT_DEV_INT_SLEEP);
    eval 'sub PGT_REG_INT_STAT () {0x10;}' unless defined(&PGT_REG_INT_STAT);
    eval 'sub PGT_INT_STAT_UPDATE () {0x2;}' unless defined(&PGT_INT_STAT_UPDATE);
    eval 'sub PGT_INT_STAT_INIT () {0x4;}' unless defined(&PGT_INT_STAT_INIT);
    eval 'sub PGT_INT_STAT_WAKEUP () {0x8;}' unless defined(&PGT_INT_STAT_WAKEUP);
    eval 'sub PGT_INT_STAT_SLEEP () {0x10;}' unless defined(&PGT_INT_STAT_SLEEP);
    eval 'sub PGT_INT_STAT_UNKNOWN0 () {0x4000;}' unless defined(&PGT_INT_STAT_UNKNOWN0);
    eval 'sub PGT_INT_STAT_UNKNOWN1 () {0x80000000;}' unless defined(&PGT_INT_STAT_UNKNOWN1);
    eval 'sub PGT_INT_STAT_SOURCES () {0x8000401e;}' unless defined(&PGT_INT_STAT_SOURCES);
    eval 'sub PGT_REG_INT_ACK () {0x14;}' unless defined(&PGT_REG_INT_ACK);
    eval 'sub PGT_REG_INT_EN () {0x18;}' unless defined(&PGT_REG_INT_EN);
    eval 'sub PGT_REG_CTRL_BLK_BASE () {0x20;}' unless defined(&PGT_REG_CTRL_BLK_BASE);
    eval 'sub PGT_REG_GEN_PURP_COM () {0x24;}' unless defined(&PGT_REG_GEN_PURP_COM);
    eval 'sub PGT_REG_DIR_MEM_BASE () {0x30;}' unless defined(&PGT_REG_DIR_MEM_BASE);
    eval 'sub PGT_REG_CTRL_STAT () {0x78;}' unless defined(&PGT_REG_CTRL_STAT);
    eval 'sub PGT_CTRL_STAT_SLEEPMODE () {0x200;}' unless defined(&PGT_CTRL_STAT_SLEEPMODE);
    eval 'sub PGT_CTRL_STAT_CLOCKRUN () {0x800000;}' unless defined(&PGT_CTRL_STAT_CLOCKRUN);
    eval 'sub PGT_CTRL_STAT_RESET () {0x10000000;}' unless defined(&PGT_CTRL_STAT_RESET);
    eval 'sub PGT_CTRL_STAT_RAMBOOT () {0x20000000;}' unless defined(&PGT_CTRL_STAT_RAMBOOT);
    eval 'sub PGT_CTRL_STAT_STARTHALTED () {0x40000000;}' unless defined(&PGT_CTRL_STAT_STARTHALTED);
    eval 'sub PGT_CTRL_STAT_HOST_OVERRIDE () {0x80000000;}' unless defined(&PGT_CTRL_STAT_HOST_OVERRIDE);
    eval("sub PGT_QUEUE_DATA_LOW_RX () { 0; }") unless defined(&PGT_QUEUE_DATA_LOW_RX);
    eval("sub PGT_QUEUE_DATA_LOW_TX () { 1; }") unless defined(&PGT_QUEUE_DATA_LOW_TX);
    eval("sub PGT_QUEUE_DATA_HIGH_RX () { 2; }") unless defined(&PGT_QUEUE_DATA_HIGH_RX);
    eval("sub PGT_QUEUE_DATA_HIGH_TX () { 3; }") unless defined(&PGT_QUEUE_DATA_HIGH_TX);
    eval("sub PGT_QUEUE_MGMT_RX () { 4; }") unless defined(&PGT_QUEUE_MGMT_RX);
    eval("sub PGT_QUEUE_MGMT_TX () { 5; }") unless defined(&PGT_QUEUE_MGMT_TX);
    eval 'sub PGT_QUEUE_COUNT () {6;}' unless defined(&PGT_QUEUE_COUNT);
    eval 'sub PGT_QUEUE_DATA_RX_SIZE () {8;}' unless defined(&PGT_QUEUE_DATA_RX_SIZE);
    eval 'sub PGT_QUEUE_DATA_TX_SIZE () {32;}' unless defined(&PGT_QUEUE_DATA_TX_SIZE);
    eval 'sub PGT_QUEUE_MGMT_SIZE () {4;}' unless defined(&PGT_QUEUE_MGMT_SIZE);
    eval 'sub PGT_QUEUE_FULL_THRESHOLD () {8;}' unless defined(&PGT_QUEUE_FULL_THRESHOLD);
    eval 'sub PF_FLAG_MF () {0x1;}' unless defined(&PF_FLAG_MF);
    eval("sub PMF_OP_GET () { 0; }") unless defined(&PMF_OP_GET);
    eval("sub PMF_OP_SET () { 1; }") unless defined(&PMF_OP_SET);
    eval("sub PMF_OP_RESPONSE () { 2; }") unless defined(&PMF_OP_RESPONSE);
    eval("sub PMF_OP_ERROR () { 3; }") unless defined(&PMF_OP_ERROR);
    eval("sub PMF_OP_TRAP () { 4; }") unless defined(&PMF_OP_TRAP);
    eval 'sub PMF_VER () {0x1;}' unless defined(&PMF_VER);
    eval 'sub PMF_DEV () {0x;}' unless defined(&PMF_DEV);
    eval 'sub PMF_FLAG_APP () {0x1;}' unless defined(&PMF_FLAG_APP);
    eval 'sub PMF_FLAG_LE () {0x2;}' unless defined(&PMF_FLAG_LE);
    eval 'sub PMF_FLAG_VALID () {( &PMF_FLAG_APP |  &PMF_FLAG_LE);}' unless defined(&PMF_FLAG_VALID);
    eval 'sub PRA_FLAG_BAD () {0x1;}' unless defined(&PRA_FLAG_BAD);
    eval("sub PGT_OID_MAC_ADDRESS () { 0x00000000; }") unless defined(&PGT_OID_MAC_ADDRESS);
    eval("sub PGT_OID_LINK_STATE () { 0x00000001; }") unless defined(&PGT_OID_LINK_STATE);
    eval("sub PGT_OID_BSS_TYPE () { 0x10000000; }") unless defined(&PGT_OID_BSS_TYPE);
    eval("sub PGT_BSS_TYPE_NONE () { 0; }") unless defined(&PGT_BSS_TYPE_NONE);
    eval("sub PGT_BSS_TYPE_STA () { 1; }") unless defined(&PGT_BSS_TYPE_STA);
    eval("sub PGT_BSS_TYPE_IBSS () { 2; }") unless defined(&PGT_BSS_TYPE_IBSS);
    eval("sub PGT_BSS_TYPE_ANY () { 3; }") unless defined(&PGT_BSS_TYPE_ANY);
    eval("sub PGT_OID_BSSID () { 0x10000001; }") unless defined(&PGT_OID_BSSID);
    eval("sub PGT_OID_SSID () { 0x10000002; }") unless defined(&PGT_OID_SSID);
    eval("sub PGT_OID_COUNTRY () { 0x10000005; }") unless defined(&PGT_OID_COUNTRY);
    eval("sub PGT_COUNTRY_USA () { 0; }") unless defined(&PGT_COUNTRY_USA);
    eval("sub PGT_OID_SSID_OVERRIDE () { 0x10000006; }") unless defined(&PGT_OID_SSID_OVERRIDE);
    eval("sub PGT_OID_AUTH_MODE () { 0x12000000; }") unless defined(&PGT_OID_AUTH_MODE);
    eval("sub PGT_AUTH_MODE_NONE () { 0; }") unless defined(&PGT_AUTH_MODE_NONE);
    eval("sub PGT_AUTH_MODE_OPEN () { 1; }") unless defined(&PGT_AUTH_MODE_OPEN);
    eval("sub PGT_AUTH_MODE_SHARED () { 2; }") unless defined(&PGT_AUTH_MODE_SHARED);
    eval("sub PGT_AUTH_MODE_BOTH () { 3; }") unless defined(&PGT_AUTH_MODE_BOTH);
    eval("sub PGT_OID_PRIVACY_INVOKED () { 0x12000001; }") unless defined(&PGT_OID_PRIVACY_INVOKED);
    eval("sub PGT_OID_EXCLUDE_UNENCRYPTED () { 0x12000002; }") unless defined(&PGT_OID_EXCLUDE_UNENCRYPTED);
    eval("sub PGT_OID_DEFAULT_KEYNUM () { 0x12000003; }") unless defined(&PGT_OID_DEFAULT_KEYNUM);
    eval("sub PGT_OID_DEFAULT_KEY0 () { 0x12000004; }") unless defined(&PGT_OID_DEFAULT_KEY0);
    eval("sub PGT_OID_DEFAULT_KEY1 () { 0x12000005; }") unless defined(&PGT_OID_DEFAULT_KEY1);
    eval("sub PGT_OID_DEFAULT_KEY2 () { 0x12000006; }") unless defined(&PGT_OID_DEFAULT_KEY2);
    eval("sub PGT_OID_DEFAULT_KEY3 () { 0x12000007; }") unless defined(&PGT_OID_DEFAULT_KEY3);
    eval("sub PGT_OID_STA_KEY () { 0x12000008; }") unless defined(&PGT_OID_STA_KEY);
    eval("sub PGT_OID_PSM () { 0x14000000; }") unless defined(&PGT_OID_PSM);
    eval("sub PGT_OID_EAPAUTHSTA () { 0x150007de; }") unless defined(&PGT_OID_EAPAUTHSTA);
    eval("sub PGT_OID_EAPUNAUTHSTA () { 0x150007df; }") unless defined(&PGT_OID_EAPUNAUTHSTA);
    eval("sub PGT_OID_DOT1X () { 0x150007e0; }") unless defined(&PGT_OID_DOT1X);
    eval("sub PGT_DOT1X_AUTH_NONE () { 0; }") unless defined(&PGT_DOT1X_AUTH_NONE);
    eval("sub PGT_DOT1X_AUTH_ENABLED () { 1; }") unless defined(&PGT_DOT1X_AUTH_ENABLED);
    eval("sub PGT_DOT1X_KEYTX_ENABLED () { 2; }") unless defined(&PGT_DOT1X_KEYTX_ENABLED);
    eval("sub PGT_OID_SLOT_TIME () { 0x17000000; }") unless defined(&PGT_OID_SLOT_TIME);
    eval("sub PGT_OID_CHANNEL () { 0x17000007; }") unless defined(&PGT_OID_CHANNEL);
    eval("sub PGT_OID_PREAMBLE_MODE () { 0x17000009; }") unless defined(&PGT_OID_PREAMBLE_MODE);
    eval("sub PGT_OID_PREAMBLE_MODE_LONG () { 0; }") unless defined(&PGT_OID_PREAMBLE_MODE_LONG);
    eval("sub PGT_OID_PREAMBLE_MODE_SHORT () { 1; }") unless defined(&PGT_OID_PREAMBLE_MODE_SHORT);
    eval("sub PGT_OID_PREAMBLE_MODE_DYNAMIC () { 2; }") unless defined(&PGT_OID_PREAMBLE_MODE_DYNAMIC);
    eval("sub PGT_OID_RATES () { 0x1700000a; }") unless defined(&PGT_OID_RATES);
    eval("sub PGT_OID_RSSI_VECTOR () { 0x1700000d; }") unless defined(&PGT_OID_RSSI_VECTOR);
    eval("sub PGT_OID_OUTPUT_POWER_TABLE () { 0x1700000e; }") unless defined(&PGT_OID_OUTPUT_POWER_TABLE);
    eval("sub PGT_OID_OUTPUT_POWER () { 0x1700000f; }") unless defined(&PGT_OID_OUTPUT_POWER);
    eval("sub PGT_OID_SUPPORTED_RATES () { 0x17000010; }") unless defined(&PGT_OID_SUPPORTED_RATES);
    eval("sub PGT_OID_NOISE_FLOOR () { 0x17000013; }") unless defined(&PGT_OID_NOISE_FLOOR);
    eval("sub PGT_OID_SLOT_MODE () { 0x17000017; }") unless defined(&PGT_OID_SLOT_MODE);
    eval("sub PGT_OID_SLOT_MODE_LONG () { 0; }") unless defined(&PGT_OID_SLOT_MODE_LONG);
    eval("sub PGT_OID_SLOT_MODE_SHORT () { 1; }") unless defined(&PGT_OID_SLOT_MODE_SHORT);
    eval("sub PGT_OID_SLOT_MODE_DYNAMIC () { 2; }") unless defined(&PGT_OID_SLOT_MODE_DYNAMIC);
    eval("sub PGT_OID_EXTENDED_RATES () { 0x17000020; }") unless defined(&PGT_OID_EXTENDED_RATES);
    eval("sub PGT_OID_FREQUENCY () { 0x17000011; }") unless defined(&PGT_OID_FREQUENCY);
    eval("sub PGT_OID_SUPPORTED_FREQUENCIES () { 0x17000012; }") unless defined(&PGT_OID_SUPPORTED_FREQUENCIES);
    eval("sub PGT_OID_PROFILE () { 0x17000019; }") unless defined(&PGT_OID_PROFILE);
    eval("sub PGT_PROFILE_B_ONLY () { 0; }") unless defined(&PGT_PROFILE_B_ONLY);
    eval("sub PGT_PROFILE_MIXED_G_WIFI () { 1; }") unless defined(&PGT_PROFILE_MIXED_G_WIFI);
    eval("sub PGT_PROFILE_MIXED_LONG () { 2; }") unless defined(&PGT_PROFILE_MIXED_LONG);
    eval("sub PGT_PROFILE_G_ONLY () { 3; }") unless defined(&PGT_PROFILE_G_ONLY);
    eval("sub PGT_PROFILE_TEST () { 4; }") unless defined(&PGT_PROFILE_TEST);
    eval("sub PGT_PROFILE_B_WIFI () { 5; }") unless defined(&PGT_PROFILE_B_WIFI);
    eval("sub PGT_PROFILE_A_ONLY () { 6; }") unless defined(&PGT_PROFILE_A_ONLY);
    eval("sub PGT_PROFILE_MIXED_SHORT () { 7; }") unless defined(&PGT_PROFILE_MIXED_SHORT);
    eval("sub PGT_OID_DEAUTHENTICATE () { 0x18000000; }") unless defined(&PGT_OID_DEAUTHENTICATE);
    eval("sub PGT_OID_AUTHENTICATE () { 0x18000001; }") unless defined(&PGT_OID_AUTHENTICATE);
    eval("sub PGT_OID_DISASSOCIATE () { 0x18000002; }") unless defined(&PGT_OID_DISASSOCIATE);
    eval("sub PGT_OID_ASSOCIATE () { 0x18000003; }") unless defined(&PGT_OID_ASSOCIATE);
    eval("sub PGT_OID_SCAN () { 0x18000004; }") unless defined(&PGT_OID_SCAN);
    eval("sub PGT_OID_BEACON () { 0x18000005; }") unless defined(&PGT_OID_BEACON);
    eval("sub PGT_OID_PROBE () { 0x18000006; }") unless defined(&PGT_OID_PROBE);
    eval("sub PGT_OID_DEAUTHENTICATEEX () { 0x18000007; }") unless defined(&PGT_OID_DEAUTHENTICATEEX);
    eval("sub PGT_OID_AUTHENTICATEEX () { 0x18000008; }") unless defined(&PGT_OID_AUTHENTICATEEX);
    eval("sub PGT_OID_DISASSOCIATEEX () { 0x18000009; }") unless defined(&PGT_OID_DISASSOCIATEEX);
    eval("sub PGT_OID_ASSOCIATEEX () { 0x1800000a; }") unless defined(&PGT_OID_ASSOCIATEEX);
    eval("sub PGT_OID_REASSOCIATE () { 0x1800000b; }") unless defined(&PGT_OID_REASSOCIATE);
    eval("sub PGT_OID_REASSOCIATEEX () { 0x1800000c; }") unless defined(&PGT_OID_REASSOCIATEEX);
    eval("sub PGT_OID_MLME_AUTO_LEVEL () { 0x19000001; }") unless defined(&PGT_OID_MLME_AUTO_LEVEL);
    eval("sub PGT_MLME_AUTO_LEVEL_AUTO () { 0; }") unless defined(&PGT_MLME_AUTO_LEVEL_AUTO);
    eval("sub PGT_MLME_AUTO_LEVEL_INTERMEDIATE () { 1; }") unless defined(&PGT_MLME_AUTO_LEVEL_INTERMEDIATE);
    eval("sub PGT_MLME_AUTO_LEVEL_EXTENDED () { 2; }") unless defined(&PGT_MLME_AUTO_LEVEL_EXTENDED);
    eval("sub PGT_OID_PSM_BUFFER () { 0x19000004; }") unless defined(&PGT_OID_PSM_BUFFER);
    eval("sub PGT_PSM_BUFFER_FRAME_COUNT () { 64; }") unless defined(&PGT_PSM_BUFFER_FRAME_COUNT);
    eval("sub PGT_OID_MAX_FRAME_BURST () { 0x1b000008; }") unless defined(&PGT_OID_MAX_FRAME_BURST);
    eval("sub PGT_OID_BSS_FIND () { 0x1c000042; }") unless defined(&PGT_OID_BSS_FIND);
    eval("sub PGT_OID_BSS_LIST () { 0x1c000043; }") unless defined(&PGT_OID_BSS_LIST);
    eval("sub PGT_OID_MODE () { 0xff020003; }") unless defined(&PGT_OID_MODE);
    eval("sub PGT_MODE_PROMISCUOUS () { 0; }") unless defined(&PGT_MODE_PROMISCUOUS);
    eval("sub PGT_MODE_CLIENT () { 1; }") unless defined(&PGT_MODE_CLIENT);
    eval("sub PGT_MODE_AP () { 2; }") unless defined(&PGT_MODE_AP);
    eval("sub PGT_MODE_SNIFFER () { 3; }") unless defined(&PGT_MODE_SNIFFER);
    eval("sub PGT_OID_CONFIG () { 0xff020008; }") unless defined(&PGT_OID_CONFIG);
    eval("sub PGT_CONFIG_MANUAL_RUN () { 0x00000001; }") unless defined(&PGT_CONFIG_MANUAL_RUN);
    eval("sub PGT_CONFIG_FRAME_TRAP () { 0x00000002; }") unless defined(&PGT_CONFIG_FRAME_TRAP);
    eval("sub PGT_CONFIG_RX_ANNEX () { 0x00000004; }") unless defined(&PGT_CONFIG_RX_ANNEX);
    eval("sub PGT_CONFIG_TX_ANNEX () { 0x00000008; }") unless defined(&PGT_CONFIG_TX_ANNEX);
    eval("sub PGT_CONFIG_WDS () { 0x00000010; }") unless defined(&PGT_CONFIG_WDS);
    eval("sub PGT_OID_PHY () { 0xff02000d; }") unless defined(&PGT_OID_PHY);
    eval("sub PGT_OID_PHY_2400MHZ () { 0x00000001; }") unless defined(&PGT_OID_PHY_2400MHZ);
    eval("sub PGT_OID_PHY_5000MHZ () { 0x00000002; }") unless defined(&PGT_OID_PHY_5000MHZ);
    eval("sub PGT_OID_PHY_FAA () { 0x80000000; }") unless defined(&PGT_OID_PHY_FAA);
    eval 'sub PGT_OBJ_KEY_TYPE_WEP () {0;}' unless defined(&PGT_OBJ_KEY_TYPE_WEP);
    eval 'sub PGT_OBJ_KEY_TYPE_TKIP () {1;}' unless defined(&PGT_OBJ_KEY_TYPE_TKIP);
    eval 'sub PGT_MLME_STATE_NONE () {0;}' unless defined(&PGT_MLME_STATE_NONE);
    eval 'sub PGT_MLME_STATE_AUTHING () {1;}' unless defined(&PGT_MLME_STATE_AUTHING);
    eval 'sub PGT_MLME_STATE_AUTH () {2;}' unless defined(&PGT_MLME_STATE_AUTH);
    eval 'sub PGT_MLME_STATE_ASSOCING () {3;}' unless defined(&PGT_MLME_STATE_ASSOCING);
    eval 'sub PGT_MLME_STATE_ASSOC () {5;}' unless defined(&PGT_MLME_STATE_ASSOC);
    eval 'sub PGT_MLME_STATE_IBSS () {6;}' unless defined(&PGT_MLME_STATE_IBSS);
    eval 'sub PGT_MLME_STATE_WDS () {7;}' unless defined(&PGT_MLME_STATE_WDS);
    eval 'sub PGT_OBJ_BSSLIST_NBSS () {24;}' unless defined(&PGT_OBJ_BSSLIST_NBSS);
}
1;
