wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EtherCardApi.h
branchRCL_3
changeset 18 d3d7683d16f5
parent 17 a828660c511c
--- a/wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EtherCardApi.h	Tue Aug 31 17:02:06 2010 +0300
+++ b/wlan_bearer/wlanldd/wlan_symbian/wlanldd_symbian/inc/EtherCardApi.h	Wed Sep 01 12:41:05 2010 +0100
@@ -1,5 +1,5 @@
 /*
-* Copyright (c) 2002-2010 Nokia Corporation and/or its subsidiary(-ies).
+* Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Eclipse Public License v1.0"
@@ -16,7 +16,7 @@
 */
 
 /*
-* %version: 13 %
+* %version: 12 %
 */
 
 #if !defined(__ETHERAPI_H__)
@@ -69,7 +69,6 @@
 	    {
 	    EControlFastAllocTxBuffer = 0x0F000000,
 	    EControlFastAddTxFrame,
-	    EControlFastGetRxFrame
 	    };
 	
 public:
@@ -120,9 +119,12 @@
     * is able to access the memory.
     *
     * @since S60 3.1
+    * @param aFrameXferBlock FrameXferBlock to be initialized by 
+    *        the device driver
     * @return KErrNone on success, any other on failure
     */
-    inline TInt InitialiseBuffers();
+    inline TInt InitialiseBuffers( 
+        RFrameXferBlockProtocolStack*& aFrameXferBlock );
 
     /**
     * Unmap memory mapped by InitiliazeBuffers method from the client 
@@ -181,21 +183,6 @@
 	 */
 	inline TBool AddTxFrame( TDataBuffer* aPacket );
 	
-    /**
-     * Gets the highest priority frame (contained in a buffer allocated from
-     * the shared memory) from the Rx queues.
-     * Optionally frees the memory associated to a previously received frame. 
-     * 
-     * @param aFrameToFree Previously received frame which can now be freed.
-     *        NULL if nothing to free.
-     * @return Pointer to the Rx frame to be handled next.
-     *         NULL, if there are no frames available. If NULL is returned
-     *         the client should re-issue the asynchronous frame Rx request
-     *         (i.e. RequestFrame())
-     */ 
-	inline TDataBuffer* GetRxFrame( TDataBuffer* aFrameToFree );
-	
-	
 #ifndef __KERNEL_MODE__
 private:
     /** handle to kernel side shared memory chunk */