OSDN Git Service

Remove more non Linux gibberish
[android-x86/external-modules-rtl8723au.git] / include / rtw_ioctl.h
old mode 100755 (executable)
new mode 100644 (file)
index 8c9ab5c..d090350
@@ -65,7 +65,7 @@
 #define OID_MP_SEG4            0xFF011100
 
 #define DEBUG_OID(dbg, str)                    \
-       if ((!dbg))                                                     \
+       if((!dbg))                                                      \
        {                                                               \
           RT_TRACE(_module_rtl871x_ioctl_c_,_drv_info_,("%s(%d): %s", __FUNCTION__, __LINE__, str));   \
        }
@@ -103,35 +103,27 @@ struct oid_obj_priv {
        NDIS_STATUS (*oidfuns)(struct oid_par_priv *poid_par_priv);
 };
 
-#if (defined(CONFIG_MP_INCLUDED) && defined(_RTW_MP_IOCTL_C_))
-static NDIS_STATUS oid_null_function(struct oid_par_priv* poid_par_priv)
-{
-       _func_enter_;
-       _func_exit_;
-       return NDIS_STATUS_SUCCESS;
-}
-#endif
 
 #if defined(CONFIG_WIRELESS_EXT)
 extern struct iw_handler_def  rtw_handlers_def;
 #endif
 
 extern NDIS_STATUS drv_query_info(
-       struct net_device *             MiniportAdapterContext,
-       NDIS_OID                Oid,
-       void *                  InformationBuffer,
-       u32                     InformationBufferLength,
-       u32*                    BytesWritten,
-       u32*                    BytesNeeded
+       IN      _nic_hdl                MiniportAdapterContext,
+       IN      NDIS_OID                Oid,
+       IN      void *                  InformationBuffer,
+       IN      u32                     InformationBufferLength,
+       OUT     u32*                    BytesWritten,
+       OUT     u32*                    BytesNeeded
        );
 
 extern NDIS_STATUS     drv_set_info(
-       struct net_device *             MiniportAdapterContext,
-       NDIS_OID                Oid,
-       void *                  InformationBuffer,
-       u32                     InformationBufferLength,
-       u32*                    BytesRead,
-       u32*                    BytesNeeded
+       IN      _nic_hdl                MiniportAdapterContext,
+       IN      NDIS_OID                Oid,
+       IN      void *                  InformationBuffer,
+       IN      u32                     InformationBufferLength,
+       OUT     u32*                    BytesRead,
+       OUT     u32*                    BytesNeeded
        );
 
 #endif // #ifndef __INC_CEINFO_