require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&MALO_REG_HOST_STATUS)) {
    sub MALO_REG_HOST_STATUS () {	0x;}
}
unless(defined(&MALO_REG_CARD_INTR_CAUSE)) {
    sub MALO_REG_CARD_INTR_CAUSE () {	0x2;}
}
unless(defined(&MALO_REG_HOST_INTR_MASK)) {
    sub MALO_REG_HOST_INTR_MASK () {	0x4;}
}
unless(defined(&MALO_REG_DATA_READ)) {
    sub MALO_REG_DATA_READ () {	0x10;}
}
unless(defined(&MALO_REG_CMD_READ)) {
    sub MALO_REG_CMD_READ () {	0x12;}
}
unless(defined(&MALO_REG_DATA_WRITE_LEN)) {
    sub MALO_REG_DATA_WRITE_LEN () {	0x14;}
}
unless(defined(&MALO_REG_DATA_WRITE)) {
    sub MALO_REG_DATA_WRITE () {	0x16;}
}
unless(defined(&MALO_REG_CMD_WRITE_LEN)) {
    sub MALO_REG_CMD_WRITE_LEN () {	0x18;}
}
unless(defined(&MALO_REG_CMD_WRITE)) {
    sub MALO_REG_CMD_WRITE () {	0x1a;}
}
unless(defined(&MALO_REG_CARD_STATUS)) {
    sub MALO_REG_CARD_STATUS () {	0x20;}
}
unless(defined(&MALO_REG_HOST_INTR_CAUSE)) {
    sub MALO_REG_HOST_INTR_CAUSE () {	0x22;}
}
unless(defined(&MALO_REG_DATA_READ_LEN)) {
    sub MALO_REG_DATA_READ_LEN () {	0x24;}
}
unless(defined(&MALO_REG_RBAL)) {
    sub MALO_REG_RBAL () {	0x28;}
}
unless(defined(&MALO_REG_CMD_READ_LEN)) {
    sub MALO_REG_CMD_READ_LEN () {	0x30;}
}
unless(defined(&MALO_REG_SCRATCH)) {
    sub MALO_REG_SCRATCH () {	0x3f;}
}
unless(defined(&MALO_REG_CARD_INTR_MASK)) {
    sub MALO_REG_CARD_INTR_MASK () {	0x44;}
}
unless(defined(&MALO_VAL_SCRATCH_READY)) {
    sub MALO_VAL_SCRATCH_READY () {	0x;}
}
unless(defined(&MALO_VAL_TX_DL_OVER)) {
    sub MALO_VAL_TX_DL_OVER () {	0x1;}
}
unless(defined(&MALO_VAL_RX_DL_OVER)) {
    sub MALO_VAL_RX_DL_OVER () {	0x2;}
}
unless(defined(&MALO_VAL_CMD_DL_OVER)) {
    sub MALO_VAL_CMD_DL_OVER () {	0x4;}
}
unless(defined(&MALO_VAL_SCRATCH_FW_LOADED)) {
    sub MALO_VAL_SCRATCH_FW_LOADED () {	0x5a;}
}
unless(defined(&MALO_VAL_HOST_INTR_MASK_ON)) {
    sub MALO_VAL_HOST_INTR_MASK_ON () {	0x1f;}
}
unless(defined(&MALO_VAL_CARD_STATUS_MASK)) {
    sub MALO_VAL_CARD_STATUS_MASK () {	0x7f00;}
}
unless(defined(&MALO_VAL_HOST_INTR_TX)) {
    sub MALO_VAL_HOST_INTR_TX () {	(1<< 0);}
}
unless(defined(&MALO_VAL_HOST_INTR_RX)) {
    sub MALO_VAL_HOST_INTR_RX () {	(1<< 1);}
}
unless(defined(&MALO_VAL_HOST_INTR_CMD)) {
    sub MALO_VAL_HOST_INTR_CMD () {	(1<< 3);}
}
unless(defined(&MALO_VAL_HOST_INTR_EVENT)) {
    sub MALO_VAL_HOST_INTR_EVENT () {	(1<< 4);}
}
unless(defined(&MALO_CMD_RESP)) {
    sub MALO_CMD_RESP () {	0x8000;}
}
unless(defined(&MALO_CMD_HWSPEC)) {
    sub MALO_CMD_HWSPEC () {	0x3;}
}
unless(defined(&MALO_CMD_RESET)) {
    sub MALO_CMD_RESET () {	0x5;}
}
unless(defined(&MALO_CMD_SCAN)) {
    sub MALO_CMD_SCAN () {	0x6;}
}
unless(defined(&MALO_CMD_AUTH)) {
    sub MALO_CMD_AUTH () {	0x11;}
}
unless(defined(&MALO_CMD_WEP)) {
    sub MALO_CMD_WEP () {	0x13;}
}
unless(defined(&MALO_CMD_SNMP)) {
    sub MALO_CMD_SNMP () {	0x16;}
}
unless(defined(&MALO_CMD_RADIO)) {
    sub MALO_CMD_RADIO () {	0x1c;}
}
unless(defined(&MALO_CMD_CHANNEL)) {
    sub MALO_CMD_CHANNEL () {	0x1d;}
}
unless(defined(&MALO_CMD_TXPOWER)) {
    sub MALO_CMD_TXPOWER () {	0x1e;}
}
unless(defined(&MALO_CMD_ANTENNA)) {
    sub MALO_CMD_ANTENNA () {	0x20;}
}
unless(defined(&MALO_CMD_MACCTRL)) {
    sub MALO_CMD_MACCTRL () {	0x28;}
}
unless(defined(&MALO_CMD_MACADDR)) {
    sub MALO_CMD_MACADDR () {	0x4d;}
}
unless(defined(&MALO_CMD_ASSOC)) {
    sub MALO_CMD_ASSOC () {	0x50;}
}
unless(defined(&MALO_CMD_80211D)) {
    sub MALO_CMD_80211D () {	0x5b;}
}
unless(defined(&MALO_CMD_BGSCAN_CONFIG)) {
    sub MALO_CMD_BGSCAN_CONFIG () {	0x6b;}
}
unless(defined(&MALO_CMD_BGSCAN_QUERY)) {
    sub MALO_CMD_BGSCAN_QUERY () {	0x6c;}
}
unless(defined(&MALO_CMD_RATE)) {
    sub MALO_CMD_RATE () {	0x76;}
}
unless(defined(&MALO_CMD_RADIO_OFF)) {
    sub MALO_CMD_RADIO_OFF () {	0x;}
}
unless(defined(&MALO_CMD_RADIO_ON)) {
    sub MALO_CMD_RADIO_ON () {	0x1;}
}
unless(defined(&MALO_CMD_RADIO_LONG_P)) {
    sub MALO_CMD_RADIO_LONG_P () {	0x;}
}
unless(defined(&MALO_CMD_RADIO_SHORT_P)) {
    sub MALO_CMD_RADIO_SHORT_P () {	0x2;}
}
unless(defined(&MALO_CMD_RADIO_AUTO_P)) {
    sub MALO_CMD_RADIO_AUTO_P () {	0x4;}
}
unless(defined(&MALO_CMD_MACCTRL_RX_ON)) {
    sub MALO_CMD_MACCTRL_RX_ON () {	0x1;}
}
unless(defined(&MALO_CMD_MACCTRL_TX_ON)) {
    sub MALO_CMD_MACCTRL_TX_ON () {	0x2;}
}
unless(defined(&MALO_CMD_MACCTRL_PROMISC_ON)) {
    sub MALO_CMD_MACCTRL_PROMISC_ON () {	0x80;}
}
unless(defined(&MALO_EVENT_DEAUTH)) {
    sub MALO_EVENT_DEAUTH () {	0x8;}
}
unless(defined(&MALO_EVENT_DISASSOC)) {
    sub MALO_EVENT_DISASSOC () {	0x9;}
}
1;
