}
 #endif
 
-#ifndef TCP_ENHANCEMENTS
-       /* create rx task */
-       PRINT_D(INIT_DBG, "Creating kthread for reception\n");
-       g_linux_wlan->rxq_thread = kthread_run(linux_wlan_rxq_task, (void *)g_linux_wlan, "K_RXQ_TASK");
-       if (g_linux_wlan->rxq_thread == 0) {
-               PRINT_ER("couldn't create RXQ thread\n");
-               ret = -ENOBUFS;
-               goto _fail_1;
-       }
-
-       /* wait for RXQ task to start. */
-       down(&g_linux_wlan->rxq_thread_started);
-
-#endif
-
        /* create tx task */
        PRINT_D(INIT_DBG, "Creating kthread for transmission\n");
        g_linux_wlan->txq_thread = kthread_run(linux_wlan_txq_task, (void *)g_linux_wlan, "K_TXQ_TASK");
        up(&g_linux_wlan->rxq_event);
        kthread_stop(g_linux_wlan->rxq_thread);
 
-#ifndef TCP_ENHANCEMENTS
-_fail_1:
-#endif
        #if (RX_BH_TYPE == RX_BH_KTHREAD)
        /*De-Initialize 1st thread*/
        g_linux_wlan->close = 1;
        int stats;
        unsigned char *buff_to_send = NULL;
        struct sk_buff *skb;
-#ifndef TCP_ENHANCEMENTS
-       char *pu8UdpBuffer;
-       struct iphdr *ih;
-#endif
        struct net_device *wilc_netdev;
        perInterface_wlan_t *nic;
 
                /* nic = netdev_priv(wilc_netdev); */
 
                skb->protocol = eth_type_trans(skb, wilc_netdev);
-                       #ifndef TCP_ENHANCEMENTS
-               /*get source and dest ip addresses*/
-               ih = (struct iphdr *)(skb->data + sizeof(struct ethhdr));
-
-               pu8UdpBuffer = (char *)ih + sizeof(struct iphdr);
-               if (buff_to_send[35] == 67 && buff_to_send[37] == 68)
-                       PRINT_D(RX_DBG, "DHCP Message received\n");
-               if (buff_to_send[12] == 0x88 && buff_to_send[13] == 0x8e)
-                       PRINT_D(GENERIC_DBG, "eapol received\n");
-                       #endif
                /* Send the packet to the stack by giving it to the bridge */
                nic->netstats.rx_packets++;
                nic->netstats.rx_bytes += frame_len;
                stats = netif_rx(skb);
                PRINT_D(RX_DBG, "netif_rx ret value is: %d\n", stats);
        }
-               #ifndef TCP_ENHANCEMENTS
-       else
-               PRINT_ER("Discard sending packet with len = %d\n", size);
-               #endif
 }
 
 void WILC_WFI_mgmt_rx(u8 *buff, u32 size)
 
                sinfo->tx_failed        =  strStatistics.u32TxFailureCount;
                sinfo->txrate.legacy = strStatistics.u8LinkSpeed * 10;
 
-#ifdef TCP_ENHANCEMENTS
                if ((strStatistics.u8LinkSpeed > TCP_ACK_FILTER_LINK_SPEED_THRESH) && (strStatistics.u8LinkSpeed != DEFAULT_LINK_SPEED))
                        Enable_TCP_ACK_Filter(true);
                else if (strStatistics.u8LinkSpeed != DEFAULT_LINK_SPEED)
                        Enable_TCP_ACK_Filter(false);
-#endif
 
                PRINT_D(CORECONFIG_DBG, "*** stats[%d][%d][%d][%d][%d]\n", sinfo->signal, sinfo->rx_packets, sinfo->tx_packets,
                        sinfo->tx_failed, sinfo->txrate.legacy);
 
 }
 #endif
 
-#ifdef TCP_ENHANCEMENTS
 bool EnableTCPAckFilter = false;
 
 void Enable_TCP_ACK_Filter(bool value)
 {
        return EnableTCPAckFilter;
 }
-#endif
 
 static int wilc_wlan_txq_add_cfg_pkt(u8 *buffer, u32 buffer_size)
 {
        PRINT_D(TX_DBG, "Adding mgmt packet at the Queue tail\n");
 #ifdef TCP_ACK_FILTER
        tqe->tcp_PendingAck_index = NOT_TCP_ACK;
-#ifdef TCP_ENHANCEMENTS
        if (is_TCP_ACK_Filter_Enabled())
-#endif
-       tcp_process(tqe);
+               tcp_process(tqe);
 #endif
        wilc_wlan_txq_add_to_tail(tqe);
        /*return number of itemes in the queue*/
 #endif
                }
        }
-#ifdef TCP_ENHANCEMENTS
        wilc_wlan_handle_rxq();
-#endif
 }
 
 void wilc_handle_isr(void)